org.jboss.ejb3.metamodel
Class SessionEnterpriseBean

java.lang.Object
  extended by org.jboss.metamodel.descriptor.EnvironmentRefGroup
      extended by org.jboss.ejb3.metamodel.EnterpriseBean
          extended by org.jboss.ejb3.metamodel.SessionEnterpriseBean
All Implemented Interfaces:
Injectable

public class SessionEnterpriseBean
extends EnterpriseBean

Represents a Session EJB element of the ejb-jar.xml deployment descriptor for the 1.4 schema

Version:
$Revision: 62273 $
Author:
William DeCoste

Field Summary
static String STATEFUL
           
static String STATELESS
           
 
Fields inherited from class org.jboss.ejb3.metamodel.EnterpriseBean
BEAN, CONTAINER, tmType
 
Fields inherited from class org.jboss.metamodel.descriptor.EnvironmentRefGroup
ejbLocalRefs, ejbRefs, envEntries, jndiRefs, messageDestinationRefs, messageDestinationRefsByLink, persistenceContextRefs, persistenceUnitRefs, resourceEnvRefs, resourceRefs, serviceRefs
 
Constructor Summary
SessionEnterpriseBean()
           
 
Method Summary
 void addInitMethod(InitMethod method)
           
 void addRemoveMethod(RemoveMethod method)
           
 Method getAroundInvoke()
           
 CacheConfig getCacheConfig()
           
 ClusterConfig getClusterConfig()
           
 String getClustered()
           
 String getConcurrent()
           
 List<InitMethod> getInitMethods()
           
 Method getPostActivate()
           
 Method getPostConstruct()
           
 Method getPreDestroy()
           
 Method getPrePassivate()
           
 List<RemoveMethod> getRemoveMethods()
           
 String getSessionType()
           
 boolean isStateful()
           
 boolean isStateless()
           
 void setAroundInvoke(Method aroundInvoke)
           
 void setCacheConfig(CacheConfig cacheConfig)
           
 void setClusterConfig(ClusterConfig clusterConfig)
           
 void setClustered(String clustered)
           
 void setConcurrent(String concurrent)
           
 void setPostActivate(Method postActivate)
           
 void setPostConstruct(Method postConstruct)
           
 void setPreDestroy(Method preDestroy)
           
 void setPrePassivate(Method prePassivate)
           
 void setSessionType(String sessionType)
           
 String toString()
           
 
Methods inherited from class org.jboss.ejb3.metamodel.EnterpriseBean
addDependency, addIgnoreDependency, addRemoteBinding, addSecurityRoleRef, addXmlAnnotation, getAopDomainName, getDependencies, getEjbClass, getEjbName, getHome, getHomeJndiName, getIgnoreDependencies, getJndiName, getLocal, getLocalHome, getLocalHomeJndiName, getLocalJndiName, getMethodAttributes, getPoolConfig, getPortComponent, getRemote, getRemoteBindings, getSecurityDomain, getSecurityIdentity, getSecurityRoleRefs, getTransactionManagementType, getXmlAnnotations, isCallByValue, isConsumer, isEntityBean, isMessageDrivenBean, isService, isSessionBean, mergeMessageDestinationRef, mergeResourceEnvRef, mergeResourceRef, setAopDomainName, setCallByValue, setEjbClass, setEjbName, setHome, setHomeJndiName, setJndiName, setLocal, setLocalHome, setLocalHomeJndiName, setLocalJndiName, setMethodAttributes, setPoolConfig, setPortComponent, setRemote, setRunAsPrincipal, setSecurityDomain, setSecurityIdentity, setTransactionManagementType
 
Methods inherited from class org.jboss.metamodel.descriptor.EnvironmentRefGroup
addEjbLocalRef, addEjbRef, addEnvEntry, addJndiRef, addMessageDestinationRef, addPersistenceContextRef, addPersistenceUnitRef, addResourceEnvRef, addResourceRef, addServiceRef, getEjbLocalRefs, getEjbRefs, getEnvEntries, getJndiRefs, getMessageDestinationRefForLink, getMessageDestinationRefs, getPersistenceContextRefs, getPersistenceUnitRefs, getResourceEnvRefs, getResourceRefs, getServiceRef, getServiceRefs, updateEjbLocalRef, updateEjbRef, updateMessageDestinationRef, updateResourceEnvRef, updateResourceRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.metamodel.Injectable
getEjbLocalRefs, getEjbRefs, getJndiRefs, getMessageDestinationRefs, getPersistenceContextRefs, getPersistenceUnitRefs, getResourceEnvRefs, getResourceRefs, getServiceRefs
 

Field Detail

STATELESS

public static final String STATELESS
See Also:
Constant Field Values

STATEFUL

public static final String STATEFUL
See Also:
Constant Field Values
Constructor Detail

SessionEnterpriseBean

public SessionEnterpriseBean()
Method Detail

getCacheConfig

public CacheConfig getCacheConfig()

setCacheConfig

public void setCacheConfig(CacheConfig cacheConfig)

getConcurrent

public String getConcurrent()

setConcurrent

public void setConcurrent(String concurrent)

getClustered

public String getClustered()

setClustered

public void setClustered(String clustered)

getClusterConfig

public ClusterConfig getClusterConfig()

setClusterConfig

public void setClusterConfig(ClusterConfig clusterConfig)

getRemoveMethods

public List<RemoveMethod> getRemoveMethods()

addRemoveMethod

public void addRemoveMethod(RemoveMethod method)

getInitMethods

public List<InitMethod> getInitMethods()

addInitMethod

public void addInitMethod(InitMethod method)

isStateless

public boolean isStateless()

isStateful

public boolean isStateful()

getSessionType

public String getSessionType()

setSessionType

public void setSessionType(String sessionType)

getAroundInvoke

public Method getAroundInvoke()

setAroundInvoke

public void setAroundInvoke(Method aroundInvoke)

getPostActivate

public Method getPostActivate()

setPostActivate

public void setPostActivate(Method postActivate)

getPostConstruct

public Method getPostConstruct()

setPostConstruct

public void setPostConstruct(Method postConstruct)

getPreDestroy

public Method getPreDestroy()

setPreDestroy

public void setPreDestroy(Method preDestroy)

getPrePassivate

public Method getPrePassivate()

setPrePassivate

public void setPrePassivate(Method prePassivate)

toString

public String toString()
Overrides:
toString in class EnterpriseBean


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.