Package org.jboss.ejb.client
Class AbstractEJBMetaData<T extends javax.ejb.EJBObject,H extends javax.ejb.EJBHome>
java.lang.Object
org.jboss.ejb.client.AbstractEJBMetaData<T,H>
- All Implemented Interfaces:
Serializable,javax.ejb.EJBMetaData
- Direct Known Subclasses:
EntityEJBMetaData,StatefulEJBMetaData,StatelessEJBMetaData
public abstract class AbstractEJBMetaData<T extends javax.ejb.EJBObject,H extends javax.ejb.EJBHome>
extends Object
implements javax.ejb.EJBMetaData, Serializable
Abstract base class for all Enterprise Beans metadata.
- Author:
- David M. Lloyd
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the Enterprise Beans home interface.Get the home interface class.Get the home locator for this metadata instance.Class<?>Get the primary key class.Get the remote interface class.booleanDetermine whether this Enterprise Bean metadata refers to a session Enterprise Bean.booleanDetermine whether this Enterprise Bean metadata refers to a stateless session Enterprise Bean.
-
Method Details
-
getEJBHome
Get the Enterprise Beans home interface.- Specified by:
getEJBHomein interfacejavax.ejb.EJBMetaData- Returns:
- the Enterprise Beans home interface
-
getRemoteInterfaceClass
Get the remote interface class.- Specified by:
getRemoteInterfaceClassin interfacejavax.ejb.EJBMetaData- Returns:
- the remote interface class
-
getHomeInterfaceClass
Get the home interface class.- Specified by:
getHomeInterfaceClassin interfacejavax.ejb.EJBMetaData- Returns:
- the home interface
-
getPrimaryKeyClass
Get the primary key class.- Specified by:
getPrimaryKeyClassin interfacejavax.ejb.EJBMetaData- Returns:
- the primary key class
-
isSession
public boolean isSession()Determine whether this Enterprise Bean metadata refers to a session Enterprise Bean.- Specified by:
isSessionin interfacejavax.ejb.EJBMetaData- Returns:
trueif the Enterprise Beans is a session Enterprise Bean,falseotherwise
-
isStatelessSession
public boolean isStatelessSession()Determine whether this Enterprise Bean metadata refers to a stateless session Enterprise Bean.- Specified by:
isStatelessSessionin interfacejavax.ejb.EJBMetaData- Returns:
trueif the Enterprise Beans is a stateless session Enterprise Bean,falseotherwise
-
getHomeLocator
Get the home locator for this metadata instance.- Returns:
- the home locator for this metadata instance (not
null)
-