org.netbeans.modules.j2ee.dd/1 1.25.0 2

org.netbeans.modules.j2ee.dd.api.common
Interface FindCapability

All Known Subinterfaces:
AppClient, Application, ComponentInterface, Ejb, EjbJar, EnterpriseBeans, Entity, EntityAndSession, Filter, JspConfig, JspPropertyGroup, LocaleEncodingMappingList, MessageDriven, RootInterface, SecurityConstraint, ServiceRef, ServiceRefHandler, Servlet, Session, WebApp, WebFragment

public interface FindCapability

Ability to find an instance of CommonDDBean class nested inside this bean.

Important note: Do not provide an implementation of this interface unless you are a DD API provider!


Method Summary
 CommonDDBean findBeanByName(String beanName, String propertyName, String value)
          Method is looking for the nested DD element according to the specified property and value
 

Method Detail

findBeanByName

CommonDDBean findBeanByName(String beanName,
                            String propertyName,
                            String value)
Method is looking for the nested DD element according to the specified property and value

Parameters:
beanName - e.g. "Servlet" or "ResourceRef"
propertyName - e.g. "ServletName" or ResourceRefName"
value - specific propertyName value e.g. "ControllerServlet" or "jdbc/EmployeeAppDb"
Returns:
Bean satisfying the parameter values or null if not found

org.netbeans.modules.j2ee.dd/1 1.25.0 2

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.