public final class EjbMessageBeanDescriptor extends EjbDescriptor implements com.sun.enterprise.deployment.types.MessageDestinationReferencer, com.sun.enterprise.deployment.EjbMessageBeanDescriptor
DISTRIBUTED_TRANSACTION_SCOPE, isDistributedTxScope, LOCAL_TRANSACTION_SCOPE, runAsIdentity, securityIdentityDescription, transactionType, usesCallerIdentity, usesDefaultTransaction| Constructor and Description |
|---|
EjbMessageBeanDescriptor()
Default constructor.
|
EjbMessageBeanDescriptor(EjbMessageBeanDescriptor other)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ActivationConfigDescriptor |
getActivationConfigDescriptor() |
Set<com.sun.enterprise.deployment.EnvironmentProperty> |
getActivationConfigProperties() |
String |
getActivationConfigValue(String name) |
String |
getConnectionFactoryName() |
String |
getContainerFactoryQualifier() |
String |
getDestinationType() |
String |
getDurableSubscriptionName() |
String |
getEjbTypeForDisplay() |
int |
getJmsAcknowledgeMode() |
String |
getJmsAcknowledgeModeAsString() |
String |
getJmsMessageSelector() |
String |
getMdbConnectionFactoryJndiName() |
EjbMessageBeanDescriptor |
getMessageBeanOwner()
Get the descriptor for the message-driven bean owner.
|
com.sun.enterprise.deployment.MessageDestinationDescriptor |
getMessageDestination() |
String |
getMessageDestinationLinkName() |
com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor |
getMessageDestinationRefOwner() |
Method[] |
getMessageListenerInterfaceMethods(ClassLoader classLoader)
This returns the message listener onMessage method from the
*message listener interface* itself, as opposed to the method
from the ejb class that implements it.
|
String |
getMessageListenerType() |
Vector |
getMethods(ClassLoader classLoader)
Return the ejb method objects, i.e.
|
Vector |
getPossibleTransactionAttributes()
Returns the set of transaction attributes that can be assigned
to methods of this ejb when in CMT mode.
|
String |
getResourceAdapterMid() |
ActivationConfigDescriptor |
getRuntimeActivationConfigDescriptor() |
Set<com.sun.enterprise.deployment.EnvironmentProperty> |
getRuntimeActivationConfigProperties() |
String |
getRuntimeActivationConfigValue(String name) |
Set |
getSecurityBusinessMethodDescriptors()
Returns the full set of security business method descriptors I have.
|
protected Collection |
getTransactionMethods(ClassLoader classLoader) |
Set |
getTxBusinessMethodDescriptors()
Returns the full set of transactional business method descriptors I have.
|
String |
getType()
Returns the type of this bean - always "Message-driven".
|
boolean |
hasConnectionFactory() |
boolean |
hasDestinationType() |
boolean |
hasDurableSubscription() |
boolean |
hasJmsMessageSelector() |
boolean |
hasMessageDestinationLinkName() |
boolean |
hasQueueDest() |
boolean |
hasResourceAdapterMid() |
boolean |
hasTopicDest() |
boolean |
isLinkedToMessageDestination() |
boolean |
ownedByMessageBean()
True if the owner is a message-driven bean.
|
boolean |
ownedByMessageDestinationRef() |
void |
print(StringBuffer toStringBuffer)
Returns a formatted String of the attributes of this object.
|
void |
putActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop) |
void |
putRuntimeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop) |
void |
removeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop) |
void |
removeActivationConfigPropertyByName(String name) |
void |
removeRuntimeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop) |
void |
removeRuntimeActivationConfigPropertyByName(String name) |
com.sun.enterprise.deployment.MessageDestinationDescriptor |
resolveLinkName() |
void |
setActivationConfigDescriptor(ActivationConfigDescriptor desc) |
void |
setConnectionFactoryName(String connectionFactory)
Connection factory is optional.
|
void |
setContainerTransactionFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor,
ContainerTransaction containerTransaction)
Sets the container transaction for the given method descriptor.
|
void |
setDestinationType(String destType) |
void |
setDurableSubscriptionName(String durableSubscriptionName) |
void |
setHasDurableSubscription(boolean durable) |
void |
setHasQueueDest() |
void |
setHasTopicDest() |
void |
setJmsAcknowledgeMode(int acknowledgeMode) |
void |
setJmsAcknowledgeMode(String acknowledgeMode) |
void |
setJmsMessageSelector(String selector) |
void |
setMessageDestination(com.sun.enterprise.deployment.MessageDestinationDescriptor newMsgDest) |
void |
setMessageDestinationLinkName(String linkName)
Sets the name of the message destination to which I refer.
|
com.sun.enterprise.deployment.MessageDestinationDescriptor |
setMessageDestinationLinkName(String linkName,
boolean resolveLink) |
void |
setMessageListenerType(String messagingType) |
void |
setResourceAdapterMid(String resourceAdapterMid)
resource-adapter-mid is optional.
|
void |
setRuntimeActivationConfigDescriptor(ActivationConfigDescriptor desc) |
void |
setSubscriptionDurability(String subscription) |
void |
setTransactionType(String transactionType)
Sets the transaction type for this bean.
|
void |
setType(String type)
Sets my type
|
addAllInterfaceMethodsIn, addAroundInvokeDescriptor, addAroundTimeoutDescriptor, addEjbDescriptor, addEjbReferenceDescriptor, addEjbReferencer, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addFrameworkInterceptor, addInterceptorClass, addIORConfigurationDescriptor, addLocalBusinessClassName, addMessageDestinationReferenceDescriptor, addMethodLevelChain, addNoInterfaceLocalBeanClass, addPermissionedMethod, addPostConstructDescriptor, addPreDestroyDescriptor, addRemoteBusinessClassName, addResourceDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addRoleReference, addScheduledTimerDescriptor, addScheduledTimerDescriptorFromDD, addServiceReferenceDescriptor, allMechanismsRequireSSL, appendToInterceptorChain, applyDefaultClassToLifecycleMethods, applyInterceptors, getAllEjbReferencers, getAllResourcesDescriptors, getAllResourcesDescriptors, getApplication, getAroundInvokeDescriptorByClass, getAroundInvokeDescriptors, getAroundInvokeInterceptors, getAroundTimeoutDescriptorByClass, getAroundTimeoutDescriptors, getAroundTimeoutInterceptors, getBusinessMethodDescriptorFor, getCallbackInterceptors, getClientBusinessMethodDescriptors, getContainerTransaction, getContainerTransactionFor, getEjbBundleDescriptor, getEjbClassName, getEjbImplClassName, getEJBLocalObjectImplClassName, getEJBObjectImplClassName, getEjbReference, getEjbReferenceDescriptors, getEjbTimeoutMethod, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getExcludedMethodDescriptors, getFieldDescriptors, getFields, getFrameworkInterceptors, getHomeClassName, getIASEjbExtraDescriptors, getInjectableResourcesByClass, getInjectionInfoByClass, getInterceptorChain, getInterceptorClasses, getInterceptorClassNames, getIORConfigurationDescriptors, getJndiName, getLifecycleCallbackDescriptors, getLocalBusinessClassNames, getLocalClassName, getLocalHomeClassName, getLocalHomeImplClassName, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getMethodContainerTransactions, getMethodDescriptors, getMethodInterceptorsMap, getMethodPermissionsFor, getMethodPermissionsFromDD, getMethods, getNoInterfaceLocalBeanClasses, getOptionalLocalBusinessMethods, getPermissionedMethodsByPermission, getPermissionedRoles, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getRemoteBusinessClassNames, getRemoteClassName, getRemoteHomeImplClassName, getResourceDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceByName, getResourceReferenceDescriptors, getResourceReferenceDescriptors, getRoleReferenceByName, getRoleReferences, getRunAsIdentity, getScheduledTimerDescriptors, getSecurityIdentityDescription, getServiceReferenceByName, getServiceReferenceDescriptors, getStyledPermissionedMethodsByPermission, getTransactionMethodDescriptors, getTransactionType, getUncheckedMethodDescriptors, getUniqueId, getUsesCallerIdentity, getWebServiceEndpointInterfaceName, hasAroundInvokeMethod, hasAroundTimeoutMethod, hasInterceptorClass, hasPostConstructMethod, hasPreDestroyMethod, hasResolvedResourceReferences, hasScheduledTimerMethodFromDD, hasWebServiceEndpointInterface, isDistributedTransactionScope, isLocalBean, isLocalBusinessInterfacesSupported, isLocalInterfacesSupported, isRemoteBusinessInterfacesSupported, isRemoteInterfacesSupported, isTimedObject, isUsesDefaultTransaction, notifyNewModule, removeEjbReferenceDescriptor, removeEjbReferencer, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removePermissionedMethod, removeResourceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeRoleReference, removeServiceReferenceDescriptor, setDistributedTransactionScope, setEjbBundleDescriptor, setEjbClassName, setEJBLocalObjectImplClassName, setEJBObjectImplClassName, setEjbTimeoutMethod, setHomeClassName, setJndiName, setLocalBean, setLocalClassName, setLocalHomeClassName, setLocalHomeImplClassName, setMappedName, setMethodContainerTransactions, setRemoteClassName, setRemoteHomeImplClassName, setRunAsIdentity, setSecurityIdentityDescription, setUniqueId, setUsesCallerIdentity, setUsesDefaultTransaction, setWebServiceEndpointInterfaceName, visit, visitgetResourceDescriptoraddDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUriaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEjbReferencer, addFrameworkInterceptor, addInterceptorClass, addMethodLevelChain, addPermissionedMethod, addRoleReference, allMechanismsRequireSSL, appendToInterceptorChain, getApplication, getEjbBundleDescriptor, getEjbClassName, getEjbImplClassName, getHomeClassName, getIORConfigurationDescriptors, getLocalBusinessClassNames, getLocalClassName, getLocalHomeClassName, getMethodDescriptors, getMethodPermissionsFor, getMethodPermissionsFromDD, getPermissionedRoles, getRemoteBusinessClassNames, getRemoteClassName, getRoleReferenceByName, getRunAsIdentity, getTransactionType, getUniqueId, getUsesCallerIdentity, getWebServiceEndpointInterfaceName, hasInterceptorClass, hasWebServiceEndpointInterface, isLocalBean, isLocalBusinessInterfacesSupported, isLocalInterfacesSupported, isRemoteBusinessInterfacesSupported, isRemoteInterfacesSupported, notifyNewModule, removeEjbReferencer, setRunAsIdentity, setUniqueId, setUsesCallerIdentity, setWebServiceEndpointInterfaceNamegetJndiName, getName, setJndiNameaddEjbReferenceDescriptor, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addMessageDestinationReferenceDescriptor, addPostConstructDescriptor, addPreDestroyDescriptor, addResourceDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addServiceReferenceDescriptor, removeEjbReferenceDescriptor, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removeResourceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeServiceReferenceDescriptorgetAllResourcesDescriptors, getAllResourcesDescriptors, getEjbReferenceDescriptors, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getInjectableResourcesByClass, getInjectionInfoByClass, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getResourceDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceDescriptors, getServiceReferenceByName, getServiceReferenceDescriptorsaddEjbReferenceDescriptor, getEjbReference, getEjbReferenceDescriptorsaddResourceEnvReferenceDescriptor, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptorsaddResourceReferenceDescriptor, getResourceReferenceByName, getResourceReferenceDescriptorspublic EjbMessageBeanDescriptor()
public EjbMessageBeanDescriptor(EjbMessageBeanDescriptor other)
public String getEjbTypeForDisplay()
getEjbTypeForDisplay in interface com.sun.enterprise.deployment.EjbDescriptorgetEjbTypeForDisplay in class EjbDescriptorpublic String getType()
getType in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setContainerTransactionFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor,
ContainerTransaction containerTransaction)
EjbDescriptorsetContainerTransactionFor in class EjbDescriptorpublic void setType(String type)
setType in class EjbDescriptorpublic void setMessageListenerType(String messagingType)
public String getMessageListenerType()
getMessageListenerType in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic Set getTxBusinessMethodDescriptors()
EjbDescriptorgetTxBusinessMethodDescriptors in class EjbDescriptorpublic Set getSecurityBusinessMethodDescriptors()
EjbDescriptorgetSecurityBusinessMethodDescriptors in interface com.sun.enterprise.deployment.EjbDescriptorgetSecurityBusinessMethodDescriptors in class EjbDescriptorpublic Method[] getMessageListenerInterfaceMethods(ClassLoader classLoader) throws NoSuchMethodException
NoSuchMethodExceptionpublic Vector getPossibleTransactionAttributes()
EjbDescriptorgetPossibleTransactionAttributes in class EjbDescriptorpublic boolean hasMessageDestinationLinkName()
public boolean isLinkedToMessageDestination()
isLinkedToMessageDestination in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic String getMessageDestinationLinkName()
getMessageDestinationLinkName in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic void setMessageDestinationLinkName(String linkName)
setMessageDestinationLinkName in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic com.sun.enterprise.deployment.MessageDestinationDescriptor setMessageDestinationLinkName(String linkName, boolean resolveLink)
setMessageDestinationLinkName in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic com.sun.enterprise.deployment.MessageDestinationDescriptor resolveLinkName()
resolveLinkName in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic boolean ownedByMessageDestinationRef()
ownedByMessageDestinationRef in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor getMessageDestinationRefOwner()
getMessageDestinationRefOwner in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic boolean ownedByMessageBean()
ownedByMessageBean in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic EjbMessageBeanDescriptor getMessageBeanOwner()
getMessageBeanOwner in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic com.sun.enterprise.deployment.MessageDestinationDescriptor getMessageDestination()
getMessageDestination in interface com.sun.enterprise.deployment.types.MessageDestinationReferencerpublic void setMessageDestination(com.sun.enterprise.deployment.MessageDestinationDescriptor newMsgDest)
setMessageDestination in interface com.sun.enterprise.deployment.types.MessageDestinationReferencernewMsgDest - the message destination to which I refer.public Set<com.sun.enterprise.deployment.EnvironmentProperty> getActivationConfigProperties()
getActivationConfigProperties in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic String getActivationConfigValue(String name)
getActivationConfigValue in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic void putActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)
public void removeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)
public void removeActivationConfigPropertyByName(String name)
public Set<com.sun.enterprise.deployment.EnvironmentProperty> getRuntimeActivationConfigProperties()
getRuntimeActivationConfigProperties in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic void putRuntimeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)
putRuntimeActivationConfigProperty in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic void removeRuntimeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)
public void removeRuntimeActivationConfigPropertyByName(String name)
public boolean hasQueueDest()
hasQueueDest in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic boolean hasTopicDest()
public boolean hasDestinationType()
public String getDestinationType()
getDestinationType in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic void setDestinationType(String destType)
public boolean hasDurableSubscription()
public void setHasDurableSubscription(boolean durable)
public void setHasQueueDest()
public void setHasTopicDest()
public void setSubscriptionDurability(String subscription)
public boolean hasJmsMessageSelector()
public void setJmsMessageSelector(String selector)
public String getJmsMessageSelector()
public int getJmsAcknowledgeMode()
public String getJmsAcknowledgeModeAsString()
public void setJmsAcknowledgeMode(int acknowledgeMode)
public void setJmsAcknowledgeMode(String acknowledgeMode)
public String getDurableSubscriptionName()
getDurableSubscriptionName in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic void setDurableSubscriptionName(String durableSubscriptionName)
public String getConnectionFactoryName()
public void setConnectionFactoryName(String connectionFactory)
public boolean hasConnectionFactory()
public String getResourceAdapterMid()
getResourceAdapterMid in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic String getMdbConnectionFactoryJndiName()
getMdbConnectionFactoryJndiName in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic void setResourceAdapterMid(String resourceAdapterMid)
setResourceAdapterMid in interface com.sun.enterprise.deployment.EjbMessageBeanDescriptorpublic boolean hasResourceAdapterMid()
public Vector getMethods(ClassLoader classLoader)
EjbDescriptorgetMethods in class EjbDescriptorprotected Collection getTransactionMethods(ClassLoader classLoader)
getTransactionMethods in class EjbDescriptorpublic String getContainerFactoryQualifier()
getContainerFactoryQualifier in class EjbDescriptorpublic void setTransactionType(String transactionType)
setTransactionType in class EjbDescriptorpublic void setActivationConfigDescriptor(ActivationConfigDescriptor desc)
public ActivationConfigDescriptor getActivationConfigDescriptor()
public void setRuntimeActivationConfigDescriptor(ActivationConfigDescriptor desc)
public ActivationConfigDescriptor getRuntimeActivationConfigDescriptor()
public void print(StringBuffer toStringBuffer)
print in class EjbDescriptorCopyright © 2017. All rights reserved.