JBoss Metadata EJB 7.2.2.Final

org.jboss.metadata.ejb.jboss
Class JBossSessionBean31MetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
              extended by org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData
                  extended by org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData
                      extended by org.jboss.metadata.ejb.jboss.JBossSessionBean31MetaData
All Implemented Interfaces:
Serializable, Cloneable, IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>, IScheduleTarget, ITimeoutTarget, Environment, RemoteEnvironment, IdMetaData, MappableMetaData
Direct Known Subclasses:
JBoss50SessionBeanMetaData

Deprecated.

@Deprecated
public class JBossSessionBean31MetaData
extends JBossSessionBeanMetaData
implements ITimeoutTarget, IScheduleTarget

Version:
$Revision: $
Author:
Carlo de Wolf
See Also:
Serialized Form

Constructor Summary
JBossSessionBean31MetaData()
          Deprecated.  
 
Method Summary
 void addTimer(TimerMetaData timer)
          Deprecated.  
 AccessTimeoutMetaData getAccessTimeout()
          Deprecated. Returns the access timeout metadata applicable at bean level
 NamedMethodMetaData getAfterBeginMethod()
          Deprecated.  
 NamedMethodMetaData getAfterCompletionMethod()
          Deprecated.  
 AsyncMethodsMetaData getAsyncMethods()
          Deprecated.  
 NamedMethodMetaData getBeforeCompletionMethod()
          Deprecated.  
 javax.ejb.ConcurrencyManagementType getConcurrencyManagementType()
          Deprecated. Returns the concurrency management type of this bean
 ConcurrentMethodsMetaData getConcurrentMethods()
          Deprecated. Returns a Map whose key represents a NamedMethodMetaData and whose value represents ConcurrentMethodMetaData of this bean.
 String[] getDependsOn()
          Deprecated. Returns the names of one or more Singleton beans in the same application as the referring Singleton.
 javax.ejb.LockType getLockType()
          Deprecated. Returns the lock type applicable at the bean level
 javax.ejb.LockType getLockType(String klass)
          Deprecated. Returns the lock type specified on the passed klass.
 StatefulTimeoutMetaData getStatefulTimeout()
          Deprecated.  
 List<TimerMetaData> getTimers()
          Deprecated. Returns the TimerMetaData associated (if any) with this bean
 boolean hasEJB3xView()
          Deprecated. Returns true if this session bean exposes a EJB 3.x view.
 boolean isInitOnStartup()
          Deprecated.  
 boolean isNoInterfaceBean()
          Deprecated. Returns true if this bean exposes a no-interface view
 boolean isSingleton()
          Deprecated.  
 void merge(JBossEnterpriseBeanMetaData override, EnterpriseBeanMetaData original, String overridenFile, String overrideFile, boolean mustOverride)
          Deprecated.  
 void merge(JBossEnterpriseBeanMetaData override, JBossEnterpriseBeanMetaData original)
          Deprecated.  
 void setAccessTimeout(AccessTimeoutMetaData accessTimeout)
          Deprecated. Sets the bean level access timeout metadata
 void setAfterBeginMethod(NamedMethodMetaData method)
          Deprecated.  
 void setAfterCompletionMethod(NamedMethodMetaData method)
          Deprecated.  
 void setAsyncMethods(AsyncMethodsMetaData asyncMethods)
          Deprecated.  
 void setBeforeCompletionMethod(NamedMethodMetaData method)
          Deprecated.  
 void setConcurrencyManagementType(javax.ejb.ConcurrencyManagementType concurrencyManagementType)
          Deprecated. Sets the concurrency management type of this bean
 void setConcurrentMethods(ConcurrentMethodsMetaData concurrentMethods)
          Deprecated. Sets the concurrent methods of this bean
 void setDependsOn(Collection<String> dependsOn)
          Deprecated. Sets the names of one or more singleton beans, each of which must be initialized before the referring bean.
 void setDependsOn(String[] dependsOn)
          Deprecated. Sets the names of one or more singleton beans, each of which must be initialized before the referring bean.
 void setInitOnStartup(boolean initOnStartup)
          Deprecated. Set the init-on-startup property of a singleton bean
 void setLockType(javax.ejb.LockType lockType)
          Deprecated. Sets the lock type applicable at the bean level
 void setLockType(String klass, javax.ejb.LockType lockType)
          Deprecated. Sets the lock type that's available on the passed klass

 void setNoInterfaceBean(boolean isNoInterfaceBean)
          Deprecated. Set the metadata to represent whether this bean exposes an no-interface view
 void setStatefulTimeout(StatefulTimeoutMetaData statefulTimeout)
          Deprecated.  
 void setTimers(List<TimerMetaData> timer)
          Deprecated. Sets the TimerMetaData associated with this bean
 
Methods inherited from class org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData
checkValid, determineClusterConfig, determineJndiName, determineLocalJndiName, getAroundInvokes, getBusinessLocals, getBusinessRemotes, getCacheConfig, getClusterConfig, getContainerObjectNameJndiName, getDefaultConfigurationName, getDefaultInvokerJndiName, getDefaultInvokerName, getEjbTimeoutIdentity, getHome, getHomeJndiName, getInitMethods, getJndiName, getLocal, getLocalBindings, getLocalHome, getLocalHomeJndiName, getPortComponent, getPostActivates, getPrePassivates, getRemote, getRemoteBindings, getRemoveMethods, getSecurityRoleRefs, getServiceEndpoint, getSessionType, getTimeoutMethod, hasEJB2xView, isCallByValue, isClustered, isConcurrent, isSession, isStateful, isStateless, merge, setAroundInvokes, setBusinessLocals, setBusinessRemotes, setCacheConfig, setCallByValue, setClusterConfig, setClustered, setConcurrent, setEjbTimeoutIdentity, setHome, setHomeJndiName, setInitMethods, setJndiName, setLocal, setLocalBindings, setLocalHome, setLocalHomeJndiName, setPortComponent, setPostActivates, setPrePassivates, setRemote, setRemoteBindings, setRemoveMethods, setSecurityRoleRefs, setServiceEndpoint, setSessionType, setTimeoutMethod
 
Methods inherited from class org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData
determineAllDepends, determineConfigurationName, determineContainerConfiguration, determineContainerName, determineInvokerBinding, determineInvokerBindings, getAnnotatedEjbReferences, getAnnotations, getAopDomainName, getAssemblyDescriptor, getConfigurationName, getContainerName, getContainerTransactions, getDataSourceByName, getDataSources, getDefaultInvokers, getDepends, getEjbClass, getEjbJarMetaData, getEjbLocalReferenceByName, getEjbLocalReferences, getEjbName, getEjbReferenceByName, getEjbReferences, getEnterpriseBeansMetaData, getEnvironmentEntries, getEnvironmentEntryByName, getExcludeList, getGeneratedContainerName, getIgnoreDependency, getInvokerBindings, getIorSecurityConfig, getJBossMetaData, getJBossMetaDataWithCheck, getJndiBindingPolicy, getJndiEnvironmentRefsGroup, getJndiRefs, getLocalJndiName, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferences, getMethodAttributes, getMethodPermissions, getMethodPermissions, getMethodTransactionTimeout, getMethodTransactionTimeout, getMethodTransactionType, getMethodTransactionType, getPersistenceContextReferenceByName, getPersistenceContextRefs, getPersistenceUnitReferenceByName, getPersistenceUnitRefs, getPoolConfig, getPostConstructs, getPreDestroys, getResourceEnvironmentReferenceByName, getResourceEnvironmentReferences, getResourceReferenceByName, getResourceReferences, getSecurityDomain, getSecurityIdentity, getSecurityProxy, getSecurityRole, getSecurityRolePrincipals, getSecurityRolesPrincipalVersusRolesMap, getServiceReferenceByName, getServiceReferences, getTransactionType, hasMethodPermissions, isBMT, isCMT, isConsumer, isEntity, isExceptionOnRollback, isGeneric, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isService, isTimerPersistence, merge, newBean, newBean, setAnnotations, setAopDomainName, setConfigurationName, setContainerName, setDepends, setEjbClass, setEjbName, setEnterpriseBeansMetaData, setEnvironmentRefsGroup, setExceptionOnRollback, setGeneratedContainerName, setIgnoreDependency, setInvokerBindings, setIorSecurityConfig, setJndiBindingPolicy, setJndiEnvironmentRefsGroup, setJndiRefs, setLocalJndiName, setMappedName, setMethodAttributes, setPoolConfig, setSecurityDomain, setSecurityIdentity, setSecurityProxy, setTimerPersistence, setTransactionType
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
getDescriptionGroup, setDescriptionGroup
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.metadata.common.ejb.ITimeoutTarget
getTimeoutMethod, setTimeoutMethod
 
Methods inherited from interface org.jboss.metadata.common.ejb.IEnterpriseBeanMetaData
getDescriptionGroup, getId, setDescriptionGroup
 
Methods inherited from interface org.jboss.metadata.javaee.support.MappableMetaData
getKey
 

Constructor Detail

JBossSessionBean31MetaData

public JBossSessionBean31MetaData()
Deprecated. 
Method Detail

getAsyncMethods

public AsyncMethodsMetaData getAsyncMethods()
Deprecated. 

setAsyncMethods

public void setAsyncMethods(AsyncMethodsMetaData asyncMethods)
Deprecated. 

isNoInterfaceBean

public boolean isNoInterfaceBean()
Deprecated. 
Returns true if this bean exposes a no-interface view

Returns:

setNoInterfaceBean

public void setNoInterfaceBean(boolean isNoInterfaceBean)
Deprecated. 
Set the metadata to represent whether this bean exposes an no-interface view

Parameters:
isNoInterfaceBean - True if the bean exposes a no-interface view. Else set to false.

isSingleton

public boolean isSingleton()
Deprecated. 
Returns:
Returns true if this is a singleton session bean. Else returns false.

isInitOnStartup

public boolean isInitOnStartup()
Deprecated. 
Returns:
Returns true if a singleton bean is marked for init-on-startup (Startup)

setInitOnStartup

public void setInitOnStartup(boolean initOnStartup)
Deprecated. 
Set the init-on-startup property of a singleton bean

Parameters:
initOnStartup - True if the singleton bean has to be inited on startup. False otherwise

setConcurrencyManagementType

public void setConcurrencyManagementType(javax.ejb.ConcurrencyManagementType concurrencyManagementType)
Deprecated. 
Sets the concurrency management type of this bean

Parameters:
concurrencyManagementType - The concurrency management type
Throws:
If - the passed concurrencyManagementType is null

getConcurrencyManagementType

public javax.ejb.ConcurrencyManagementType getConcurrencyManagementType()
Deprecated. 
Returns the concurrency management type of this bean

Returns:

setConcurrentMethods

public void setConcurrentMethods(ConcurrentMethodsMetaData concurrentMethods)
Deprecated. 
Sets the concurrent methods of this bean

Parameters:
concurrentMethods -
Throws:
IllegalArgumentException - If the passed concurrentMethods is null

getConcurrentMethods

public ConcurrentMethodsMetaData getConcurrentMethods()
Deprecated. 
Returns a Map whose key represents a NamedMethodMetaData and whose value represents ConcurrentMethodMetaData of this bean. Returns an empty Map if there are no concurrent methods for this bean

Returns:

setLockType

public void setLockType(javax.ejb.LockType lockType)
Deprecated. 
Sets the lock type applicable at the bean level

Parameters:
lockType - LockType

getLockType

public javax.ejb.LockType getLockType()
Deprecated. 
Returns the lock type applicable at the bean level

Returns:

setLockType

public void setLockType(String klass,
                        javax.ejb.LockType lockType)
Deprecated. 
Sets the lock type that's available on the passed klass

Parameters:
klass - The fully qualified classname of the Class marked with the passed lock type
lockType - The lock type

getLockType

public javax.ejb.LockType getLockType(String klass)
Deprecated. 
Returns the lock type specified on the passed klass. Returns null if the passed klass has no Lock annotation

Parameters:
klass - The fully qualified classname of the Class which is being queried for LockType
Returns:

setAccessTimeout

public void setAccessTimeout(AccessTimeoutMetaData accessTimeout)
Deprecated. 
Sets the bean level access timeout metadata

Parameters:
accessTimeout - AccessTimeoutMetaData

getAccessTimeout

public AccessTimeoutMetaData getAccessTimeout()
Deprecated. 
Returns the access timeout metadata applicable at bean level

Returns:

getDependsOn

public String[] getDependsOn()
Deprecated. 
Returns the names of one or more Singleton beans in the same application as the referring Singleton.

Returns:

setDependsOn

public void setDependsOn(String[] dependsOn)
Deprecated. 
Sets the names of one or more singleton beans, each of which must be initialized before the referring bean. Each dependent bean is expressed using ejb-link syntax.

Parameters:
dependsOn - The singleton bean dependencies

setDependsOn

public void setDependsOn(Collection<String> dependsOn)
Deprecated. 
Sets the names of one or more singleton beans, each of which must be initialized before the referring bean. Each dependent bean is expressed using ejb-link syntax.

Parameters:
dependsOn - The singleton bean dependencies

getTimers

public List<TimerMetaData> getTimers()
Deprecated. 
Returns the TimerMetaData associated (if any) with this bean

Specified by:
getTimers in interface IScheduleTarget

setTimers

public void setTimers(List<TimerMetaData> timer)
Deprecated. 
Sets the TimerMetaData associated with this bean

Specified by:
setTimers in interface IScheduleTarget

addTimer

public void addTimer(TimerMetaData timer)
Deprecated. 
Specified by:
addTimer in interface IScheduleTarget

getAfterBeginMethod

public NamedMethodMetaData getAfterBeginMethod()
Deprecated. 

setAfterBeginMethod

public void setAfterBeginMethod(NamedMethodMetaData method)
Deprecated. 

getBeforeCompletionMethod

public NamedMethodMetaData getBeforeCompletionMethod()
Deprecated. 

setBeforeCompletionMethod

public void setBeforeCompletionMethod(NamedMethodMetaData method)
Deprecated. 

getAfterCompletionMethod

public NamedMethodMetaData getAfterCompletionMethod()
Deprecated. 

setAfterCompletionMethod

public void setAfterCompletionMethod(NamedMethodMetaData method)
Deprecated. 

getStatefulTimeout

public StatefulTimeoutMetaData getStatefulTimeout()
Deprecated. 

setStatefulTimeout

public void setStatefulTimeout(StatefulTimeoutMetaData statefulTimeout)
Deprecated. 

hasEJB3xView

public boolean hasEJB3xView()
Deprecated. 
Returns true if this session bean exposes a EJB 3.x view. Else returns false

Overrides:
hasEJB3xView in class JBossSessionBeanMetaData
Returns:

merge

public void merge(JBossEnterpriseBeanMetaData override,
                  JBossEnterpriseBeanMetaData original)
Deprecated. 
Overrides:
merge in class JBossSessionBeanMetaData

merge

public void merge(JBossEnterpriseBeanMetaData override,
                  EnterpriseBeanMetaData original,
                  String overridenFile,
                  String overrideFile,
                  boolean mustOverride)
Deprecated. 
Overrides:
merge in class JBossSessionBeanMetaData

JBoss Metadata EJB 7.2.2.Final

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.