|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.container.svc.EasyBeansMetaData
public class EasyBeansMetaData
Metadata that are provided to the EJB 2.1 view clients.
Field Summary | |
---|---|
private EJBHome |
ejbHome
EJB Home object. |
private java.lang.Class |
homeInterfaceClass
Home interface class object. |
private java.lang.Class |
remoteInterfaceClass
Remote Home interface class object. |
private boolean |
stateless
Boolean used to indicate if the bean is a stateless bean or not. |
Constructor Summary | |
---|---|
EasyBeansMetaData(EJBHome ejbHome,
java.lang.Class homeInterfaceClass,
java.lang.Class remoteInterfaceClass,
boolean stateless)
Build a new metadata object with the given arguments. |
Method Summary | |
---|---|
EJBHome |
getEJBHome()
Obtain the remote home interface of the enterprise Bean. |
java.lang.Class |
getHomeInterfaceClass()
Obtain the Class object for the enterprise Bean's remote home interface. |
java.lang.Class |
getPrimaryKeyClass()
Obtain the Class object for the enterprise Bean's primary key class. |
java.lang.Class |
getRemoteInterfaceClass()
Obtain the Class object for the enterprise Bean's remote interface. |
boolean |
isSession()
Test if the enterprise Bean's type is "session". |
boolean |
isStatelessSession()
Test if the enterprise Bean's type is "stateless session". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean stateless
private EJBHome ejbHome
private java.lang.Class homeInterfaceClass
private java.lang.Class remoteInterfaceClass
Constructor Detail |
---|
public EasyBeansMetaData(EJBHome ejbHome, java.lang.Class homeInterfaceClass, java.lang.Class remoteInterfaceClass, boolean stateless)
ejbHome
- the given ejb home objecthomeInterfaceClass
- the given interface used for the Home.remoteInterfaceClass
- the given interface used for the remote.stateless
- if true, it means that it is a stateless object.Method Detail |
---|
public EJBHome getEJBHome()
getEJBHome
in interface EJBMetaData
public java.lang.Class getHomeInterfaceClass()
getHomeInterfaceClass
in interface EJBMetaData
public java.lang.Class getRemoteInterfaceClass()
getRemoteInterfaceClass
in interface EJBMetaData
public java.lang.Class getPrimaryKeyClass()
getPrimaryKeyClass
in interface EJBMetaData
public boolean isSession()
isSession
in interface EJBMetaData
public boolean isStatelessSession()
isStatelessSession
in interface EJBMetaData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |