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
- Author:
- Carlo de Wolf, Richard Opalka
-
Constructor Summary
ConstructorsConstructorDescriptionMessageDrivenComponentDescription(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
Modifier and TypeMethodDescriptionprotected voidSetup the current invocation context interceptor, which will be used during the post-construct lifecycle of the component instanceprotected voidSetup the current invocation context interceptor, which will be used during the invocation on the view (methods)createConfiguration(org.jboss.as.server.deployment.reflect.ClassReflectionIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader) org.jboss.msc.service.ServiceNameString[]org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaDatabooleanbooleanbooleanbooleanbooleanvoidsetClusteredSingleton(boolean clusteredSingleton) voidsetDeliveryActive(boolean deliveryActive) voidsetDeliveryGroup(String[] groupNames) voidsetPoolConfigName(String mdbPoolConfigName) voidsetResourceAdapterName(String resourceAdapterName) protected voidMethods 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, toStringMethods 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 Details
-
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 Details
-
createConfiguration
public ComponentConfiguration createConfiguration(org.jboss.as.server.deployment.reflect.ClassReflectionIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader) - Overrides:
createConfigurationin classComponentDescription
-
getActivationProps
-
isDeliveryActive
public boolean isDeliveryActive() -
setDeliveryActive
public void setDeliveryActive(boolean deliveryActive) -
getDeliveryGroups
-
setDeliveryGroup
-
isClusteredSingleton
public boolean isClusteredSingleton() -
setClusteredSingleton
public void setClusteredSingleton(boolean clusteredSingleton) -
isDeliveryControlled
public boolean isDeliveryControlled() -
getDeliveryControllerName
public org.jboss.msc.service.ServiceName getDeliveryControllerName() -
getResourceAdapterName
-
setResourceAdapterName
-
setupViewInterceptors
- 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
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
-
getPoolConfigName
-
getMessageListenerInterfaceName
-
isTimerServiceApplicable
public boolean isTimerServiceApplicable()- Overrides:
isTimerServiceApplicablein classComponentDescription
-
getDescriptorData
public org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData getDescriptorData()- Overrides:
getDescriptorDatain classEJBComponentDescription
-