org.jboss.metadata
Class SessionMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData (src) 
      extended byorg.jboss.metadata.BeanMetaData (src) 
          extended byorg.jboss.metadata.SessionMetaData
All Implemented Interfaces:
java.lang.Cloneable, XmlLoadable (src)

public class SessionMetaData
extends BeanMetaData (src)

The meta data information specific to session beans.


Field Summary
static java.lang.String DEFAULT_CLUSTERED_STATEFUL_INVOKER
           
static java.lang.String DEFAULT_CLUSTERED_STATELESS_INVOKER
           
static java.lang.String DEFAULT_STATEFUL_INVOKER
           
static java.lang.String DEFAULT_STATELESS_INVOKER
           
static java.lang.String DEFAULT_WEBSERVICE_INVOKER
           
protected  EjbPortComponentMetaData (src) portComponent
          the jboss port-component binding for a ejb webservice
protected  java.lang.String serviceEndpointClass
          the service-endpoint element contains the fully-qualified name of the session beanīs web service interface
 
Fields inherited from class org.jboss.metadata.BeanMetaData (src)
beanType, callByValue, clustered, configurationName, containerManagedTx, ENTITY_TYPE, invokerBindings, LOCAL_INVOKER_PROXY_BINDING, MDB_TYPE, SESSION_TYPE
 
Fields inherited from class org.jboss.metadata.MetaData (src)
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
SessionMetaData(ApplicationMetaData (src)  app)
           
 
Method Summary
protected  void defaultInvokerBindings()
           
 java.lang.String getDefaultConfigurationName()
           
 EjbPortComponentMetaData (src) getPortComponent()
           
 java.lang.String getServiceEndpoint()
           
 void importEjbJarXml(org.w3c.dom.Element element)
          Called to parse the ejb-jar.xml enterprise-beans child ejb elements
 void importJbossXml(org.w3c.dom.Element element)
          Called to parse the jboss.xml enterprise-beans child ejb elements
 boolean isStateful()
           
 boolean isStateless()
           
 boolean isWebservice()
           
 
Methods inherited from class org.jboss.metadata.BeanMetaData (src)
addExcludedMethod, addPermissionMethod, addTransactionMethod, getApplicationMetaData, getClusterConfigMetaData, getConfigurationName, getContainerConfiguration, getContainerObjectNameJndiName, getDepends, getEjbClass, getEjbLocalRefByName, getEjbLocalReferences, getEjbName, getEjbRefByName, getEjbReferences, getEnvironmentEntries, getExceptionRollback, getExcludedMethods, getHome, getInvokerBinding, getInvokerBindings, getIorSecurityConfigMetaData, getJndiName, getLocal, getLocalHome, getLocalJndiName, getMessageDestinationReferences, getMethodPermissions, getMethodTransactionType, getPermissionMethods, getRemote, getResourceEnvReferences, getResourceReferences, getSecurityIdentityMetaData, getSecurityProxy, getSecurityRoleReferences, getServiceReferences, getTransactionMethod, getTransactionMethods, getTransactionTimeout, getTransactionTimeout, hasMethodPermission, isBeanManagedTx, isCallByValue, isClustered, isContainerManagedTx, isEntity, isExcludeMissingMethods, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isSession
 
Methods inherited from class org.jboss.metadata.MetaData (src)
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_STATEFUL_INVOKER

public static final java.lang.String DEFAULT_STATEFUL_INVOKER
See Also:
Constant Field Values (src)

DEFAULT_CLUSTERED_STATEFUL_INVOKER

public static final java.lang.String DEFAULT_CLUSTERED_STATEFUL_INVOKER
See Also:
Constant Field Values (src)

DEFAULT_STATELESS_INVOKER

public static final java.lang.String DEFAULT_STATELESS_INVOKER
See Also:
Constant Field Values (src)

DEFAULT_CLUSTERED_STATELESS_INVOKER

public static final java.lang.String DEFAULT_CLUSTERED_STATELESS_INVOKER
See Also:
Constant Field Values (src)

DEFAULT_WEBSERVICE_INVOKER

public static final java.lang.String DEFAULT_WEBSERVICE_INVOKER
See Also:
Constant Field Values (src)

serviceEndpointClass

protected java.lang.String serviceEndpointClass
the service-endpoint element contains the fully-qualified name of the session beanīs web service interface


portComponent

protected EjbPortComponentMetaData (src)  portComponent
the jboss port-component binding for a ejb webservice

Constructor Detail

SessionMetaData

public SessionMetaData(ApplicationMetaData (src)  app)
Method Detail

isStateful

public boolean isStateful()

isStateless

public boolean isStateless()

isWebservice

public boolean isWebservice()

getServiceEndpoint

public java.lang.String getServiceEndpoint()
Overrides:
getServiceEndpoint in class BeanMetaData (src)

getPortComponent

public EjbPortComponentMetaData (src)  getPortComponent()
Overrides:
getPortComponent in class BeanMetaData (src)

getDefaultConfigurationName

public java.lang.String getDefaultConfigurationName()
Specified by:
getDefaultConfigurationName in class BeanMetaData (src)

defaultInvokerBindings

protected void defaultInvokerBindings()
Specified by:
defaultInvokerBindings in class BeanMetaData (src)

importEjbJarXml

public void importEjbJarXml(org.w3c.dom.Element element)
                     throws DeploymentException (src) 
Description copied from class: BeanMetaData (src)
Called to parse the ejb-jar.xml enterprise-beans child ejb elements

Overrides:
importEjbJarXml in class BeanMetaData (src)
Parameters:
element - one of session/entity/message-driven
Throws:
DeploymentException (src)

importJbossXml

public void importJbossXml(org.w3c.dom.Element element)
                    throws DeploymentException (src) 
Description copied from class: BeanMetaData (src)
Called to parse the jboss.xml enterprise-beans child ejb elements

Overrides:
importJbossXml in class BeanMetaData (src)
Parameters:
element - one of session/entity/message-driven
Throws:
DeploymentException (src)