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)
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(ClassIndex classIndex,
ClassLoader moduleClassLoader,
org.jboss.modules.ModuleLoader moduleLoader) |
Properties |
getActivationProps() |
org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData |
getDescriptorData() |
String |
getPoolConfigName() |
String |
getResourceAdapterName() |
boolean |
isDeliveryActive() |
boolean |
isMessageDriven() |
boolean |
isTimerServiceApplicable() |
void |
setDeliveryActive(boolean deliveryActive) |
void |
setPoolConfigName(String mdbPoolConfigName) |
void |
setResourceAdapterName(String resourceAdapterName) |
protected void |
setupViewInterceptors(EJBViewDescription view) |
addDeclaredRoles, addEjbLocalObjectView, addEjbObjectView, addLocalHome, addRemoteHome, addRemoteTransactionsRepositoryDependency, addScheduleMethod, addServerSecurityManagerDependency, addTransactionManagerDependencies, excludeClassLevelContainerInterceptors, excludeDefaultContainerInterceptors, getAllContainerInterceptors, getAnnotationMethodPermissions, getClassLevelContainerInterceptors, getDeclaredRoles, getDefaultContainerInterceptors, getDescriptorMethodPermissions, getEJBClassName, getEjbHomeView, getEjbLocalHomeView, getEjbLocalView, getEJBName, getEjbRemoteView, getMethodLevelContainerInterceptors, getRunAs, getRunAsPrincipal, getScheduleMethods, getSecurityDomain, getSecurityRoleLinks, getSecurityRoles, getShutDownInterceptorFactory, getTimeoutMethod, getTimerMethods, getTimerService, getTransactionAttributes, getTransactionManagementType, getTransactionTimeouts, hasBeanLevelSecurityMetadata, isEntity, isExcludeClassLevelContainerInterceptors, isExcludeDefaultContainerInterceptors, isExcludeDefaultContainerInterceptors, isExplicitSecurityDomainConfigured, isExposedViaIiop, isMissingMethodPermissionsDeniedAccess, isSession, isSingleton, isStateful, isStateless, linkSecurityRoles, registerView, registerView, setClassLevelContainerInterceptors, setDeclaredRoles, setDefaultContainerInterceptors, setDefaultSecurityDomain, setExcludeDefaultContainerInterceptors, setExposedViaIiop, setMethodContainerInterceptors, setMissingMethodPermissionsDenyAccess, setRunAs, setRunAsPrincipal, setSecurityDomain, setSecurityRoles, setTimeoutMethod, setTimerService, setTransactionManagementType, setupClientViewInterceptors, setupRemoteView, setupSecurityInterceptors, toString
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
public 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)
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(ClassIndex classIndex, ClassLoader moduleClassLoader, org.jboss.modules.ModuleLoader moduleLoader)
createConfiguration
in class ComponentDescription
public Properties getActivationProps()
public boolean isDeliveryActive()
public void setDeliveryActive(boolean deliveryActive)
public String getResourceAdapterName()
public void setResourceAdapterName(String resourceAdapterName)
protected void setupViewInterceptors(EJBViewDescription view)
setupViewInterceptors
in class EJBComponentDescription
protected void addCurrentInvocationContextFactory()
EJBComponentDescription
addCurrentInvocationContextFactory
in class EJBComponentDescription
protected void addCurrentInvocationContextFactory(ViewDescription view)
EJBComponentDescription
addCurrentInvocationContextFactory
in class EJBComponentDescription
view
- The view for which the interceptor has to be setuppublic boolean isMessageDriven()
isMessageDriven
in class EJBComponentDescription
public void setPoolConfigName(String mdbPoolConfigName)
public String getPoolConfigName()
public boolean isTimerServiceApplicable()
isTimerServiceApplicable
in class ComponentDescription
public org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData getDescriptorData()
getDescriptorData
in class EJBComponentDescription
Copyright © 2015 JBoss by Red Hat. All rights reserved.