|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
org.openmdx.kernel.application.deploy.enterprise.ComponentDeploymentDescriptor
org.openmdx.kernel.application.deploy.enterprise.BeanDeploymentDescriptor
public class BeanDeploymentDescriptor
BeanDeploymentDescriptor
| Field Summary | |
|---|---|
protected List |
containerTransaction
|
| Fields inherited from class org.openmdx.kernel.application.deploy.enterprise.ComponentDeploymentDescriptor |
|---|
name, report |
| Fields inherited from class org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor |
|---|
REPORT_APPLICATION_NAME, REPORT_APPLICATION_VERSION, REPORT_CONNECTOR_NAME, REPORT_CONNECTOR_VERSION, REPORT_EJB_CLIENT_NAME, REPORT_EJB_COMPONENT_NAME, REPORT_EJB_MODULE_NAME, REPORT_EJB_VERSION |
| Constructor Summary | |
|---|---|
protected |
BeanDeploymentDescriptor(ModuleDeploymentDescriptor owner,
URL url,
List containerTransaction)
|
| Method Summary | |
|---|---|
void |
deploy(Context containerContext,
Context applicationContext,
Reference localReference,
Reference remoteReference)
This method deploys the Bean |
List |
getContainerTransaction()
The container-transaction element specifies how the container must manage transaction scopes for the enterprise bean's method invocations. |
String |
getEjbClass()
The ejb-classType contains the fully-qualified name of the enterprise bean's class. |
EjbLocalReferenceDeploymentDescriptor |
getEjbLocalReferenceByName(String name)
|
Collection |
getEjbLocalReferences()
|
EjbRemoteReferenceDeploymentDescriptor |
getEjbRemoteReferenceByName(String name)
|
Collection |
getEjbRemoteReferences()
|
Collection |
getEnvironmentEntries()
|
Integer |
getInitialCapacity()
The initial-capacity element identifies the initial number of instance which the openMDX Container will attempt to obtain during deployment. |
String |
getJndiName()
Retrieves the JNDI name that has been configured for this bean in the deployment descriptor. |
String |
getLocalJndiName()
Retrieves the local JNDI name that has been configured for this bean in the deployment descriptor. |
Integer |
getMaximumCapacity()
The maximum-capacity element identifies the maximum number of managed connections which the openMDX Container will allow. |
Long |
getMaximumWait()
The maximum-wait element defines the time in milliseconds to wait for an instance to be returned to the pool when there are maximum-capacity active instances. |
ModuleDeploymentDescriptor |
getOwner()
|
ResourceEnvReferenceDeploymentDescriptor |
getResourceEnvReferenceByName(String name)
|
Collection |
getResourceEnvReferences()
|
ResourceReferenceDeploymentDescriptor |
getResourceReferenceByName(String name)
|
Collection |
getResourceReferences()
|
void |
parseOpenMdxXml(Element element,
Report report)
|
void |
parseXml(Element element,
Report report)
|
void |
populate(Context componentContext)
This method populates the contexts. |
void |
verify(Report report)
|
| Methods inherited from class org.openmdx.kernel.application.deploy.enterprise.ComponentDeploymentDescriptor |
|---|
getName, parseOpenMdxXml, parseXml, validate, verify |
| Methods inherited from class org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor |
|---|
createUniqueLocalApplicationContextLink, createUniqueRemoteApplicationContextLink, getChildrenByTagName, getElementContent, getOptionalChild, getUniqueChild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openmdx.kernel.application.deploy.spi.Deployment.Component |
|---|
getName |
| Methods inherited from interface org.openmdx.kernel.application.configuration.Configuration |
|---|
validate, verify |
| Field Detail |
|---|
protected List containerTransaction
| Constructor Detail |
|---|
protected BeanDeploymentDescriptor(ModuleDeploymentDescriptor owner,
URL url,
List containerTransaction)
| Method Detail |
|---|
public void parseXml(Element element,
Report report)
parseXml in class AbstractDeploymentDescriptor
public void parseOpenMdxXml(Element element,
Report report)
parseOpenMdxXml in class AbstractDeploymentDescriptorpublic void verify(Report report)
verify in class ComponentDeploymentDescriptor
public void populate(Context componentContext)
throws NamingException
Deployment.Component
populate in interface Deployment.Componentpopulate in class ComponentDeploymentDescriptorNamingException
public void deploy(Context containerContext,
Context applicationContext,
Reference localReference,
Reference remoteReference)
throws NamingException
Deployment.Bean
deploy in interface Deployment.BeancontainerContext - components are registered in the containerContext
in order to be referenced by other components.
It's URL for LinkRef's is "openmdx:container".applicationContext - components may be registered in the applicationContext
for application internal link resolutions.
It's URL for LinkRef's is "openmdx:application".localReference - Reference to the EJB's local homeremoteReference - Reference to the EJB's home
NamingExceptionpublic ModuleDeploymentDescriptor getOwner()
public String getEjbClass()
Deployment.BeanExample:
getEjbClass in interface Deployment.Beanpublic String getJndiName()
Deployment.Bean
getJndiName in interface Deployment.Beanpublic String getLocalJndiName()
Deployment.Bean
getLocalJndiName in interface Deployment.Beanpublic Collection getEnvironmentEntries()
public Collection getEjbRemoteReferences()
public Collection getEjbLocalReferences()
public Collection getResourceReferences()
public Collection getResourceEnvReferences()
public EjbRemoteReferenceDeploymentDescriptor getEjbRemoteReferenceByName(String name)
public EjbLocalReferenceDeploymentDescriptor getEjbLocalReferenceByName(String name)
public ResourceReferenceDeploymentDescriptor getResourceReferenceByName(String name)
public ResourceEnvReferenceDeploymentDescriptor getResourceEnvReferenceByName(String name)
public List getContainerTransaction()
Deployment.AssemblyDescriptor
getContainerTransaction in interface Deployment.AssemblyDescriptorpublic Integer getInitialCapacity()
Deployment.PoolThe default initial capacity is 1.
getInitialCapacity in interface Deployment.Poolpublic Integer getMaximumCapacity()
Deployment.PoolThe default maximum capacity is java.lang.Integer.MAX_VALUE, i.e.231-1.
getMaximumCapacity in interface Deployment.Poolpublic Long getMaximumWait()
Deployment.PoolA value of 0 will mean not to wait at all. When a request times out waiting for an instance an Exception is generated and the call aborted.
The default timeout value is java.lang.Long.MAX_VALUE, i.e. 263-1.
getMaximumWait in interface Deployment.PoolDeployment.Pool.getMaximumCapacity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||