Home » openejb-3.1.2-src » javax » ejb » [javadoc | source]
javax.ejb
public interface: EJBMetaData [javadoc | source]

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 from javax.ejb.EJBMetaData Summary:
getEJBHome,   getHomeInterfaceClass,   getPrimaryKeyClass,   getRemoteInterfaceClass,   isSession,   isStatelessSession
Method from javax.ejb.EJBMetaData Detail:
 public EJBHome getEJBHome()
    Obtains the home interface of the enterprise Bean.
 public Class getHomeInterfaceClass()
    Obtains the Class object for the enterprise Bean's home interface.
 public Class getPrimaryKeyClass()
    Obtains the Class object for the enterprise Bean's primary key class.
 public Class getRemoteInterfaceClass()
    Obtains the Class object for the enterprise Bean's remote interface.
 public boolean isSession()
    Tests if the type of the enterprise Bean is "session".
 public boolean isStatelessSession()
    Tests if the type of the enterprise Bean is "stateless session".