org.openejb.corba.core
Class EJBMetaData

java.lang.Object
  |
  +--org.openejb.corba.core.EJBMetaData
All Implemented Interfaces:
javax.ejb.EJBMetaData, java.io.Serializable

public class EJBMetaData
extends java.lang.Object
implements javax.ejb.EJBMetaData, java.io.Serializable

This class is a simple implementation of the "javax.ejb.EJBMetaData" interface.

See Also:
Serialized Form

Constructor Summary
EJBMetaData(java.lang.Class homeItf, java.lang.Class remoteItf, java.lang.Class primaryKey, int type, javax.ejb.EJBHome home)
          Constructor
 
Method Summary
 javax.ejb.EJBHome getEJBHome()
          Return the EJB Home reference
 java.lang.Class getHomeInterfaceClass()
          Return the Home interface description
 java.lang.Class getPrimaryKeyClass()
          Return the Primary Key description ( only for entity )
 java.lang.Class getRemoteInterfaceClass()
          Return the Remote interace description
 boolean isSession()
          Return TRUE if the component is a Session.
 boolean isStatelessSession()
          Return TRUE if the component is a Session stateless
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBMetaData

public EJBMetaData(java.lang.Class homeItf,
                   java.lang.Class remoteItf,
                   java.lang.Class primaryKey,
                   int type,
                   javax.ejb.EJBHome home)
Constructor
Method Detail

getHomeInterfaceClass

public java.lang.Class getHomeInterfaceClass()
Return the Home interface description
Specified by:
getHomeInterfaceClass in interface javax.ejb.EJBMetaData

getRemoteInterfaceClass

public java.lang.Class getRemoteInterfaceClass()
Return the Remote interace description
Specified by:
getRemoteInterfaceClass in interface javax.ejb.EJBMetaData

getPrimaryKeyClass

public java.lang.Class getPrimaryKeyClass()
Return the Primary Key description ( only for entity )
Specified by:
getPrimaryKeyClass in interface javax.ejb.EJBMetaData

isSession

public boolean isSession()
Return TRUE if the component is a Session.
Specified by:
isSession in interface javax.ejb.EJBMetaData

isStatelessSession

public boolean isStatelessSession()
Return TRUE if the component is a Session stateless
Specified by:
isStatelessSession in interface javax.ejb.EJBMetaData

getEJBHome

public javax.ejb.EJBHome getEJBHome()
Return the EJB Home reference
Specified by:
getEJBHome in interface javax.ejb.EJBMetaData