All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface javax.ejb.EJBMetaData

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


Method Index

 o getEJBHome()
Obtain the home interface of the enterprise Bean.
 o getHomeInterfaceClass()
Obtain the Class object for the enterprise Bean's home interface.
 o getPrimaryKeyClass()
Obtain the Class object for the enterprise Bean's primary key class.
 o getRemoteInterfaceClass()
Obtain the Class object for the enterprise Bean's remote interface.
 o isSession()
Test if the enterprise Bean's type is "session".

Methods

 o getEJBHome
 public abstract EJBHome getEJBHome()
Obtain the home interface of the enterprise Bean.

 o getHomeInterfaceClass
 public abstract Class getHomeInterfaceClass()
Obtain the Class object for the enterprise Bean's home interface.

 o getRemoteInterfaceClass
 public abstract Class getRemoteInterfaceClass()
Obtain the Class object for the enterprise Bean's remote interface.

 o getPrimaryKeyClass
 public abstract Class getPrimaryKeyClass()
Obtain the Class object for the enterprise Bean's primary key class.

 o isSession
 public abstract boolean isSession()
Test if the enterprise Bean's type is "session".

Returns:
True if the type of the enterprise Bean is session.

All Packages  Class Hierarchy  This Package  Previous  Next  Index