FileDocCategorySizeDatePackage
EJBMetaData.javaAPI DocGlassfish v2 API3738Fri May 04 22:35:54 BST 2007javax.ejb

EJBMetaData

public interface EJBMetaData
The 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.

Fields Summary
Constructors Summary
Methods Summary
public EJBHomegetEJBHome()
Obtain the remote home interface of the enterprise Bean.

return
the remote home interface of the enterprise Bean.

public java.lang.ClassgetHomeInterfaceClass()
Obtain the Class object for the enterprise Bean's remote home interface.

return
the Class object for the enterprise Bean's remote home interface.

public java.lang.ClassgetPrimaryKeyClass()
Obtain the Class object for the enterprise Bean's primary key class.

return
the Class object for the enterprise Bean's primary key class.

public java.lang.ClassgetRemoteInterfaceClass()
Obtain the Class object for the enterprise Bean's remote interface.

return
the Class object for the enterprise Bean's remote interface.

public booleanisSession()
Test if the enterprise Bean's type is "session".

return
True if the type of the enterprise Bean is session bean.

public booleanisStatelessSession()
Test if the enterprise Bean's type is "stateless session".

return
True if the type of the enterprise Bean is stateless session.