站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 iiop API Documentation 英文版文档

EJBMetaDataImplIIOP (JBoss IIOP Plugin API) - JBoss 3.2.7 iiop API Documentation 英文版文档


org.jboss.proxy.ejb
Class EJBMetaDataImplIIOP

java.lang.Object
  extended byorg.jboss.proxy.ejb.EJBMetaDataImplIIOP
All Implemented Interfaces:
javax.ejb.EJBMetaData, Serializable

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

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

Version:
$Revision: 1.1.2.2 $
Author:
Rickard 锟絙erg (rickard.oberg@telkel.com), Marc Fleury, Jason Dillon, Francisco Reverbel
See Also:
Serialized Form

Constructor Summary
EJBMetaDataImplIIOP(Class remoteClass, Class homeClass, Class pkClass, boolean session, boolean statelessSession, javax.ejb.EJBHome home)
          Constructs an EJBMetaDataImplIIOP.
 
Method Summary
 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.
 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(Class remoteClass,
                           Class homeClass,
                           Class pkClass,
                           boolean session,
                           boolean statelessSession,
                           javax.ejb.EJBHome home)
Constructs an EJBMetaDataImplIIOP.

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.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.