org.openmdx.kernel.application.deploy.enterprise
Class SessionBeanDeploymentDescriptor

java.lang.Object
  extended by org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
      extended by org.openmdx.kernel.application.deploy.enterprise.ComponentDeploymentDescriptor
          extended by org.openmdx.kernel.application.deploy.enterprise.BeanDeploymentDescriptor
              extended by org.openmdx.kernel.application.deploy.enterprise.SessionBeanDeploymentDescriptor
All Implemented Interfaces:
Configuration, Deployment.AssemblyDescriptor, Deployment.Bean, Deployment.Component, Deployment.Pool, Deployment.SessionBean, Deployment.SessionBeanExtension

public class SessionBeanDeploymentDescriptor
extends BeanDeploymentDescriptor
implements Deployment.SessionBean


Field Summary
 
Fields inherited from class org.openmdx.kernel.application.deploy.enterprise.BeanDeploymentDescriptor
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
SessionBeanDeploymentDescriptor(ModuleDeploymentDescriptor owningModule, URL url, List containerTransaction)
           
 
Method Summary
 String getHome()
          The homeType defines the fully-qualified name of an enterprise bean's home interface.
 String getHomeClass()
           
 String getLocal()
          The localType defines the fully-qualified name of an enterprise bean's local interface.
 String getLocalHome()
          The local-homeType defines the fully-qualified name of an enterprise bean's local home interface.
 String getLocalHomeClass()
           
 String getRemote()
          The remote element contains the fully-qualified name of the enterprise bean's remote interface.
 String getSessionType()
          The session-typeType describes whether the session bean is a stateful session or stateless session.
 String getTransactionType()
          The transaction-typeType specifies an enterprise bean's transaction management type.
 void parseOpenMdxXml(Element element, Report report)
           
 void parseXml(Element element, Report report)
           
 void verify(Report report)
           
 
Methods inherited from class org.openmdx.kernel.application.deploy.enterprise.BeanDeploymentDescriptor
deploy, getContainerTransaction, getEjbClass, getEjbLocalReferenceByName, getEjbLocalReferences, getEjbRemoteReferenceByName, getEjbRemoteReferences, getEnvironmentEntries, getInitialCapacity, getJndiName, getLocalJndiName, getMaximumCapacity, getMaximumWait, getOwner, getResourceEnvReferenceByName, getResourceEnvReferences, getResourceReferenceByName, getResourceReferences, populate
 
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.Bean
deploy, getEjbClass, getJndiName, getLocalJndiName
 
Methods inherited from interface org.openmdx.kernel.application.deploy.spi.Deployment.Component
getName, populate
 
Methods inherited from interface org.openmdx.kernel.application.configuration.Configuration
validate, verify
 
Methods inherited from interface org.openmdx.kernel.application.deploy.spi.Deployment.Pool
getInitialCapacity, getMaximumCapacity, getMaximumWait
 
Methods inherited from interface org.openmdx.kernel.application.deploy.spi.Deployment.AssemblyDescriptor
getContainerTransaction
 

Constructor Detail

SessionBeanDeploymentDescriptor

public SessionBeanDeploymentDescriptor(ModuleDeploymentDescriptor owningModule,
                                       URL url,
                                       List containerTransaction)
Method Detail

parseXml

public void parseXml(Element element,
                     Report report)
Overrides:
parseXml in class BeanDeploymentDescriptor

parseOpenMdxXml

public void parseOpenMdxXml(Element element,
                            Report report)
Overrides:
parseOpenMdxXml in class BeanDeploymentDescriptor

verify

public void verify(Report report)
Overrides:
verify in class BeanDeploymentDescriptor

getHome

public String getHome()
Description copied from interface: Deployment.SessionBean
The homeType defines the fully-qualified name of an enterprise bean's home interface.

Example

Specified by:
getHome in interface Deployment.SessionBean
Returns:
the EJB's remote home interface class name

getRemote

public String getRemote()
Description copied from interface: Deployment.SessionBean
The remote element contains the fully-qualified name of the enterprise bean's remote interface.

Example:

Specified by:
getRemote in interface Deployment.SessionBean
Returns:
the EJB's remote interface class name

getLocal

public String getLocal()
Description copied from interface: Deployment.SessionBean
The localType defines the fully-qualified name of an enterprise bean's local interface.

Specified by:
getLocal in interface Deployment.SessionBean
Returns:
the EJB's local interface class name

getLocalHome

public String getLocalHome()
Description copied from interface: Deployment.SessionBean
The local-homeType defines the fully-qualified name of an enterprise bean's local home interface.

Specified by:
getLocalHome in interface Deployment.SessionBean
Returns:
the EJB's local home interface class name

getLocalHomeClass

public String getLocalHomeClass()
Specified by:
getLocalHomeClass in interface Deployment.SessionBeanExtension

getHomeClass

public String getHomeClass()
Specified by:
getHomeClass in interface Deployment.SessionBeanExtension

getSessionType

public String getSessionType()
Description copied from interface: Deployment.SessionBean
The session-typeType describes whether the session bean is a stateful session or stateless session. It is used by session-type elements.

The value must be one of the two following

Specified by:
getSessionType in interface Deployment.SessionBean
Returns:
the EJB's session type

getTransactionType

public String getTransactionType()
Description copied from interface: Deployment.SessionBean
The transaction-typeType specifies an enterprise bean's transaction management type.

The transaction-type must be one of the two following:

Specified by:
getTransactionType in interface Deployment.SessionBean
Returns:
the EJB's transaction type


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.