|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.EjbAbstractDescriptor
com.sun.enterprise.deployment.EjbDescriptor
com.sun.enterprise.deployment.EjbMessageBeanDescriptor
public final class EjbMessageBeanDescriptor
Objects of this kind represent the deployment information describing a single message driven Ejb.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE
The Session type String. |
| Fields inherited from class com.sun.enterprise.deployment.EjbDescriptor |
|---|
BEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE, DISTRIBUTED_TRANSACTION_SCOPE, isDistributedTxScope, LOCAL_TRANSACTION_SCOPE, runAsIdentity, securityIdentityDescription, transactionType, usesCallerIdentity, usesDefaultTransaction |
| Fields inherited from class com.sun.enterprise.deployment.Descriptor |
|---|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED |
| Constructor Summary | |
|---|---|
EjbMessageBeanDescriptor()
Default constructor. |
|
EjbMessageBeanDescriptor(EjbMessageBeanDescriptor other)
The copy constructor. |
|
| Method Summary | |
|---|---|
ActivationConfigDescriptor |
getActivationConfigDescriptor()
|
java.util.Set |
getActivationConfigProperties()
|
java.lang.String |
getActivationConfigValue(java.lang.String name)
|
java.lang.String |
getConnectionFactoryName()
|
java.lang.String |
getDestinationType()
|
java.lang.String |
getDurableSubscriptionName()
|
int |
getJmsAcknowledgeMode()
|
java.lang.String |
getJmsAcknowledgeModeAsString()
|
java.lang.String |
getJmsMessageSelector()
|
EjbMessageBeanDescriptor |
getMessageBeanOwner()
Get the descriptor for the message-driven bean owner. |
MessageDestinationDescriptor |
getMessageDestination()
|
java.lang.String |
getMessageDestinationLinkName()
Gets the link name of the reference. |
MessageDestinationReferenceDescriptor |
getMessageDestinationRefOwner()
Get the descriptor for the message destination reference owner. |
java.lang.reflect.Method[] |
getMessageListenerInterfaceMethods(java.lang.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. |
java.lang.String |
getMessageListenerType()
|
java.util.Vector |
getMethods(java.lang.ClassLoader classLoader)
Return the ejb method objects, i.e. |
java.util.Vector |
getPossibleTransactionAttributes()
Returns the set of transaction attributes that can be assigned to methods of this ejb when in CMT mode. |
java.lang.String |
getResourceAdapterMid()
|
ActivationConfigDescriptor |
getRuntimeActivationConfigDescriptor()
|
java.util.Set |
getRuntimeActivationConfigProperties()
|
java.lang.String |
getRuntimeActivationConfigValue(java.lang.String name)
|
java.util.Set |
getSecurityBusinessMethodDescriptors()
Returns the full set of security business method descriptors I have. |
protected java.util.Collection |
getTransactionMethods(java.lang.ClassLoader classLoader)
|
java.util.Set |
getTxBusinessMethodDescriptors()
Returns the full set of transactional business method descriptors I have. |
java.lang.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()
True if the owner is a message destination reference. |
void |
print(java.lang.StringBuffer toStringBuffer)
Returns a formatted String of the attributes of this object. |
void |
putActivationConfigProperty(EnvironmentProperty prop)
|
void |
putRuntimeActivationConfigProperty(EnvironmentProperty prop)
|
void |
removeActivationConfigProperty(EnvironmentProperty prop)
|
void |
removeActivationConfigPropertyByName(java.lang.String name)
|
void |
removeRuntimeActivationConfigProperty(EnvironmentProperty prop)
|
void |
removeRuntimeActivationConfigPropertyByName(java.lang.String name)
|
MessageDestinationDescriptor |
resolveLinkName()
Try to resolve the current link name value to a MessageDestination object. |
void |
setActivationConfigDescriptor(ActivationConfigDescriptor desc)
|
void |
setConnectionFactoryName(java.lang.String connectionFactory)
Connection factory is optional. |
void |
setContainerTransactionFor(MethodDescriptor methodDescriptor,
ContainerTransaction containerTransaction)
Sets the container transaction for the given method descriptor. |
void |
setDestinationType(java.lang.String destType)
|
void |
setDurableSubscriptionName(java.lang.String durableSubscriptionName)
|
void |
setHasDurableSubscription(boolean durable)
|
void |
setHasQueueDest()
|
void |
setHasTopicDest()
|
void |
setJmsAcknowledgeMode(int acknowledgeMode)
|
void |
setJmsAcknowledgeMode(java.lang.String acknowledgeMode)
|
void |
setJmsMessageSelector(java.lang.String selector)
|
void |
setMessageDestination(MessageDestinationDescriptor newMsgDest)
|
void |
setMessageDestinationLinkName(java.lang.String linkName)
Sets the name of the message destination to which I refer. |
MessageDestinationDescriptor |
setMessageDestinationLinkName(java.lang.String linkName,
boolean resolveLink)
Sets the name of the message destination to which I refer. |
void |
setMessageListenerType(java.lang.String messagingType)
|
void |
setResourceAdapterMid(java.lang.String resourceAdapterMid)
resource-adapter-mid is optional. |
void |
setRuntimeActivationConfigDescriptor(ActivationConfigDescriptor desc)
|
void |
setSubscriptionDurability(java.lang.String subscription)
|
void |
setTransactionType(java.lang.String transactionType)
Sets the transaction type for this bean. |
void |
setType(java.lang.String type)
Sets my type |
| Methods inherited from class com.sun.enterprise.deployment.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.NamedDescriptor |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String TYPE
| Constructor Detail |
|---|
public EjbMessageBeanDescriptor()
public EjbMessageBeanDescriptor(EjbMessageBeanDescriptor other)
| Method Detail |
|---|
public java.lang.String getType()
getType in class EjbAbstractDescriptor
public void setContainerTransactionFor(MethodDescriptor methodDescriptor,
ContainerTransaction containerTransaction)
EjbDescriptor
setContainerTransactionFor in class EjbDescriptorpublic void setType(java.lang.String type)
setType in class EjbAbstractDescriptorpublic void setMessageListenerType(java.lang.String messagingType)
public java.lang.String getMessageListenerType()
public java.util.Set getTxBusinessMethodDescriptors()
EjbDescriptor
getTxBusinessMethodDescriptors in class EjbDescriptorpublic java.util.Set getSecurityBusinessMethodDescriptors()
EjbDescriptor
getSecurityBusinessMethodDescriptors in class EjbDescriptor
public java.lang.reflect.Method[] getMessageListenerInterfaceMethods(java.lang.ClassLoader classLoader)
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic java.util.Vector getPossibleTransactionAttributes()
EjbDescriptor
getPossibleTransactionAttributes in class EjbDescriptorpublic boolean hasMessageDestinationLinkName()
public boolean isLinkedToMessageDestination()
isLinkedToMessageDestination in interface MessageDestinationReferencerpublic java.lang.String getMessageDestinationLinkName()
MessageDestinationReferencer
getMessageDestinationLinkName in interface MessageDestinationReferencerpublic void setMessageDestinationLinkName(java.lang.String linkName)
setMessageDestinationLinkName in interface MessageDestinationReferencer
public MessageDestinationDescriptor setMessageDestinationLinkName(java.lang.String linkName,
boolean resolveLink)
MessageDestinationReferencer
setMessageDestinationLinkName in interface MessageDestinationReferencerresolveLink - if true, *try* to resolve link to the target message
destination.
public MessageDestinationDescriptor resolveLinkName()
MessageDestinationReferencer
resolveLinkName in interface MessageDestinationReferencerpublic boolean ownedByMessageDestinationRef()
MessageDestinationReferencer
ownedByMessageDestinationRef in interface MessageDestinationReferencerpublic MessageDestinationReferenceDescriptor getMessageDestinationRefOwner()
MessageDestinationReferencer
getMessageDestinationRefOwner in interface MessageDestinationReferencerpublic boolean ownedByMessageBean()
ownedByMessageBean in interface MessageDestinationReferencerpublic EjbMessageBeanDescriptor getMessageBeanOwner()
getMessageBeanOwner in interface MessageDestinationReferencerpublic MessageDestinationDescriptor getMessageDestination()
getMessageDestination in interface MessageDestinationReferencerpublic void setMessageDestination(MessageDestinationDescriptor newMsgDest)
setMessageDestination in interface MessageDestinationReferencernewMsgDest - the message destination to which I refer.public java.util.Set getActivationConfigProperties()
public java.lang.String getActivationConfigValue(java.lang.String name)
public void putActivationConfigProperty(EnvironmentProperty prop)
public void removeActivationConfigProperty(EnvironmentProperty prop)
public void removeActivationConfigPropertyByName(java.lang.String name)
public java.util.Set getRuntimeActivationConfigProperties()
public java.lang.String getRuntimeActivationConfigValue(java.lang.String name)
public void putRuntimeActivationConfigProperty(EnvironmentProperty prop)
public void removeRuntimeActivationConfigProperty(EnvironmentProperty prop)
public void removeRuntimeActivationConfigPropertyByName(java.lang.String name)
public boolean hasQueueDest()
public boolean hasTopicDest()
public boolean hasDestinationType()
public java.lang.String getDestinationType()
public void setDestinationType(java.lang.String destType)
public boolean hasDurableSubscription()
public void setHasDurableSubscription(boolean durable)
public void setHasQueueDest()
public void setHasTopicDest()
public void setSubscriptionDurability(java.lang.String subscription)
public boolean hasJmsMessageSelector()
public void setJmsMessageSelector(java.lang.String selector)
public java.lang.String getJmsMessageSelector()
public int getJmsAcknowledgeMode()
public java.lang.String getJmsAcknowledgeModeAsString()
public void setJmsAcknowledgeMode(int acknowledgeMode)
public void setJmsAcknowledgeMode(java.lang.String acknowledgeMode)
public java.lang.String getDurableSubscriptionName()
public void setDurableSubscriptionName(java.lang.String durableSubscriptionName)
public java.lang.String getConnectionFactoryName()
public void setConnectionFactoryName(java.lang.String connectionFactory)
public boolean hasConnectionFactory()
public java.lang.String getResourceAdapterMid()
public void setResourceAdapterMid(java.lang.String resourceAdapterMid)
public boolean hasResourceAdapterMid()
public java.util.Vector getMethods(java.lang.ClassLoader classLoader)
EjbDescriptor
getMethods in class EjbDescriptorprotected java.util.Collection getTransactionMethods(java.lang.ClassLoader classLoader)
getTransactionMethods in class EjbDescriptorpublic void setTransactionType(java.lang.String transactionType)
setTransactionType in class EjbDescriptorpublic void setActivationConfigDescriptor(ActivationConfigDescriptor desc)
public ActivationConfigDescriptor getActivationConfigDescriptor()
public void setRuntimeActivationConfigDescriptor(ActivationConfigDescriptor desc)
public ActivationConfigDescriptor getRuntimeActivationConfigDescriptor()
public void print(java.lang.StringBuffer toStringBuffer)
print in class EjbDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||