| java.lang.Object org.ow2.easybeans.container.svc.EasyBeansMetaData
EasyBeansMetaData | public class EasyBeansMetaData implements EJBMetaData(Code) | | Metadata that are provided to the EJB 2.1 view clients.
author: Florent Benoit |
Constructor Summary | |
public | EasyBeansMetaData(EJBHome ejbHome, Class homeInterfaceClass, Class remoteInterfaceClass, boolean stateless) Build a new metadata object with the given arguments. |
Method Summary | |
public EJBHome | getEJBHome() Obtain the remote home interface of the enterprise Bean. | public Class | getHomeInterfaceClass() Obtain the Class object for the enterprise Bean's remote home interface. | public Class | getPrimaryKeyClass() Obtain the Class object for the enterprise Bean's primary key class. | public Class | getRemoteInterfaceClass() Obtain the Class object for the enterprise Bean's remote interface. | public boolean | isSession() Test if the enterprise Bean's type is "session". | public boolean | isStatelessSession() Test if the enterprise Bean's type is "stateless session". |
EasyBeansMetaData | public EasyBeansMetaData(EJBHome ejbHome, Class homeInterfaceClass, Class remoteInterfaceClass, boolean stateless)(Code) | | Build a new metadata object with the given arguments.
Parameters: ejbHome - the given ejb home object Parameters: homeInterfaceClass - the given interface used for the Home. Parameters: remoteInterfaceClass - the given interface used for the remote. Parameters: stateless - if true, it means that it is a stateless object. |
getEJBHome | public EJBHome getEJBHome()(Code) | | Obtain the remote home interface of the enterprise Bean.
the remote home interface of the enterprise Bean. |
getHomeInterfaceClass | public Class getHomeInterfaceClass()(Code) | | Obtain the Class object for the enterprise Bean's remote home interface.
the Class object for the enterprise Bean's remote home interface. |
getPrimaryKeyClass | public Class getPrimaryKeyClass()(Code) | | Obtain the Class object for the enterprise Bean's primary key class.
the Class object for the enterprise Bean's primary key class. |
getRemoteInterfaceClass | public Class getRemoteInterfaceClass()(Code) | | Obtain the Class object for the enterprise Bean's remote interface.
the Class object for the enterprise Bean's remote interface. |
isSession | public boolean isSession()(Code) | | Test if the enterprise Bean's type is "session".
True if the type of the enterprise Bean is session bean. |
isStatelessSession | public boolean isStatelessSession()(Code) | | Test if the enterprise Bean's type is "stateless session".
True if the type of the enterprise Bean is stateless session. |
|
|