Package org.jboss.ejb.client
Class AbstractEJBMetaData<T extends jakarta.ejb.EJBObject,H extends jakarta.ejb.EJBHome>
- java.lang.Object
-
- org.jboss.ejb.client.AbstractEJBMetaData<T,H>
-
- All Implemented Interfaces:
jakarta.ejb.EJBMetaData,Serializable
- Direct Known Subclasses:
EntityEJBMetaData,StatefulEJBMetaData,StatelessEJBMetaData
public abstract class AbstractEJBMetaData<T extends jakarta.ejb.EJBObject,H extends jakarta.ejb.EJBHome> extends Object implements jakarta.ejb.EJBMetaData, Serializable
Abstract base class for all Enterprise Beans metadata.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HgetEJBHome()Get the Enterprise Beans home interface.Class<H>getHomeInterfaceClass()Get the home interface class.EJBHomeLocator<H>getHomeLocator()Get the home locator for this metadata instance.Class<?>getPrimaryKeyClass()Get the primary key class.Class<T>getRemoteInterfaceClass()Get the remote interface class.booleanisSession()Determine whether this Enterprise Bean metadata refers to a session Enterprise Bean.booleanisStatelessSession()Determine whether this Enterprise Bean metadata refers to a stateless session Enterprise Bean.
-
-
-
Method Detail
-
getEJBHome
public H getEJBHome()
Get the Enterprise Beans home interface.- Specified by:
getEJBHomein interfacejakarta.ejb.EJBMetaData- Returns:
- the Enterprise Beans home interface
-
getRemoteInterfaceClass
public Class<T> getRemoteInterfaceClass()
Get the remote interface class.- Specified by:
getRemoteInterfaceClassin interfacejakarta.ejb.EJBMetaData- Returns:
- the remote interface class
-
getHomeInterfaceClass
public Class<H> getHomeInterfaceClass()
Get the home interface class.- Specified by:
getHomeInterfaceClassin interfacejakarta.ejb.EJBMetaData- Returns:
- the home interface
-
getPrimaryKeyClass
public Class<?> getPrimaryKeyClass()
Get the primary key class.- Specified by:
getPrimaryKeyClassin interfacejakarta.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 interfacejakarta.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 interfacejakarta.ejb.EJBMetaData- Returns:
trueif the Enterprise Beans is a stateless session Enterprise Bean,falseotherwise
-
getHomeLocator
public EJBHomeLocator<H> getHomeLocator()
Get the home locator for this metadata instance.- Returns:
- the home locator for this metadata instance (not
null)
-
-