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)
|
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
String deploymentID,
InterfaceType interfaceType,
List<Class> businessInterfaces)
|
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
String deploymentID,
int deploymentCode,
InterfaceType interfaceType,
List<Class> businessInterfaces)
|
EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
String typeOfBean,
InterfaceType interfaceType,
List<Class> businessInterfaces)
|
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
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)
EJBMetaDataImpl
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
InterfaceType interfaceType,
List<Class> businessInterfaces)
EJBMetaDataImpl
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
String deploymentID,
InterfaceType interfaceType,
List<Class> businessInterfaces)
EJBMetaDataImpl
public EJBMetaDataImpl(Class homeInterface,
Class remoteInterface,
Class primaryKeyClass,
String typeOfBean,
String deploymentID,
int deploymentCode,
InterfaceType interfaceType,
List<Class> businessInterfaces)
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
setEJBHomeProxy
protected void setEJBHomeProxy(EJBHomeProxy home)
getDeploymentID
public String getDeploymentID()
getHomeClass
public Class getHomeClass()
getBusinessClasses
public List<Class> getBusinessClasses()
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-2013 The Apache OpenEJB development community. All Rights Reserved.