JBoss IIOP Client 1.0.0.Final-redhat-2

org.jboss.ejb.iiop
Class EJBMetaDataImplIIOP

java.lang.Object
  extended by org.jboss.ejb.iiop.EJBMetaDataImplIIOP
All Implemented Interfaces:
Serializable, javax.ejb.EJBMetaData

public class EJBMetaDataImplIIOP
extends Object
implements javax.ejb.EJBMetaData, Serializable

The EJBMetaData implementation used in remote IIOP invocations.

Author:
Stuart Douglas
See Also:
Serialized Form

Constructor Summary
EJBMetaDataImplIIOP(Class remoteClass, Class homeClass, Class pkClass, boolean session, boolean statelessSession, javax.ejb.HomeHandle home)
           
 
Method Summary
 boolean equals(Object o)
           
 javax.ejb.EJBHome getEJBHome()
          Obtains the home interface of the enterprise Bean.
 Class getHomeInterfaceClass()
          Obtains the Class object for the enterprise Bean's home interface.
 Class getPrimaryKeyClass()
          Obtains the Class object for the enterprise Bean's primary key class.
 Class getRemoteInterfaceClass()
          Obtains the Class object for the enterprise Bean's remote interface.
 int hashCode()
           
 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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBMetaDataImplIIOP

public EJBMetaDataImplIIOP(Class remoteClass,
                           Class homeClass,
                           Class pkClass,
                           boolean session,
                           boolean statelessSession,
                           javax.ejb.HomeHandle home)
Method Detail

getEJBHome

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

Specified by:
getEJBHome in interface javax.ejb.EJBMetaData

getHomeInterfaceClass

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

Specified by:
getHomeInterfaceClass in interface javax.ejb.EJBMetaData

getRemoteInterfaceClass

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

Specified by:
getRemoteInterfaceClass in interface javax.ejb.EJBMetaData

getPrimaryKeyClass

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

Specified by:
getPrimaryKeyClass in interface javax.ejb.EJBMetaData

isSession

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

Specified by:
isSession in interface javax.ejb.EJBMetaData
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 javax.ejb.EJBMetaData
Returns:
true if the type of the enterprise Bean is stateless session.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

JBoss IIOP Client 1.0.0.Final-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.