public class IntraVmMetaData extends java.lang.Object implements EJBMetaData, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class |
homeClass |
protected EJBHome |
homeStub |
protected java.lang.Class |
keyClass |
protected java.lang.Class |
remoteClass |
protected BeanType |
type |
Constructor and Description |
---|
IntraVmMetaData(java.lang.Class homeInterface,
java.lang.Class remoteInterface,
BeanType typeOfBean) |
IntraVmMetaData(java.lang.Class homeInterface,
java.lang.Class remoteInterface,
java.lang.Class primaryKeyClass,
BeanType typeOfBean) |
Modifier and Type | Method and Description |
---|---|
EJBHome |
getEJBHome()
Obtain the remote home interface of the enterprise bean.
|
java.lang.Class |
getHomeInterfaceClass()
Obtain the class object for the enterprise bean's remote home interface.
|
java.lang.Class |
getPrimaryKeyClass()
Obtain the class object for the enterprise bean's primary key class.
|
java.lang.Class |
getRemoteInterfaceClass()
Obtain the class object for the enterprise bean's remote interface.
|
boolean |
isManagedSession() |
boolean |
isSession()
Test if the enterprise bean's type is "session".
|
boolean |
isSingletonSession() |
boolean |
isStatefulSession() |
boolean |
isStatelessSession()
Test if the enterprise bean's type is "stateless session".
|
void |
setEJBHome(EJBHome home) |
protected java.lang.Object |
writeReplace() |
protected java.lang.Class homeClass
protected java.lang.Class remoteClass
protected java.lang.Class keyClass
protected EJBHome homeStub
protected BeanType type
public IntraVmMetaData(java.lang.Class homeInterface, java.lang.Class remoteInterface, BeanType typeOfBean)
public IntraVmMetaData(java.lang.Class homeInterface, java.lang.Class remoteInterface, java.lang.Class primaryKeyClass, BeanType typeOfBean)
public java.lang.Class getHomeInterfaceClass()
EJBMetaData
getHomeInterfaceClass
in interface EJBMetaData
public java.lang.Class getRemoteInterfaceClass()
EJBMetaData
getRemoteInterfaceClass
in interface EJBMetaData
public java.lang.Class getPrimaryKeyClass()
EJBMetaData
getPrimaryKeyClass
in interface EJBMetaData
public boolean isSession()
EJBMetaData
isSession
in interface EJBMetaData
public boolean isStatelessSession()
EJBMetaData
isStatelessSession
in interface EJBMetaData
public boolean isSingletonSession()
public boolean isManagedSession()
public boolean isStatefulSession()
public void setEJBHome(EJBHome home)
public EJBHome getEJBHome()
EJBMetaData
getEJBHome
in interface EJBMetaData
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException