Class EjbMessageBeanDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.CommonResourceDescriptor
-
- org.glassfish.ejb.deployment.descriptor.EjbDescriptor
-
- org.glassfish.ejb.deployment.descriptor.EjbMessageBeanDescriptor
-
- All Implemented Interfaces:
com.sun.enterprise.deployment.EjbDescriptor,com.sun.enterprise.deployment.EjbMessageBeanDescriptor,com.sun.enterprise.deployment.JndiNameEnvironment,com.sun.enterprise.deployment.NamedDescriptor,com.sun.enterprise.deployment.types.EjbReferenceContainer,com.sun.enterprise.deployment.types.MessageDestinationReferenceContainer,com.sun.enterprise.deployment.types.MessageDestinationReferencer,com.sun.enterprise.deployment.types.ResourceEnvReferenceContainer,com.sun.enterprise.deployment.types.ResourceReferenceContainer,com.sun.enterprise.deployment.types.ServiceReferenceContainer,com.sun.enterprise.deployment.WritableJndiNameEnvironment,Serializable
public final class EjbMessageBeanDescriptor extends EjbDescriptor implements com.sun.enterprise.deployment.types.MessageDestinationReferencer, com.sun.enterprise.deployment.EjbMessageBeanDescriptor
Objects of this kind represent the deployment information describing a single message driven Ejb.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.glassfish.ejb.deployment.descriptor.EjbDescriptor
DISTRIBUTED_TRANSACTION_SCOPE, isDistributedTxScope, LOCAL_TRANSACTION_SCOPE, runAsIdentity, securityIdentityDescription, transactionType, usesCallerIdentity, usesDefaultTransaction
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description EjbMessageBeanDescriptor()Default constructor.EjbMessageBeanDescriptor(EjbMessageBeanDescriptor other)The copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivationConfigDescriptorgetActivationConfigDescriptor()Set<com.sun.enterprise.deployment.EnvironmentProperty>getActivationConfigProperties()StringgetActivationConfigValue(String name)StringgetConnectionFactoryName()StringgetContainerFactoryQualifier()StringgetDestinationType()StringgetDurableSubscriptionName()StringgetEjbTypeForDisplay()intgetJmsAcknowledgeMode()StringgetJmsAcknowledgeModeAsString()StringgetJmsMessageSelector()StringgetMdbConnectionFactoryJndiName()EjbMessageBeanDescriptorgetMessageBeanOwner()Get the descriptor for the message-driven bean owner.com.sun.enterprise.deployment.MessageDestinationDescriptorgetMessageDestination()StringgetMessageDestinationLinkName()com.sun.enterprise.deployment.MessageDestinationReferenceDescriptorgetMessageDestinationRefOwner()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.StringgetMessageListenerType()VectorgetMethods(ClassLoader classLoader)Return the ejb method objects, i.e.VectorgetPossibleTransactionAttributes()Returns the set of transaction attributes that can be assigned to methods of this ejb when in CMT mode.StringgetResourceAdapterMid()ActivationConfigDescriptorgetRuntimeActivationConfigDescriptor()Set<com.sun.enterprise.deployment.EnvironmentProperty>getRuntimeActivationConfigProperties()StringgetRuntimeActivationConfigValue(String name)SetgetSecurityBusinessMethodDescriptors()Returns the full set of security business method descriptors I have.protected CollectiongetTransactionMethods(ClassLoader classLoader)SetgetTxBusinessMethodDescriptors()Returns the full set of transactional business method descriptors I have.StringgetType()Returns the type of this bean - always "Message-driven".booleanhasConnectionFactory()booleanhasDestinationType()booleanhasDurableSubscription()booleanhasJmsMessageSelector()booleanhasMessageDestinationLinkName()booleanhasQueueDest()booleanhasResourceAdapterMid()booleanhasTopicDest()booleanisLinkedToMessageDestination()booleanownedByMessageBean()True if the owner is a message-driven bean.booleanownedByMessageDestinationRef()voidprint(StringBuffer toStringBuffer)Appends a formatted String of the attributes of this object.voidputActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)voidputRuntimeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)voidremoveActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)voidremoveActivationConfigPropertyByName(String name)voidremoveRuntimeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)voidremoveRuntimeActivationConfigPropertyByName(String name)com.sun.enterprise.deployment.MessageDestinationDescriptorresolveLinkName()voidsetActivationConfigDescriptor(ActivationConfigDescriptor desc)voidsetConnectionFactoryName(String connectionFactory)Connection factory is optional.voidsetContainerTransactionFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor, ContainerTransaction containerTransaction)Sets the container transaction for the given method descriptor.voidsetDestinationType(String destType)voidsetDurableSubscriptionName(String durableSubscriptionName)voidsetHasDurableSubscription(boolean durable)voidsetHasQueueDest()voidsetHasTopicDest()voidsetJmsAcknowledgeMode(int acknowledgeMode)voidsetJmsAcknowledgeMode(String acknowledgeMode)voidsetJmsMessageSelector(String selector)voidsetMessageDestination(com.sun.enterprise.deployment.MessageDestinationDescriptor newMsgDest)voidsetMessageDestinationLinkName(String linkName)Sets the name of the message destination to which I refer.com.sun.enterprise.deployment.MessageDestinationDescriptorsetMessageDestinationLinkName(String linkName, boolean resolveLink)voidsetMessageListenerType(String messagingType)voidsetResourceAdapterMid(String resourceAdapterMid)resource-adapter-mid is optional.voidsetRuntimeActivationConfigDescriptor(ActivationConfigDescriptor desc)voidsetSubscriptionDurability(String subscription)voidsetTransactionType(String transactionType)Sets the transaction type for this bean.voidsetType(String type)Sets my type-
Methods inherited from class org.glassfish.ejb.deployment.descriptor.EjbDescriptor
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, visit
-
Methods inherited from class com.sun.enterprise.deployment.CommonResourceDescriptor
getResourceDescriptor
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, 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, setSmallIconUri
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.enterprise.deployment.EjbDescriptor
addEjbReferencer, 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, setWebServiceEndpointInterfaceName
-
Methods inherited from interface com.sun.enterprise.deployment.types.EjbReferenceContainer
addEjbReferenceDescriptor, getEjbReference, getEjbReferenceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.JndiNameEnvironment
getAllResourcesDescriptors, getAllResourcesDescriptors, getEjbReferenceDescriptors, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getInjectableResourcesByClass, getInjectionInfoByClass, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getResourceDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceDescriptors, getServiceReferenceByName, getServiceReferenceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.types.MessageDestinationReferenceContainer
addMessageDestinationReferenceDescriptor, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, removeMessageDestinationReferenceDescriptor
-
Methods inherited from interface com.sun.enterprise.deployment.NamedDescriptor
getJndiName, getName, setJndiName
-
Methods inherited from interface com.sun.enterprise.deployment.types.ResourceEnvReferenceContainer
addResourceEnvReferenceDescriptor, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.types.ResourceReferenceContainer
addResourceReferenceDescriptor, getResourceReferenceByName, getResourceReferenceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.types.ServiceReferenceContainer
addServiceReferenceDescriptor, getServiceReferenceByName, getServiceReferenceDescriptors, removeServiceReferenceDescriptor
-
Methods inherited from interface com.sun.enterprise.deployment.WritableJndiNameEnvironment
addEjbReferenceDescriptor, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addMessageDestinationReferenceDescriptor, addPostConstructDescriptor, addPreDestroyDescriptor, addResourceDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addServiceReferenceDescriptor, removeEjbReferenceDescriptor, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removeResourceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeServiceReferenceDescriptor
-
-
-
-
Constructor Detail
-
EjbMessageBeanDescriptor
public EjbMessageBeanDescriptor()
Default constructor.
-
EjbMessageBeanDescriptor
public EjbMessageBeanDescriptor(EjbMessageBeanDescriptor other)
The copy constructor.
-
-
Method Detail
-
getEjbTypeForDisplay
public String getEjbTypeForDisplay()
- Specified by:
getEjbTypeForDisplayin interfacecom.sun.enterprise.deployment.EjbDescriptor- Specified by:
getEjbTypeForDisplayin classEjbDescriptor
-
getType
public String getType()
Returns the type of this bean - always "Message-driven".- Specified by:
getTypein interfacecom.sun.enterprise.deployment.EjbDescriptor
-
setContainerTransactionFor
public void setContainerTransactionFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor, ContainerTransaction containerTransaction)Description copied from class:EjbDescriptorSets the container transaction for the given method descriptor. Throws an Illegal argument if this ejb has transaction type BEAN_TRANSACTION_TYPE.- Overrides:
setContainerTransactionForin classEjbDescriptor
-
setType
public void setType(String type)
Sets my type- Specified by:
setTypein classEjbDescriptor
-
setMessageListenerType
public void setMessageListenerType(String messagingType)
-
getMessageListenerType
public String getMessageListenerType()
- Specified by:
getMessageListenerTypein interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
getTxBusinessMethodDescriptors
public Set getTxBusinessMethodDescriptors()
Description copied from class:EjbDescriptorReturns the full set of transactional business method descriptors I have.- Overrides:
getTxBusinessMethodDescriptorsin classEjbDescriptor
-
getSecurityBusinessMethodDescriptors
public Set getSecurityBusinessMethodDescriptors()
Description copied from class:EjbDescriptorReturns the full set of security business method descriptors I have.- Specified by:
getSecurityBusinessMethodDescriptorsin interfacecom.sun.enterprise.deployment.EjbDescriptor- Overrides:
getSecurityBusinessMethodDescriptorsin classEjbDescriptor
-
getMessageListenerInterfaceMethods
public Method[] getMessageListenerInterfaceMethods(ClassLoader classLoader) throws NoSuchMethodException
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.- Throws:
NoSuchMethodException
-
getPossibleTransactionAttributes
public Vector getPossibleTransactionAttributes()
Description copied from class:EjbDescriptorReturns the set of transaction attributes that can be assigned to methods of this ejb when in CMT mode. Elements are of type ContainerTransaction- Overrides:
getPossibleTransactionAttributesin classEjbDescriptor
-
hasMessageDestinationLinkName
public boolean hasMessageDestinationLinkName()
-
isLinkedToMessageDestination
public boolean isLinkedToMessageDestination()
- Specified by:
isLinkedToMessageDestinationin interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer
-
getMessageDestinationLinkName
public String getMessageDestinationLinkName()
- Specified by:
getMessageDestinationLinkNamein interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer- Returns:
- the name of the message destination to which I refer
-
setMessageDestinationLinkName
public void setMessageDestinationLinkName(String linkName)
Sets the name of the message destination to which I refer.- Specified by:
setMessageDestinationLinkNamein interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer
-
setMessageDestinationLinkName
public com.sun.enterprise.deployment.MessageDestinationDescriptor setMessageDestinationLinkName(String linkName, boolean resolveLink)
- Specified by:
setMessageDestinationLinkNamein interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer
-
resolveLinkName
public com.sun.enterprise.deployment.MessageDestinationDescriptor resolveLinkName()
- Specified by:
resolveLinkNamein interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer
-
ownedByMessageDestinationRef
public boolean ownedByMessageDestinationRef()
- Specified by:
ownedByMessageDestinationRefin interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer
-
getMessageDestinationRefOwner
public com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor getMessageDestinationRefOwner()
- Specified by:
getMessageDestinationRefOwnerin interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer
-
ownedByMessageBean
public boolean ownedByMessageBean()
True if the owner is a message-driven bean.- Specified by:
ownedByMessageBeanin interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer
-
getMessageBeanOwner
public EjbMessageBeanDescriptor getMessageBeanOwner()
Get the descriptor for the message-driven bean owner.- Specified by:
getMessageBeanOwnerin interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer
-
getMessageDestination
public com.sun.enterprise.deployment.MessageDestinationDescriptor getMessageDestination()
- Specified by:
getMessageDestinationin interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer- Returns:
- the message destination to which I refer. Can be NULL.
-
setMessageDestination
public void setMessageDestination(com.sun.enterprise.deployment.MessageDestinationDescriptor newMsgDest)
- Specified by:
setMessageDestinationin interfacecom.sun.enterprise.deployment.types.MessageDestinationReferencer- Parameters:
newMsgDest- the message destination to which I refer.
-
getActivationConfigProperties
public Set<com.sun.enterprise.deployment.EnvironmentProperty> getActivationConfigProperties()
- Specified by:
getActivationConfigPropertiesin interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor- Returns:
- Set of EnvironmentProperty elements.
-
getActivationConfigValue
public String getActivationConfigValue(String name)
- Specified by:
getActivationConfigValuein interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
putActivationConfigProperty
public void putActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)
-
removeActivationConfigProperty
public void removeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)
-
removeActivationConfigPropertyByName
public void removeActivationConfigPropertyByName(String name)
-
getRuntimeActivationConfigProperties
public Set<com.sun.enterprise.deployment.EnvironmentProperty> getRuntimeActivationConfigProperties()
- Specified by:
getRuntimeActivationConfigPropertiesin interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor- Returns:
- Set of EnvironmentProperty elements.
-
putRuntimeActivationConfigProperty
public void putRuntimeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)
- Specified by:
putRuntimeActivationConfigPropertyin interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
removeRuntimeActivationConfigProperty
public void removeRuntimeActivationConfigProperty(com.sun.enterprise.deployment.EnvironmentProperty prop)
-
removeRuntimeActivationConfigPropertyByName
public void removeRuntimeActivationConfigPropertyByName(String name)
-
hasQueueDest
public boolean hasQueueDest()
- Specified by:
hasQueueDestin interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
hasTopicDest
public boolean hasTopicDest()
-
hasDestinationType
public boolean hasDestinationType()
-
getDestinationType
public String getDestinationType()
- Specified by:
getDestinationTypein interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
setDestinationType
public void setDestinationType(String destType)
-
hasDurableSubscription
public boolean hasDurableSubscription()
-
setHasDurableSubscription
public void setHasDurableSubscription(boolean durable)
-
setHasQueueDest
public void setHasQueueDest()
-
setHasTopicDest
public void setHasTopicDest()
-
setSubscriptionDurability
public void setSubscriptionDurability(String subscription)
-
hasJmsMessageSelector
public boolean hasJmsMessageSelector()
-
setJmsMessageSelector
public void setJmsMessageSelector(String selector)
-
getJmsMessageSelector
public String getJmsMessageSelector()
-
getJmsAcknowledgeMode
public int getJmsAcknowledgeMode()
-
getJmsAcknowledgeModeAsString
public String getJmsAcknowledgeModeAsString()
-
setJmsAcknowledgeMode
public void setJmsAcknowledgeMode(int acknowledgeMode)
-
setJmsAcknowledgeMode
public void setJmsAcknowledgeMode(String acknowledgeMode)
-
getDurableSubscriptionName
public String getDurableSubscriptionName()
- Specified by:
getDurableSubscriptionNamein interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
setDurableSubscriptionName
public void setDurableSubscriptionName(String durableSubscriptionName)
-
getConnectionFactoryName
public String getConnectionFactoryName()
-
setConnectionFactoryName
public void setConnectionFactoryName(String connectionFactory)
Connection factory is optional. If set to null, hasConnectionFactory will return false.
-
hasConnectionFactory
public boolean hasConnectionFactory()
-
getResourceAdapterMid
public String getResourceAdapterMid()
- Specified by:
getResourceAdapterMidin interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
getMdbConnectionFactoryJndiName
public String getMdbConnectionFactoryJndiName()
- Specified by:
getMdbConnectionFactoryJndiNamein interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
setResourceAdapterMid
public void setResourceAdapterMid(String resourceAdapterMid)
resource-adapter-mid is optional. It is set when a resource adapter is responsible for delivering messages to the message-driven bean. If not set, hasResourceAdapterMid will return false.- Specified by:
setResourceAdapterMidin interfacecom.sun.enterprise.deployment.EjbMessageBeanDescriptor
-
hasResourceAdapterMid
public boolean hasResourceAdapterMid()
-
getMethods
public Vector getMethods(ClassLoader classLoader)
Description copied from class:EjbDescriptorReturn the ejb method objects, i.e. the methods on the home and remote interfaces.- Overrides:
getMethodsin classEjbDescriptor
-
getTransactionMethods
protected Collection getTransactionMethods(ClassLoader classLoader)
- Overrides:
getTransactionMethodsin classEjbDescriptor- Returns:
- a collection of MethodDescriptor for methods which may have a assigned security attribute.
-
getContainerFactoryQualifier
public String getContainerFactoryQualifier()
- Specified by:
getContainerFactoryQualifierin classEjbDescriptor
-
setTransactionType
public void setTransactionType(String transactionType)
Sets the transaction type for this bean. Must be either BEAN_TRANSACTION_TYPE or CONTAINER_TRANSACTION_TYPE.- Specified by:
setTransactionTypein classEjbDescriptor
-
setActivationConfigDescriptor
public void setActivationConfigDescriptor(ActivationConfigDescriptor desc)
-
getActivationConfigDescriptor
public ActivationConfigDescriptor getActivationConfigDescriptor()
-
setRuntimeActivationConfigDescriptor
public void setRuntimeActivationConfigDescriptor(ActivationConfigDescriptor desc)
-
getRuntimeActivationConfigDescriptor
public ActivationConfigDescriptor getRuntimeActivationConfigDescriptor()
-
print
public void print(StringBuffer toStringBuffer)
Appends a formatted String of the attributes of this object.- Overrides:
printin classEjbDescriptor
-
-