|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.toplink.tools.ejb11.EJBXmlBeanDefinition
This type defines the fields used by the EJB XML deployment descriptor
| Field Summary |
| Type | Field |
|---|---|
static java.lang.String |
BEAN
|
static java.lang.String |
CONTAINER
|
java.lang.Class |
ejbClass
|
java.lang.String |
ejbName
|
static java.lang.String |
FALSE
|
java.lang.Class |
home
|
static java.lang.String |
MANDATORY
|
static java.lang.String |
NEVER
|
static java.lang.String |
NOT_SUPPORTED
|
java.lang.Class |
remote
|
static java.lang.String |
REQUIRED
|
static java.lang.String |
REQUIRES_NEW
|
static java.lang.String |
SUPPORTS
|
java.lang.String |
transAttribute
|
static java.lang.String |
TRUE
|
| Constructor Summary |
EJBXmlBeanDefinition(java.lang.String beanName)
EJBXmlBeanDefinition constructor. |
| Method Summary |
| Type | Method |
|---|---|
java.lang.Class |
getEjbClass()
Get the class of the bean. |
java.lang.String |
getEjbName()
Get the name of the bean. |
java.lang.Class |
getHomeClass()
Get the home interface class. |
java.lang.Class |
getRemoteClass()
Get the remote interface class. |
java.lang.String |
getTransAttribute()
Get the transaction management specifier for CMP. |
void |
initializeToDefaults()
Initialize this object to contain the default values. |
void |
setEjbClass(java.lang.Class beanCls)
Set the class of the bean. |
void |
setEjbName(java.lang.String beanName)
Set the name of the bean. |
void |
setHomeClass(java.lang.Class homeCls)
Set the class of the home interface. |
void |
setRemoteClass(java.lang.Class remoteCls)
Set the class of the remote interface. |
void |
setTransAttribute(java.lang.String attrib)
Set the transaction management specifier for CMP. |
oracle.toplink.tools.ejb11.Element |
storeAssemblyProperties(oracle.toplink.tools.ejb11.Element parentElement,
oracle.toplink.tools.ejb11.Document xmlDoc)
Store the assembly properties in the element passed in and using the XML document. |
oracle.toplink.tools.ejb11.Element |
storeBeanProperties(oracle.toplink.tools.ejb11.Element parentElement,
oracle.toplink.tools.ejb11.Document xmlDoc)
Store the properties in the element passed in and using the XML document. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String ejbName
public java.lang.Class ejbClass
public java.lang.Class home
public java.lang.Class remote
public java.lang.String transAttribute
public static final java.lang.String CONTAINER
public static final java.lang.String BEAN
public static final java.lang.String NOT_SUPPORTED
public static final java.lang.String SUPPORTS
public static final java.lang.String REQUIRED
public static final java.lang.String REQUIRES_NEW
public static final java.lang.String MANDATORY
public static final java.lang.String NEVER
public static final java.lang.String TRUE
public static final java.lang.String FALSE
| Constructor Detail |
public EJBXmlBeanDefinition(java.lang.String beanName)
String - name The ejbName to use for the bean| Method Detail |
public java.lang.Class getEjbClass()
public java.lang.String getEjbName()
public java.lang.Class getHomeClass()
public java.lang.Class getRemoteClass()
public java.lang.String getTransAttribute()
public void initializeToDefaults()
public void setEjbClass(java.lang.Class beanCls)
beanCls - The bean implementation Classpublic void setEjbName(java.lang.String beanName)
beanName - The arbitrary String chosen by the bean providerpublic void setHomeClass(java.lang.Class homeCls)
homeCls - The home interface Classpublic void setRemoteClass(java.lang.Class remoteCls)
remoteCls - The remote interface Classpublic void setTransAttribute(java.lang.String attrib)
attrib - Can be set to any of:
NOT_SUPPORTED, SUPPORTS, REQUIRED, REQUIRES_NEW, MANDATORY ,or NEVER
public oracle.toplink.tools.ejb11.Element storeAssemblyProperties(oracle.toplink.tools.ejb11.Element parentElement,
oracle.toplink.tools.ejb11.Document xmlDoc)
public oracle.toplink.tools.ejb11.Element storeBeanProperties(oracle.toplink.tools.ejb11.Element parentElement,
oracle.toplink.tools.ejb11.Document xmlDoc)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||