org.jboss.proxy.ejb
Class EJBMetaDataImplIIOP

java.lang.Object
  extended byorg.jboss.proxy.ejb.EJBMetaDataImplIIOP
All Implemented Interfaces:
EJBMetaData (src) , java.io.Serializable

public class EJBMetaDataImplIIOP
extends java.lang.Object
implements EJBMetaData (src) , java.io.Serializable

An implementation of the EJBMetaData interface which allows a client to obtain the enterprise Bean's meta-data information.

See Also:
Serialized Form

Constructor Summary
EJBMetaDataImplIIOP(java.lang.Class remoteClass, java.lang.Class homeClass, java.lang.Class pkClass, boolean session, boolean statelessSession, EJBHome (src)  home)
          Constructs an EJBMetaDataImplIIOP.
 
Method Summary
 EJBHome (src) getEJBHome()
          Obtains the home interface of the enterprise Bean.
 java.lang.Class getHomeInterfaceClass()
          Obtains the Class object for the enterprise Bean's home interface.
 java.lang.Class getPrimaryKeyClass()
          Obtains the Class object for the enterprise Bean's primary key class.
 java.lang.Class getRemoteInterfaceClass()
          Obtains the Class object for the enterprise Bean's remote interface.
 boolean isSession()
          Tests if the enterprise Bean's type is "session".
 boolean isStatelessSession()
          Tests 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
 

Constructor Detail

EJBMetaDataImplIIOP

public EJBMetaDataImplIIOP(java.lang.Class remoteClass,
                           java.lang.Class homeClass,
                           java.lang.Class pkClass,
                           boolean session,
                           boolean statelessSession,
                           EJBHome (src)  home)
Constructs an EJBMetaDataImplIIOP.

Method Detail

getEJBHome

public EJBHome (src)  getEJBHome()
Obtains the home interface of the enterprise Bean.

Specified by:
getEJBHome in interface EJBMetaData (src)
Returns:
The home interface of the enterprise Bean.

getHomeInterfaceClass

public java.lang.Class getHomeInterfaceClass()
Obtains the Class object for the enterprise Bean's home interface.

Specified by:
getHomeInterfaceClass in interface EJBMetaData (src)
Returns:
The class object for the enterprise Bean's home interface.

getRemoteInterfaceClass

public java.lang.Class getRemoteInterfaceClass()
Obtains the Class object for the enterprise Bean's remote interface.

Specified by:
getRemoteInterfaceClass in interface EJBMetaData (src)
Returns:
The class object for the enterprise Bean's remote interface.

getPrimaryKeyClass

public java.lang.Class getPrimaryKeyClass()
Obtains the Class object for the enterprise Bean's primary key class.

Specified by:
getPrimaryKeyClass in interface EJBMetaData (src)
Returns:
The class object for the enterprise Bean's primary key class.

isSession

public boolean isSession()
Tests if the enterprise Bean's type is "session".

Specified by:
isSession in interface EJBMetaData (src)
Returns:
true if the type of the enterprise Bean is session bean.

isStatelessSession

public boolean isStatelessSession()
Tests if the enterprise Bean's type is "stateless session".

Specified by:
isStatelessSession in interface EJBMetaData (src)
Returns:
true if the type of the enterprise Bean is stateless session.