public class EJBMetaDataImpl extends Object implements javax.ejb.EJBMetaData, Externalizable
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
asynchronousMethods |
static byte |
BMP_ENTITY |
protected List<Class> |
businessClasses |
static byte |
CMP_ENTITY |
protected int |
deploymentCode |
protected String |
deploymentID |
protected javax.ejb.EJBHome |
ejbHomeProxy |
protected Class |
homeClass |
protected InterfaceType |
interfaceType |
protected Class |
keyClass |
protected Class |
mainInterface |
protected Object |
primaryKey |
protected Properties |
properties |
protected Class |
remoteClass |
static byte |
SINGLETON |
static byte |
STATEFUL |
static byte |
STATELESS |
protected byte |
type |
| Constructor and Description |
|---|
EJBMetaDataImpl() |
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
InterfaceType interfaceType,
List<Class> businessInterfaces,
Set<String> asynchronousMethodSignatures) |
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
String deploymentID,
InterfaceType interfaceType,
List<Class> businessInterfaces,
Set<String> asynchronousMethodSignatures) |
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
String deploymentID,
int deploymentCode,
InterfaceType interfaceType,
List<Class> businessInterfaces,
Set<String> asynchronousMethodSignatures) |
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
String typeOfBean,
InterfaceType interfaceType,
List<Class> businessInterfaces,
Set<String> asynchronousMethodSignatures) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAsynchronousMethod(Method method) |
List<Class> |
getBusinessClasses() |
String |
getDeploymentID() |
javax.ejb.EJBHome |
getEJBHome() |
Class |
getHomeClass() |
Class |
getHomeInterfaceClass() |
Class |
getMainInterface() |
Object |
getPrimaryKey() |
Class |
getPrimaryKeyClass() |
Properties |
getProperties() |
Class |
getRemoteInterfaceClass() |
boolean |
isAsynchronousMethod(Method method) |
boolean |
isSession() |
boolean |
isSingletonSession() |
boolean |
isStatefulSession() |
boolean |
isStatelessSession() |
void |
loadProperties(Properties properties) |
void |
readExternal(ObjectInput in) |
protected void |
setEJBHomeProxy(EJBHomeProxy home) |
void |
setMetaData(ProtocolMetaData metaData) |
void |
setPrimaryKey(Object primaryKey) |
String |
toString() |
void |
writeExternal(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 String deploymentID
protected transient int deploymentCode
protected transient Class homeClass
protected transient Class remoteClass
protected transient Class mainInterface
protected final transient Properties properties
protected transient Class keyClass
protected transient javax.ejb.EJBHome ejbHomeProxy
protected transient InterfaceType interfaceType
protected transient Object primaryKey
public EJBMetaDataImpl()
public EJBMetaDataImpl(Class homeInterface, Class remoteInterface, String typeOfBean, InterfaceType interfaceType, List<Class> businessInterfaces, Set<String> asynchronousMethodSignatures)
public EJBMetaDataImpl(Class homeInterface, Class remoteInterface, Class primaryKeyClass, String typeOfBean, InterfaceType interfaceType, List<Class> businessInterfaces, Set<String> asynchronousMethodSignatures)
public EJBMetaDataImpl(Class homeInterface, Class remoteInterface, Class primaryKeyClass, String typeOfBean, String deploymentID, InterfaceType interfaceType, List<Class> businessInterfaces, Set<String> asynchronousMethodSignatures)
public void setMetaData(ProtocolMetaData metaData)
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 boolean isStatefulSession()
public boolean isSingletonSession()
public Class getRemoteInterfaceClass()
getRemoteInterfaceClass in interface javax.ejb.EJBMetaDatapublic boolean isSession()
isSession in interface javax.ejb.EJBMetaDatapublic boolean isAsynchronousMethod(Method method)
public void addAsynchronousMethod(Method method)
protected void setEJBHomeProxy(EJBHomeProxy home)
public String getDeploymentID()
public Class getHomeClass()
public Class getMainInterface()
public Properties getProperties()
public Object getPrimaryKey()
public void setPrimaryKey(Object primaryKey)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void loadProperties(Properties properties)
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.