|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openejb.client.EJBMetaDataImpl
------------------------------------------------- EJB 1.1 9.3.6 Meta-data class The deployment tools are responsible for implementing the class that provides meta-data information to the client view contract. The class must be a valid RMI-IIOP Value Type, and must implement the javax.ejb.EJBMetaData interface. Because the meta-data class is not entity bean specific, the container may, but is not required to, use a single class for all deployed enterprise beans. ------------------------------------------------- The OpenEJB implementation of the javax.ejb.EJBMetaData interface.
| Field Summary | |
protected int |
deploymentCode
|
protected String |
deploymentID
|
protected EJBHomeProxy |
ejbHomeProxy
|
protected Class |
homeClass
The home interface of the enterprise Bean. |
protected Class |
keyClass
The Class object for the enterprise Bean's primary key class. |
protected Class |
remoteClass
The Class object for the enterprise Bean's remote interface. |
protected int |
type
|
| Constructor Summary | |
EJBMetaDataImpl()
Public no-arg constructor required by Externalizable API |
|
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
int typeOfBean)
|
|
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
int typeOfBean,
String deploymentID)
|
|
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
int typeOfBean,
String deploymentID,
int deploymentCode)
|
|
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
int typeOfBean)
|
|
| Method Summary | |
javax.ejb.EJBHome |
getEJBHome()
Obtain the home interface of the enterprise Bean. |
Class |
getHomeInterfaceClass()
Obtain the Class object for the enterprise Bean's home interface. |
Class |
getPrimaryKeyClass()
Obtain the Class object for the enterprise Bean's primary key class. |
Class |
getRemoteInterfaceClass()
Obtain the Class object for the enterprise Bean's remote interface. |
boolean |
isSession()
Test if the enterprise Bean's type is "session". |
boolean |
isStatelessSession()
Test if the enterprise Bean's type is "stateless session". |
void |
readExternal(ObjectInput in)
|
void |
setEJBHomeProxy(EJBHomeProxy home)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient int type
protected transient String deploymentID
protected transient int deploymentCode
protected transient Class homeClass
protected transient Class remoteClass
protected transient Class keyClass
protected transient EJBHomeProxy ejbHomeProxy
| Constructor Detail |
public EJBMetaDataImpl()
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
int typeOfBean)
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
int typeOfBean)
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
int typeOfBean,
String deploymentID)
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
int typeOfBean,
String deploymentID,
int deploymentCode)
| Method Detail |
public Class getPrimaryKeyClass()
getPrimaryKeyClass in interface javax.ejb.EJBMetaDatapublic javax.ejb.EJBHome getEJBHome()
getEJBHome in interface javax.ejb.EJBMetaDatapublic Class getHomeInterfaceClass()
getHomeInterfaceClass in interface javax.ejb.EJBMetaDatapublic boolean isStatelessSession()
isStatelessSession in interface javax.ejb.EJBMetaDatapublic Class getRemoteInterfaceClass()
getRemoteInterfaceClass in interface javax.ejb.EJBMetaDatapublic boolean isSession()
isSession in interface javax.ejb.EJBMetaDatapublic void setEJBHomeProxy(EJBHomeProxy home)
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||