org.objectweb.jonas_ejb.container
Class JMetaData
java.lang.Object
|
+--org.objectweb.jonas_ejb.container.JMetaData
- All Implemented Interfaces:
- javax.ejb.EJBMetaData, java.io.Serializable
- public class JMetaData
- extends java.lang.Object
- implements javax.ejb.EJBMetaData, java.io.Serializable
This class is a Serializable class that allows a client to obtain the enterprise
Bean's meta-data information.
- Author:
- Philippe Coq
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMetaData
public JMetaData(javax.ejb.EJBHome home,
BeanDesc dd)
- Constructor
- Parameters:
home
- The EJBHomedd
- The Bean Deployment Descriptor
getEJBHome
public javax.ejb.EJBHome getEJBHome()
- Specified by:
getEJBHome
in interface javax.ejb.EJBMetaData
- Returns:
- the home interface of the enterprise Bean.
getHomeInterfaceClass
public java.lang.Class getHomeInterfaceClass()
- Specified by:
getHomeInterfaceClass
in interface javax.ejb.EJBMetaData
- Returns:
- the Class object for the enterprise Bean's home interface.
getPrimaryKeyClass
public java.lang.Class getPrimaryKeyClass()
- Specified by:
getPrimaryKeyClass
in interface javax.ejb.EJBMetaData
- Returns:
- the Class object for the enterprise Bean's primary key class.
getRemoteInterfaceClass
public java.lang.Class getRemoteInterfaceClass()
- Specified by:
getRemoteInterfaceClass
in interface javax.ejb.EJBMetaData
- Returns:
- the Class object for the enterprise Bean's remote interface.
isSession
public boolean isSession()
- Specified by:
isSession
in interface javax.ejb.EJBMetaData
- Returns:
- True if the enterprise Bean's type is "session".
isStatelessSession
public boolean isStatelessSession()
- Specified by:
isStatelessSession
in interface javax.ejb.EJBMetaData
- Returns:
- True if the type of the enterprise Bean is stateless session.