JBoss Metadata EJB 7.2.2.Final

org.jboss.metadata.ejb.spec
Interface SessionBean31MetaData

All Superinterfaces:
EnterpriseBeanMetaData, Environment, IdMetaData, RemoteEnvironment, Serializable, SessionBeanMetaData
All Known Implementing Classes:
GenericBeanMetaData, JBossGenericBeanMetaData

public interface SessionBean31MetaData
extends SessionBeanMetaData

Version:
$Revision: $
Author:
Carlo de Wolf

Method Summary
 AccessTimeoutMetaData getAccessTimeout()
          Returns the access timeout metadata applicable at bean level
 NamedMethodMetaData getAfterBeginMethod()
           
 NamedMethodMetaData getAfterCompletionMethod()
           
 AroundTimeoutsMetaData getAroundTimeouts()
           
 AsyncMethodsMetaData getAsyncMethods()
           
 NamedMethodMetaData getBeforeCompletionMethod()
           
 javax.ejb.ConcurrencyManagementType getConcurrencyManagementType()
          Returns the concurrency management type of this bean
 ConcurrentMethodsMetaData getConcurrentMethods()
          Returns a Map whose key represents a NamedMethodMetaData and whose value represents ConcurrentMethodMetaData of this bean.
 String[] getDependsOn()
          Returns the names of one or more Singleton beans in the same application as the referring Singleton.
 EmptyMetaData getLocalBean()
           
 javax.ejb.LockType getLockType()
          Returns the lock type applicable at the bean level
 StatefulTimeoutMetaData getStatefulTimeout()
           
 List<TimerMetaData> getTimers()
           
 Boolean isInitOnStartup()
          Returns the init-on-startup value of the session bean metadata.
 boolean isNoInterfaceBean()
           
 boolean isSingleton()
          Returns true if this is a singleton session bean.
 
Methods inherited from interface org.jboss.metadata.ejb.spec.SessionBeanMetaData
getAroundInvokes, getBusinessLocals, getBusinessRemotes, getHome, getInitMethods, getLocal, getLocalHome, getPostActivates, getPrePassivates, getRemote, getRemoveMethods, getServiceEndpoint, getSessionType, getTimeoutMethod, getTransactionType, isStateful, isStateless
 
Methods inherited from interface org.jboss.metadata.ejb.spec.EnterpriseBeanMetaData
getAnnotatedEjbReferences, getAssemblyDescriptor, getContainerTransactions, getDataSourceByName, getDataSources, getDescriptionGroup, getEjbClass, getEjbJarMetaData, getEjbJarVersion, getEjbLocalReferenceByName, getEjbLocalReferences, getEjbName, getEjbReferenceByName, getEjbReferences, getEnterpriseBeansMetaData, getEnvironmentEntries, getEnvironmentEntryByName, getExcludeList, getJndiEnvironmentRefsGroup, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferences, getMethodPermissions, getMethodTransactionType, getMethodTransactionType, getName, getPersistenceContextReferenceByName, getPersistenceContextRefs, getPersistenceUnitReferenceByName, getPersistenceUnitRefs, getPostConstructs, getPreDestroys, getResourceEnvironmentReferenceByName, getResourceEnvironmentReferences, getResourceReferenceByName, getResourceReferences, getSecurityIdentity, getSecurityRoleRefs, getServiceReferenceByName, getServiceReferences, isBMT, isCMT, isEntity, isMessageDriven, isSession
 
Methods inherited from interface org.jboss.metadata.javaee.support.IdMetaData
getId, setId
 

Method Detail

isInitOnStartup

Boolean isInitOnStartup()
Returns the init-on-startup value of the session bean metadata. Returns null if none is defined.

Returns:

getAsyncMethods

AsyncMethodsMetaData getAsyncMethods()

getLocalBean

EmptyMetaData getLocalBean()
Returns:
Returns EmptyMetaData if the bean represents a no-interface bean. Else returns null. Use the isNoInterfaceBean() API which is more intuitive.
See Also:
isNoInterfaceBean()

isNoInterfaceBean

boolean isNoInterfaceBean()
Returns:
Returns true if this bean exposes a no-interface view. Else returns false. This is similar to getLocalBean(), but is more intuitive

isSingleton

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


getConcurrencyManagementType

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

Returns:

getConcurrentMethods

ConcurrentMethodsMetaData getConcurrentMethods()
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:

getLockType

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

Returns:

getAccessTimeout

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

Returns:

getDependsOn

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

Returns:

getTimers

List<TimerMetaData> getTimers()

getAfterBeginMethod

NamedMethodMetaData getAfterBeginMethod()

getBeforeCompletionMethod

NamedMethodMetaData getBeforeCompletionMethod()

getAfterCompletionMethod

NamedMethodMetaData getAfterCompletionMethod()

getStatefulTimeout

StatefulTimeoutMetaData getStatefulTimeout()

getAroundTimeouts

AroundTimeoutsMetaData getAroundTimeouts()

JBoss Metadata EJB 7.2.2.Final

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