public class MessageDrivenComponentDescription extends EJBComponentDescription
| Constructor and Description |
|---|
MessageDrivenComponentDescription(String componentName,
String componentClassName,
EjbJarDescription ejbJarDescription,
org.jboss.msc.service.ServiceName deploymentUnitServiceName,
String messageListenerInterfaceName,
Properties activationProps,
String defaultResourceAdapterName,
org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData descriptorData,
boolean defaultMdbPoolAvailable)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCurrentInvocationContextFactory()
Setup the current invocation context interceptor, which will be used during the post-construct
lifecycle of the component instance
|
protected void |
addCurrentInvocationContextFactory(ViewDescription view)
Setup the current invocation context interceptor, which will be used during the invocation on the view (methods)
|
ComponentConfiguration |
createConfiguration(org.jboss.as.server.deployment.reflect.ClassReflectionIndex classIndex,
ClassLoader moduleClassLoader,
org.jboss.modules.ModuleLoader moduleLoader) |
Properties |
getActivationProps() |
org.jboss.msc.service.ServiceName |
getDeliveryControllerName() |
String[] |
getDeliveryGroups() |
org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData |
getDescriptorData() |
String |
getMessageListenerInterfaceName() |
String |
getPoolConfigName() |
String |
getResourceAdapterName() |
boolean |
isClusteredSingleton() |
boolean |
isDeliveryActive() |
boolean |
isDeliveryControlled() |
boolean |
isMessageDriven() |
boolean |
isTimerServiceApplicable() |
void |
setClusteredSingleton(boolean clusteredSingleton) |
void |
setDeliveryActive(boolean deliveryActive) |
void |
setDeliveryGroup(String[] groupNames) |
void |
setPoolConfigName(String mdbPoolConfigName) |
void |
setResourceAdapterName(String resourceAdapterName) |
protected void |
setupViewInterceptors(EJBViewDescription view) |
addDeclaredRoles, addEjbLocalObjectView, addEjbObjectView, addEJBSuspendHandlerDependency, addLocalHome, addRemoteHome, addRemoteTransactionsDependency, addScheduleMethod, addServerSecurityManagerDependency, addTransactionManagerDependencies, excludeClassLevelContainerInterceptors, excludeDefaultContainerInterceptors, getAllContainerInterceptors, getAnnotationMethodPermissions, getClassLevelContainerInterceptors, getDeclaredRoles, getDefaultContainerInterceptors, getDescriptorMethodPermissions, getEJBClassName, getEjbHomeView, getEjbLocalHomeView, getEjbLocalView, getEJBName, getEjbRemoteView, getElytronInterceptorFactories, getMethodLevelContainerInterceptors, getPolicyContextID, getRunAs, getRunAsPrincipal, getScheduleMethods, getSecurityDomain, getSecurityRoleLinks, getSecurityRoles, getServerInterceptorCache, getShutDownInterceptorFactory, getTimeoutMethod, getTimerMethods, getTimerService, getTransactionAttributes, getTransactionManagementType, getTransactionTimeouts, hasBeanLevelSecurityMetadata, isEnableJacc, isEntity, isExcludeClassLevelContainerInterceptors, isExcludeDefaultContainerInterceptors, isExcludeDefaultContainerInterceptors, isExplicitSecurityDomainConfigured, isExposedViaIiop, isMissingMethodPermissionsDeniedAccess, isOutflowSecurityDomainsConfigured, isSecurityDomainKnown, isSecurityRequired, isSession, isSingleton, isStateful, isStateless, linkSecurityRoles, registerView, registerView, setClassLevelContainerInterceptors, setDeclaredRoles, setDefaultContainerInterceptors, setDefaultSecurityDomain, setExcludeDefaultContainerInterceptors, setExposedViaIiop, setKnownSecurityDomainFunction, setMethodContainerInterceptors, setMissingMethodPermissionsDenyAccess, setOutflowSecurityDomainsConfigured, setPolicyContextID, setRunAs, setRunAsPrincipal, setSecurityDomain, setSecurityRequired, setSecurityRoles, setServerInterceptorCache, setTimeoutMethod, setTimerService, setTransactionManagementType, setupClientViewInterceptors, setupRemoteView, setupSecurityInterceptors, toStringaddClassInterceptor, 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, setNamingModepublic MessageDrivenComponentDescription(String componentName, String componentClassName, EjbJarDescription ejbJarDescription, org.jboss.msc.service.ServiceName deploymentUnitServiceName, String messageListenerInterfaceName, Properties activationProps, String defaultResourceAdapterName, org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData descriptorData, boolean defaultMdbPoolAvailable)
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.public ComponentConfiguration createConfiguration(org.jboss.as.server.deployment.reflect.ClassReflectionIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader)
createConfiguration in class ComponentDescriptionpublic Properties getActivationProps()
public boolean isDeliveryActive()
public void setDeliveryActive(boolean deliveryActive)
public String[] getDeliveryGroups()
public void setDeliveryGroup(String[] groupNames)
public boolean isClusteredSingleton()
public void setClusteredSingleton(boolean clusteredSingleton)
public boolean isDeliveryControlled()
public org.jboss.msc.service.ServiceName getDeliveryControllerName()
public String getResourceAdapterName()
public void setResourceAdapterName(String resourceAdapterName)
protected void setupViewInterceptors(EJBViewDescription view)
setupViewInterceptors in class EJBComponentDescriptionprotected void addCurrentInvocationContextFactory()
EJBComponentDescriptionaddCurrentInvocationContextFactory in class EJBComponentDescriptionprotected void addCurrentInvocationContextFactory(ViewDescription view)
EJBComponentDescriptionaddCurrentInvocationContextFactory in class EJBComponentDescriptionview - The view for which the interceptor has to be setuppublic boolean isMessageDriven()
isMessageDriven in class EJBComponentDescriptionpublic void setPoolConfigName(String mdbPoolConfigName)
public String getPoolConfigName()
public String getMessageListenerInterfaceName()
public boolean isTimerServiceApplicable()
isTimerServiceApplicable in class ComponentDescriptionpublic org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData getDescriptorData()
getDescriptorData in class EJBComponentDescriptionCopyright © 2020 JBoss by Red Hat. All rights reserved.