Class MessageDrivenComponentDescription
- java.lang.Object
-
- org.jboss.as.ee.component.ComponentDescription
-
- org.jboss.as.ejb3.component.EJBComponentDescription
-
- org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription
-
- All Implemented Interfaces:
ResourceInjectionTarget
public class MessageDrivenComponentDescription extends EJBComponentDescription
- Author:
- Carlo de Wolf, Richard Opalka
-
-
Constructor Summary
Constructors Constructor Description MessageDrivenComponentDescription(String componentName, String componentClassName, EjbJarDescription ejbJarDescription, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, String messageListenerInterfaceName, Properties activationProps, String defaultResourceAdapterName, org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData descriptorData, boolean defaultMdbPoolAvailable)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddCurrentInvocationContextFactory()Setup the current invocation context interceptor, which will be used during the post-construct lifecycle of the component instanceprotected voidaddCurrentInvocationContextFactory(ViewDescription view)Setup the current invocation context interceptor, which will be used during the invocation on the view (methods)ComponentConfigurationcreateConfiguration(org.jboss.as.server.deployment.reflect.ClassReflectionIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader)PropertiesgetActivationProps()org.jboss.msc.service.ServiceNamegetDeliveryControllerName()String[]getDeliveryGroups()org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaDatagetDescriptorData()StringgetMessageListenerInterfaceName()StringgetPoolConfigName()StringgetResourceAdapterName()booleanisClusteredSingleton()booleanisDeliveryActive()booleanisDeliveryControlled()booleanisMessageDriven()booleanisTimerServiceApplicable()voidsetClusteredSingleton(boolean clusteredSingleton)voidsetDeliveryActive(boolean deliveryActive)voidsetDeliveryGroup(String[] groupNames)voidsetPoolConfigName(String mdbPoolConfigName)voidsetResourceAdapterName(String resourceAdapterName)protected voidsetupViewInterceptors(EJBViewDescription view)-
Methods inherited from class org.jboss.as.ejb3.component.EJBComponentDescription
addDeclaredRoles, addEjbLocalObjectView, addEjbObjectView, addEJBSuspendHandlerDependency, addLocalHome, addRemoteHome, addRemoteTransactionsDependency, addScheduleMethod, addTransactionManagerDependencies, excludeClassLevelContainerInterceptors, excludeDefaultContainerInterceptors, getAllContainerInterceptors, getAnnotationMethodPermissions, getClassLevelContainerInterceptors, getDeclaredRoles, getDefaultContainerInterceptors, getDefinedSecurityDomain, getDescriptorMethodPermissions, getEJBClassName, getEjbHomeView, getEjbLocalHomeView, getEjbLocalView, getEJBName, getEjbRemoteView, getElytronInterceptorFactories, getMethodLevelContainerInterceptors, getResolvedSecurityDomain, getRunAs, getRunAsPrincipal, getScheduleMethods, getSecurityDomainServiceName, getSecurityRoleLinks, getSecurityRoles, getServerInterceptorCache, getShutDownInterceptorFactory, getTimeoutMethod, getTimerMethods, getTimerServiceResource, getTransactionAttributes, getTransactionManagementType, getTransactionTimeouts, hasBeanLevelSecurityMetadata, isEntity, isExcludeClassLevelContainerInterceptors, isExcludeDefaultContainerInterceptors, isExcludeDefaultContainerInterceptors, isExposedViaIiop, isMissingMethodPermissionsDeniedAccess, isOutflowSecurityDomainsConfigured, isSecurityRequired, isSession, isSingleton, isStateful, isStateless, linkSecurityRoles, registerView, registerView, requiresJacc, requiresLegacyCompliantPrincipalPropagation, setClassLevelContainerInterceptors, setDeclaredRoles, setDefaultContainerInterceptors, setDefaultSecurityDomain, setDefinedSecurityDomain, setExcludeDefaultContainerInterceptors, setExposedViaIiop, setLegacyCompliantPrincipalPropagation, setMethodContainerInterceptors, setMissingMethodPermissionsDenyAccess, setOutflowSecurityDomainsConfigured, setRequiresJacc, setRunAs, setRunAsPrincipal, setSecurityDomainServiceName, setSecurityRequired, setSecurityRoles, setServerInterceptorCache, setTimeoutMethod, setTimerServiceResource, setTransactionManagementType, setupClientViewInterceptors, setupRemoteView, setupSecurityInterceptors, toString
-
Methods inherited from class org.jboss.as.ee.component.ComponentDescription
addClassInterceptor, addDependency, addInterceptorMethodOverride, addMethodInterceptor, addResourceInjection, excludeClassInterceptors, excludeDefaultInterceptors, getAllInterceptors, getApplicationName, getBeanDeploymentArchiveId, getBindingConfigurations, getClassInterceptor, getClassInterceptors, getComponentClassName, getComponentName, getConfigurators, getContextServiceName, getCreateServiceName, getDefaultInterceptors, getDependencies, getDeploymentDescriptorEnvironment, getMethodInterceptors, getModuleDescription, getModuleName, getNamingMode, getResourceInjections, getServiceName, getStartServiceName, getViews, isCDIInterceptorEnabled, isExcludeClassInterceptors, isExcludeDefaultInterceptors, isExcludeDefaultInterceptors, isIgnoreLifecycleInterceptors, isIntercepted, isOptional, isPassivationApplicable, isTimerServiceRequired, mergeInterceptorConfig, setBeanDeploymentArchiveId, setClassInterceptors, setContextServiceName, setDefaultInterceptors, setDeploymentDescriptorEnvironment, setExcludeDefaultInterceptors, setIgnoreLifecycleInterceptors, setMethodInterceptors, setNamingMode
-
-
-
-
Constructor Detail
-
MessageDrivenComponentDescription
public MessageDrivenComponentDescription(String componentName, String componentClassName, EjbJarDescription ejbJarDescription, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, String messageListenerInterfaceName, Properties activationProps, String defaultResourceAdapterName, org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData descriptorData, boolean defaultMdbPoolAvailable)
Construct a new instance.- Parameters:
componentName- the component namecomponentClassName- the component instance class nameejbJarDescription- the module descriptiondefaultResourceAdapterName- The default resource adapter name for this message driven bean. Cannot be null or empty string.
-
-
Method Detail
-
createConfiguration
public ComponentConfiguration createConfiguration(org.jboss.as.server.deployment.reflect.ClassReflectionIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader)
- Overrides:
createConfigurationin classComponentDescription
-
getActivationProps
public Properties getActivationProps()
-
isDeliveryActive
public boolean isDeliveryActive()
-
setDeliveryActive
public void setDeliveryActive(boolean deliveryActive)
-
getDeliveryGroups
public String[] getDeliveryGroups()
-
setDeliveryGroup
public void setDeliveryGroup(String[] groupNames)
-
isClusteredSingleton
public boolean isClusteredSingleton()
-
setClusteredSingleton
public void setClusteredSingleton(boolean clusteredSingleton)
-
isDeliveryControlled
public boolean isDeliveryControlled()
-
getDeliveryControllerName
public org.jboss.msc.service.ServiceName getDeliveryControllerName()
-
getResourceAdapterName
public String getResourceAdapterName()
-
setResourceAdapterName
public void setResourceAdapterName(String resourceAdapterName)
-
setupViewInterceptors
protected void setupViewInterceptors(EJBViewDescription view)
- Overrides:
setupViewInterceptorsin classEJBComponentDescription
-
addCurrentInvocationContextFactory
protected void addCurrentInvocationContextFactory()
Description copied from class:EJBComponentDescriptionSetup the current invocation context interceptor, which will be used during the post-construct lifecycle of the component instance- Specified by:
addCurrentInvocationContextFactoryin classEJBComponentDescription
-
addCurrentInvocationContextFactory
protected void addCurrentInvocationContextFactory(ViewDescription view)
Description copied from class:EJBComponentDescriptionSetup the current invocation context interceptor, which will be used during the invocation on the view (methods)- Specified by:
addCurrentInvocationContextFactoryin classEJBComponentDescription- Parameters:
view- The view for which the interceptor has to be setup
-
isMessageDriven
public boolean isMessageDriven()
- Overrides:
isMessageDrivenin classEJBComponentDescription
-
setPoolConfigName
public void setPoolConfigName(String mdbPoolConfigName)
-
getPoolConfigName
public String getPoolConfigName()
-
getMessageListenerInterfaceName
public String getMessageListenerInterfaceName()
-
isTimerServiceApplicable
public boolean isTimerServiceApplicable()
- Overrides:
isTimerServiceApplicablein classComponentDescription
-
getDescriptorData
public org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData getDescriptorData()
- Overrides:
getDescriptorDatain classEJBComponentDescription
-
-