| org.netbeans.modules.j2ee.deployment.plugins.spi.config.EjbResourceConfiguration
EjbResourceConfiguration | public interface EjbResourceConfiguration (Code) | | Configuration for EJB resources.
Implementation of this interface should be registered in the
ModuleConfiguration lookup.
since: 1.23 author: sherold |
bindEjbReference | public void bindEjbReference(String referenceName, String jndiName) throws ConfigurationException(Code) | | Binds an EJB reference name with an EJB JNDI name.
Parameters: referenceName - name used to identify the EJB Parameters: jndiName - JNDI name of the referenced EJB throws: ConfigurationException - if there is some problem with EJB configuration since: 1.26 |
bindEjbReferenceForEjb | public void bindEjbReferenceForEjb(String ejbName, String ejbType, String referenceName, String jndiName) throws ConfigurationException(Code) | | Binds an EJB reference name with an EJB name within the EJB scope.
Parameters: ejbName - EJB name Parameters: ejbType - EJB type - the possible values are org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.SESSION,org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.ENTITY andorg.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.MESSAGE_DRIVEN Parameters: referenceName - name used to identify the referenced EJB Parameters: jndiName - JNDI name of the referenced EJB throws: NullPointerException - if any of parameters is null throws: ConfigurationException - if there is some problem with EJB configuration throws: IllegalArgumentException - if ejbType doesn't have one of allowed values since: 1.26 |
findJndiNameForEjb | public String findJndiNameForEjb(String ejbName) throws ConfigurationException(Code) | | Returns a JNDI name for the given EJB or null if the EJB has
no JNDI name assigned.
Parameters: ejbName - EJB name JNDI name bound to the EJB or null if the EJB has no JNDI name assigned. throws: ConfigurationException - if there is some problem with EJB configuration. since: 1.31 |
|
|