|
org.netbeans.modules.j2eeserver/4 1.55.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EjbResourceConfiguration
Configuration for EJB resources.
Implementation of this interface should be registered in the ModuleConfiguration
lookup.
| Method Summary | |
|---|---|
void |
bindEjbReference(String referenceName,
String jndiName)
Binds an EJB reference name with an EJB JNDI name. |
void |
bindEjbReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String jndiName)
Binds an EJB reference name with an EJB name within the EJB scope. |
String |
findJndiNameForEjb(String ejbName)
Returns a JNDI name for the given EJB or null if the EJB has
no JNDI name assigned. |
| Method Detail |
|---|
String findJndiNameForEjb(String ejbName)
throws ConfigurationException
null if the EJB has
no JNDI name assigned.
ejbName - EJB name
null if the EJB has no
JNDI name assigned.
ConfigurationException - if there is some problem with EJB configuration.
void bindEjbReference(String referenceName,
String jndiName)
throws ConfigurationException
referenceName - name used to identify the EJBjndiName - JNDI name of the referenced EJB
ConfigurationException - if there is some problem with EJB configuration
void bindEjbReferenceForEjb(String ejbName,
String ejbType,
String referenceName,
String jndiName)
throws ConfigurationException
ejbName - EJB nameejbType - EJB type - the possible values are
org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.SESSION,
org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.ENTITY and
org.netbeans.modules.j2ee.dd.api.ejb.EnterpriseBeans.MESSAGE_DRIVENreferenceName - name used to identify the referenced EJBjndiName - JNDI name of the referenced EJB
NullPointerException - if any of parameters is null
ConfigurationException - if there is some problem with EJB configuration
IllegalArgumentException - if ejbType doesn't have one of allowed values
|
org.netbeans.modules.j2eeserver/4 1.55.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||