Package jakarta.ejb
Interface EJBMetaData
- 
 public interface EJBMetaDataThe EJBMetaData interface allows a client to obtain the enterprise bean's meta-data information.The meta-data is intended for development tools used for building applications that use deployed enterprise beans, and for clients using a scripting language to access the enterprise bean. Note that the EJBMetaData is not a remote interface. The class that implements this interface (this class is typically generated by container tools) must be serializable, and must be a valid RMI/IDL value type. - Since:
- EJB 1.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description EJBHomegetEJBHome()Obtain the remote home interface of the enterprise bean.ClassgetHomeInterfaceClass()Obtain the class object for the enterprise bean's remote home interface.ClassgetPrimaryKeyClass()Obtain the class object for the enterprise bean's primary key class.ClassgetRemoteInterfaceClass()Obtain the class object for the enterprise bean's remote interface.booleanisSession()Test if the enterprise bean's type is "session".booleanisStatelessSession()Test if the enterprise bean's type is "stateless session".
 
- 
- 
- 
Method Detail- 
getEJBHomeEJBHome getEJBHome() Obtain the remote home interface of the enterprise bean.- Returns:
- the remote home interface of the enterprise bean.
 
 - 
getHomeInterfaceClassClass getHomeInterfaceClass() Obtain the class object for the enterprise bean's remote home interface.- Returns:
- the class object for the enterprise bean's remote home interface.
 
 - 
getRemoteInterfaceClassClass getRemoteInterfaceClass() Obtain the class object for the enterprise bean's remote interface.- Returns:
- the class object for the enterprise bean's remote interface.
 
 - 
getPrimaryKeyClassClass getPrimaryKeyClass() Obtain the class object for the enterprise bean's primary key class.- Returns:
- the class object for the enterprise bean's primary key class.
 
 - 
isSessionboolean isSession() Test if the enterprise bean's type is "session".- Returns:
- True if the type of the enterprise bean is session bean.
 
 - 
isStatelessSessionboolean isStatelessSession() Test if the enterprise bean's type is "stateless session".- Returns:
- True if the type of the enterprise Bean is stateless session.
- Since:
- EJB 1.1
 
 
- 
 
-