public class EJBMetaDataImpl
extends java.lang.Object
implements 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() |
java.lang.Class |
getHomeClass() |
java.lang.Class |
getHomeInterfaceClass() |
java.lang.Class |
getMainInterface() |
java.lang.Object |
getPrimaryKey() |
java.lang.Class |
getPrimaryKeyClass() |
java.util.Properties |
getProperties() |
java.lang.Class |
getRemoteInterfaceClass() |
boolean |
isAsynchronousMethod(java.lang.reflect.Method method) |
boolean |
isSession() |
boolean |
isSingletonSession() |
boolean |
isStatefulSession() |
boolean |
isStatelessSession() |
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()
public EJBHome getEJBHome()
public java.lang.Class getHomeInterfaceClass()
public boolean isStatelessSession()
public boolean isStatefulSession()
public boolean isSingletonSession()
public java.lang.Class getRemoteInterfaceClass()
public boolean isSession()
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)