Top Description Methods
javax.ejb

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.

Since
EJB 1.0

Method Summary

Modifier and TypeMethod and Description
public EJBHome

Returns:

the remote home interface of the enterprise bean.
getEJBHome
()

Obtain the remote home interface of the enterprise bean.

public Class<T>

Returns:

the class object for the enterprise bean's remote home interface.
getHomeInterfaceClass
()

Obtain the class object for the enterprise bean's remote home interface.

public Class<T>

Returns:

the class object for the enterprise bean's primary key class.
getPrimaryKeyClass
()

Obtain the class object for the enterprise bean's primary key class.

public Class<T>

Returns:

the class object for the enterprise bean's remote interface.
getRemoteInterfaceClass
()

Obtain the class object for the enterprise bean's remote interface.

public boolean

Returns:

True if the type of the enterprise bean is session bean.
isSession
()

Test if the enterprise bean's type is "session".

public boolean

Returns:

True if the type of the enterprise Bean is stateless session.
isStatelessSession
()

Test if the enterprise bean's type is "stateless session".

Method Detail

getEJBHomeback to summary
public EJBHome getEJBHome()

Obtain the remote home interface of the enterprise bean.

Returns:EJBHome

the remote home interface of the enterprise bean.

getHomeInterfaceClassback to summary
public Class<T> getHomeInterfaceClass()

Obtain the class object for the enterprise bean's remote home interface.

Returns:Class<T>

the class object for the enterprise bean's remote home interface.

getPrimaryKeyClassback to summary
public Class<T> getPrimaryKeyClass()

Obtain the class object for the enterprise bean's primary key class.

Returns:Class<T>

the class object for the enterprise bean's primary key class.

getRemoteInterfaceClassback to summary
public Class<T> getRemoteInterfaceClass()

Obtain the class object for the enterprise bean's remote interface.

Returns:Class<T>

the class object for the enterprise bean's remote interface.

isSessionback to summary
public boolean isSession()

Test if the enterprise bean's type is "session".

Returns:boolean

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

isStatelessSessionback to summary
public boolean isStatelessSession()

Test if the enterprise bean's type is "stateless session".

Returns:boolean

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

Since
EJB 1.1