|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb3.common.resolvers.spi.EjbReferenceResolverBase
public abstract class EjbReferenceResolverBase
EjbReferenceResolverBase A base upon which EJB Reference Resolvers may build upon. Provides capabilities expected to be required by providers.
Field Summary | |
---|---|
static String |
DU_ATTACHMENT_NAME_METADATA
The attachment name of the metadata within the DU |
Constructor Summary | |
---|---|
EjbReferenceResolverBase()
|
Method Summary | |
---|---|
protected String |
getJndiName(EjbReference reference,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
ClassLoader cl)
Obtains the resolved JNDI target for the specified reference within the specified metadata |
protected String |
getMatch(EjbReference reference,
org.jboss.metadata.ejb.jboss.JBossMetaData metadata,
ClassLoader cl)
Returns the session bean within the specified metadata to match the specified reference, otherwise returns null. |
protected org.jboss.metadata.ejb.jboss.JBossMetaData |
getMetaData(org.jboss.deployers.structure.spi.DeploymentUnit du)
Obtains the metadata attachment from the specified deployment unit, returning null if not present |
protected org.jboss.deployers.structure.spi.DeploymentUnit |
getRoot(org.jboss.deployers.structure.spi.DeploymentUnit du)
Obtains the root deployment unit |
protected boolean |
isMatch(EjbReference reference,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData md,
ClassLoader cl)
Determines whether the specified session bean is a match for the specified reference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DU_ATTACHMENT_NAME_METADATA
Constructor Detail |
---|
public EjbReferenceResolverBase()
Method Detail |
---|
protected org.jboss.metadata.ejb.jboss.JBossMetaData getMetaData(org.jboss.deployers.structure.spi.DeploymentUnit du)
du
-
protected String getMatch(EjbReference reference, org.jboss.metadata.ejb.jboss.JBossMetaData metadata, ClassLoader cl) throws NonDeterministicInterfaceException
reference
- metadata
- cl
- The ClassLoader for the specified metadata
NonDeterministicInterfaceException
protected boolean isMatch(EjbReference reference, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData md, ClassLoader cl)
reference
- md
- cl
- The ClassLoader for the specified metadata
protected String getJndiName(EjbReference reference, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata, ClassLoader cl)
reference
- metadata
- cl
-
protected org.jboss.deployers.structure.spi.DeploymentUnit getRoot(org.jboss.deployers.structure.spi.DeploymentUnit du)
du
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |