public class EJBMetaDataImpl extends java.lang.Object implements EJBMetaData, java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.lang.String> |
asynchronousMethods |
static byte |
BMP_ENTITY |
protected java.util.List<java.lang.Class> |
businessClasses |
static byte |
CMP_ENTITY |
protected int |
deploymentCode |
protected java.lang.String |
deploymentID |
protected EJBHome |
ejbHomeProxy |
protected java.lang.Class |
homeClass |
protected InterfaceType |
interfaceType |
protected java.lang.Class |
keyClass |
protected java.lang.Class |
mainInterface |
protected java.lang.Object |
primaryKey |
protected java.util.Properties |
properties |
protected java.lang.Class |
remoteClass |
static byte |
SINGLETON |
static byte |
STATEFUL |
static byte |
STATELESS |
protected byte |
type |
Constructor and Description |
---|
EJBMetaDataImpl() |
EJBMetaDataImpl(java.lang.Class homeInterface,
java.lang.Class remoteInterface,
java.lang.Class primaryKeyClass,
java.lang.String typeOfBean,
InterfaceType interfaceType,
java.util.List<java.lang.Class> businessInterfaces,
java.util.Set<java.lang.String> asynchronousMethodSignatures) |
EJBMetaDataImpl(java.lang.Class homeInterface,
java.lang.Class remoteInterface,
java.lang.Class primaryKeyClass,
java.lang.String typeOfBean,
java.lang.String deploymentID,
InterfaceType interfaceType,
java.util.List<java.lang.Class> businessInterfaces,
java.util.Set<java.lang.String> asynchronousMethodSignatures) |
EJBMetaDataImpl(java.lang.Class homeInterface,
java.lang.Class remoteInterface,
java.lang.Class primaryKeyClass,
java.lang.String typeOfBean,
java.lang.String deploymentID,
int deploymentCode,
InterfaceType interfaceType,
java.util.List<java.lang.Class> businessInterfaces,
java.util.Set<java.lang.String> asynchronousMethodSignatures) |
EJBMetaDataImpl(java.lang.Class homeInterface,
java.lang.Class remoteInterface,
java.lang.String typeOfBean,
InterfaceType interfaceType,
java.util.List<java.lang.Class> businessInterfaces,
java.util.Set<java.lang.String> asynchronousMethodSignatures) |
Modifier and Type | Method and Description |
---|---|
void |
addAsynchronousMethod(java.lang.reflect.Method method) |
java.util.List<java.lang.Class> |
getBusinessClasses() |
java.lang.String |
getDeploymentID() |
EJBHome |
getEJBHome()
Obtain the remote home interface of the enterprise bean.
|
java.lang.Class |
getHomeClass() |
java.lang.Class |
getHomeInterfaceClass()
Obtain the class object for the enterprise bean's remote home interface.
|
java.lang.Class |
getMainInterface() |
java.lang.Object |
getPrimaryKey() |
java.lang.Class |
getPrimaryKeyClass()
Obtain the class object for the enterprise bean's primary key class.
|
java.util.Properties |
getProperties() |
java.lang.Class |
getRemoteInterfaceClass()
Obtain the class object for the enterprise bean's remote interface.
|
boolean |
isAsynchronousMethod(java.lang.reflect.Method method) |
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 |
loadProperties(java.util.Properties properties) |
void |
readExternal(java.io.ObjectInput in) |
protected void |
setEJBHomeProxy(EJBHomeProxy home) |
void |
setMetaData(ProtocolMetaData metaData) |
void |
setPrimaryKey(java.lang.Object primaryKey) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
public static final byte STATEFUL
public static final byte STATELESS
public static final byte BMP_ENTITY
public static final byte CMP_ENTITY
public static final byte SINGLETON
protected transient byte type
protected transient java.lang.String deploymentID
protected transient int deploymentCode
protected transient java.lang.Class homeClass
protected transient java.lang.Class remoteClass
protected final transient java.util.List<java.lang.Class> businessClasses
protected transient java.lang.Class mainInterface
protected final transient java.util.Set<java.lang.String> asynchronousMethods
protected final transient java.util.Properties properties
protected transient java.lang.Class keyClass
protected transient EJBHome ejbHomeProxy
protected transient InterfaceType interfaceType
protected transient java.lang.Object primaryKey
public EJBMetaDataImpl()
public EJBMetaDataImpl(java.lang.Class homeInterface, java.lang.Class remoteInterface, java.lang.String typeOfBean, InterfaceType interfaceType, java.util.List<java.lang.Class> businessInterfaces, java.util.Set<java.lang.String> asynchronousMethodSignatures)
public EJBMetaDataImpl(java.lang.Class homeInterface, java.lang.Class remoteInterface, java.lang.Class primaryKeyClass, java.lang.String typeOfBean, InterfaceType interfaceType, java.util.List<java.lang.Class> businessInterfaces, java.util.Set<java.lang.String> asynchronousMethodSignatures)
public EJBMetaDataImpl(java.lang.Class homeInterface, java.lang.Class remoteInterface, java.lang.Class primaryKeyClass, java.lang.String typeOfBean, java.lang.String deploymentID, InterfaceType interfaceType, java.util.List<java.lang.Class> businessInterfaces, java.util.Set<java.lang.String> asynchronousMethodSignatures)
public EJBMetaDataImpl(java.lang.Class homeInterface, java.lang.Class remoteInterface, java.lang.Class primaryKeyClass, java.lang.String typeOfBean, java.lang.String deploymentID, int deploymentCode, InterfaceType interfaceType, java.util.List<java.lang.Class> businessInterfaces, java.util.Set<java.lang.String> asynchronousMethodSignatures)
public void setMetaData(ProtocolMetaData metaData)
public java.lang.Class getPrimaryKeyClass()
EJBMetaData
getPrimaryKeyClass
in interface EJBMetaData
public EJBHome getEJBHome()
EJBMetaData
getEJBHome
in interface EJBMetaData
public java.lang.Class getHomeInterfaceClass()
EJBMetaData
getHomeInterfaceClass
in interface EJBMetaData
public boolean isStatelessSession()
EJBMetaData
isStatelessSession
in interface EJBMetaData
public boolean isStatefulSession()
public boolean isSingletonSession()
public java.lang.Class getRemoteInterfaceClass()
EJBMetaData
getRemoteInterfaceClass
in interface EJBMetaData
public boolean isSession()
EJBMetaData
isSession
in interface EJBMetaData
public boolean isAsynchronousMethod(java.lang.reflect.Method method)
public void addAsynchronousMethod(java.lang.reflect.Method method)
protected void setEJBHomeProxy(EJBHomeProxy home)
public java.lang.String getDeploymentID()
public java.lang.Class getHomeClass()
public java.util.List<java.lang.Class> getBusinessClasses()
public java.lang.Class getMainInterface()
public java.util.Properties getProperties()
public java.lang.Object getPrimaryKey()
public void setPrimaryKey(java.lang.Object primaryKey)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.String toString()
toString
in class java.lang.Object
public void loadProperties(java.util.Properties properties)