org.apache.openejb.client
Class EJBMetaDataImpl
java.lang.Object
org.apache.openejb.client.EJBMetaDataImpl
- All Implemented Interfaces:
- Externalizable, Serializable, javax.ejb.EJBMetaData
public class EJBMetaDataImpl
- extends Object
- implements javax.ejb.EJBMetaData, Externalizable
- See Also:
- Serialized Form
|
Constructor Summary |
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)
|
STATEFUL
public static final byte STATEFUL
- See Also:
- Constant Field Values
STATELESS
public static final byte STATELESS
- See Also:
- Constant Field Values
BMP_ENTITY
public static final byte BMP_ENTITY
- See Also:
- Constant Field Values
CMP_ENTITY
public static final byte CMP_ENTITY
- See Also:
- Constant Field Values
SINGLETON
public static final byte SINGLETON
- See Also:
- Constant Field Values
type
protected transient byte type
deploymentID
protected transient String deploymentID
deploymentCode
protected transient int deploymentCode
homeClass
protected transient Class homeClass
remoteClass
protected transient Class remoteClass
businessClasses
protected final transient List<Class> businessClasses
mainInterface
protected transient Class mainInterface
asynchronousMethods
protected final transient Set<String> asynchronousMethods
properties
protected final transient Properties properties
keyClass
protected transient Class keyClass
ejbHomeProxy
protected transient javax.ejb.EJBHome ejbHomeProxy
interfaceType
protected transient InterfaceType interfaceType
primaryKey
protected transient Object primaryKey
EJBMetaDataImpl
public EJBMetaDataImpl()
EJBMetaDataImpl
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
String typeOfBean,
InterfaceType interfaceType,
List<Class> businessInterfaces,
Set<String> asynchronousMethodSignatures)
EJBMetaDataImpl
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
InterfaceType interfaceType,
List<Class> businessInterfaces,
Set<String> asynchronousMethodSignatures)
EJBMetaDataImpl
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
String deploymentID,
InterfaceType interfaceType,
List<Class> businessInterfaces,
Set<String> asynchronousMethodSignatures)
EJBMetaDataImpl
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
String deploymentID,
int deploymentCode,
InterfaceType interfaceType,
List<Class> businessInterfaces,
Set<String> asynchronousMethodSignatures)
getPrimaryKeyClass
public Class getPrimaryKeyClass()
- Specified by:
getPrimaryKeyClass in interface javax.ejb.EJBMetaData
getEJBHome
public javax.ejb.EJBHome getEJBHome()
- Specified by:
getEJBHome in interface javax.ejb.EJBMetaData
getHomeInterfaceClass
public Class getHomeInterfaceClass()
- Specified by:
getHomeInterfaceClass in interface javax.ejb.EJBMetaData
isStatelessSession
public boolean isStatelessSession()
- Specified by:
isStatelessSession in interface javax.ejb.EJBMetaData
isStatefulSession
public boolean isStatefulSession()
isSingletonSession
public boolean isSingletonSession()
getRemoteInterfaceClass
public Class getRemoteInterfaceClass()
- Specified by:
getRemoteInterfaceClass in interface javax.ejb.EJBMetaData
isSession
public boolean isSession()
- Specified by:
isSession in interface javax.ejb.EJBMetaData
isAsynchronousMethod
public boolean isAsynchronousMethod(Method method)
addAsynchronousMethod
public void addAsynchronousMethod(Method method)
setEJBHomeProxy
protected void setEJBHomeProxy(EJBHomeProxy home)
getDeploymentID
public String getDeploymentID()
getHomeClass
public Class getHomeClass()
getBusinessClasses
public List<Class> getBusinessClasses()
getMainInterface
public Class getMainInterface()
getProperties
public Properties getProperties()
getPrimaryKey
public Object getPrimaryKey()
setPrimaryKey
public void setPrimaryKey(Object primaryKey)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
toString
public String toString()
- Overrides:
toString in class Object
loadProperties
public void loadProperties(Properties properties)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.