org.jboss.metadata.ejb.spec
Class MessageDrivenBeanMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
              extended by org.jboss.metadata.ejb.spec.EnterpriseBeanMetaData
                  extended by org.jboss.metadata.ejb.spec.MessageDrivenBeanMetaData
All Implemented Interfaces:
Serializable, Cloneable, IEnterpriseBeanMetaData<AssemblyDescriptorMetaData,EnterpriseBeansMetaData,EnterpriseBeanMetaData,EjbJarMetaData>, ITimeoutTarget, Environment, RemoteEnvironment, IdMetaData, MappableMetaData

public class MessageDrivenBeanMetaData
extends EnterpriseBeanMetaData
implements ITimeoutTarget

MessageDrivenBeanMetaData.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
MessageDrivenBeanMetaData()
          Create a new MessageDrivenBeanMetaData.
 
Method Summary
 String getAcknowledgeMode()
          Get the acknowledgeMode.
 ActivationConfigMetaData getActivationConfig()
          Get the activationConfig.
 AroundInvokesMetaData getAroundInvokes()
          Get the aroundInvokes.
 String getMessageDestinationLink()
          Get the messageDestinationLink.
 String getMessageDestinationType()
          Get the messageDestinationType.
 String getMessageSelector()
          Get the messageSelector.
 String getMessagingType()
          Get the messagingType.
 SubscriptionDurability getSubscriptionDurability()
          Get the subscriptionDurability.
 NamedMethodMetaData getTimeoutMethod()
          Get the timeoutMethod.
 javax.ejb.TransactionManagementType getTransactionType()
          Get the transactionType.
 boolean isJMS()
          Is this JMS
 boolean isMessageDriven()
          Whether this is a message driven bean
 void merge(EnterpriseBeanMetaData override, EnterpriseBeanMetaData original)
          Merge two EnterpriseBeanMetaDatas
 void merge(MessageDrivenBeanMetaData override, MessageDrivenBeanMetaData original)
           
 void setAcknowledgeMode(String acknowledgeMode)
          Set the acknowledgeMode.
 void setActivationConfig(ActivationConfigMetaData activationConfig)
          Set the activationConfig.
 void setAroundInvokes(AroundInvokesMetaData aroundInvokes)
          Set the aroundInvokes.
 void setMessageDestinationLink(String messageDestinationLink)
          Set the messageDestinationLink.
 void setMessageDestinationType(String messageDestinationType)
          Set the messageDestinationType.
 void setMessageDrivenDestination(MessageDrivenDestinationMetaData mdd)
           
 void setMessageSelector(String messageSelector)
          Set the messageSelector.
 void setMessagingType(String messagingType)
          Set the messagingType.
 void setSubscriptionDurability(SubscriptionDurability subscriptionDurability)
          Set the subscriptionDurability.
 void setTimeoutMethod(NamedMethodMetaData timeoutMethod)
          Set the timeoutMethod.
 void setTransactionType(javax.ejb.TransactionManagementType transactionType)
          Set the transactionType.
 
Methods inherited from class org.jboss.metadata.ejb.spec.EnterpriseBeanMetaData
getAnnotatedEjbReferences, getAssemblyDescriptor, getContainerTransactions, getEjbClass, getEjbJarMetaData, getEjbLocalReferenceByName, getEjbLocalReferences, getEjbName, getEjbReferenceByName, getEjbReferences, getEnterpriseBeansMetaData, getEnvironmentEntries, getEnvironmentEntryByName, getExcludeList, getJndiEnvironmentRefsGroup, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferences, getMethodPermissions, getMethodTransactionType, getMethodTransactionType, getPersistenceContextReferenceByName, getPersistenceContextRefs, getPersistenceUnitReferenceByName, getPersistenceUnitRefs, getPostConstructs, getPreDestroys, getResourceEnvironmentReferenceByName, getResourceEnvironmentReferences, getResourceReferenceByName, getResourceReferences, getSecurityIdentity, getServiceReferenceByName, getServiceReferences, isBMT, isCMT, isEntity, isSession, newBean, setEjbClass, setEjbName, setEnterpriseBeansMetaData, setEnvironmentRefsGroup, setJndiEnvironmentRefsGroup, setMappedName, setSecurityIdentity
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
getDescriptionGroup, merge, setDescriptionGroup
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.metadata.common.ejb.IEnterpriseBeanMetaData
getDescriptionGroup, getId, setDescriptionGroup
 
Methods inherited from interface org.jboss.metadata.javaee.support.MappableMetaData
getKey
 

Constructor Detail

MessageDrivenBeanMetaData

public MessageDrivenBeanMetaData()
Create a new MessageDrivenBeanMetaData.

Method Detail

isMessageDriven

public boolean isMessageDriven()
Description copied from class: EnterpriseBeanMetaData
Whether this is a message driven bean

Specified by:
isMessageDriven in interface IEnterpriseBeanMetaData<AssemblyDescriptorMetaData,EnterpriseBeansMetaData,EnterpriseBeanMetaData,EjbJarMetaData>
Overrides:
isMessageDriven in class EnterpriseBeanMetaData
Returns:
true when a message driven bean

getMessagingType

public String getMessagingType()
Get the messagingType.

Returns:
the messagingType.

isJMS

public boolean isJMS()
Is this JMS

Returns:
true for jms

setMessagingType

public void setMessagingType(String messagingType)
Set the messagingType.

Parameters:
messagingType - the messagingType.
Throws:
IllegalArgumentException - for a null messagingType

getTimeoutMethod

public NamedMethodMetaData getTimeoutMethod()
Get the timeoutMethod.

Specified by:
getTimeoutMethod in interface ITimeoutTarget
Returns:
the timeoutMethod.

setTimeoutMethod

public void setTimeoutMethod(NamedMethodMetaData timeoutMethod)
Set the timeoutMethod.

Specified by:
setTimeoutMethod in interface ITimeoutTarget
Parameters:
timeoutMethod - the timeoutMethod.
Throws:
IllegalArgumentException - for a null timeoutMethod

getTransactionType

public javax.ejb.TransactionManagementType getTransactionType()
Description copied from class: EnterpriseBeanMetaData
Get the transactionType.

Specified by:
getTransactionType in interface IEnterpriseBeanMetaData<AssemblyDescriptorMetaData,EnterpriseBeansMetaData,EnterpriseBeanMetaData,EjbJarMetaData>
Overrides:
getTransactionType in class EnterpriseBeanMetaData
Returns:
the transactionType.

setTransactionType

public void setTransactionType(javax.ejb.TransactionManagementType transactionType)
Set the transactionType.

Parameters:
transactionType - the transactionType.
Throws:
IllegalArgumentException - for a null transactionType

getMessageDestinationType

public String getMessageDestinationType()
Get the messageDestinationType.

Returns:
the messageDestinationType.

setMessageDestinationType

public void setMessageDestinationType(String messageDestinationType)
Set the messageDestinationType.

Parameters:
messageDestinationType - the messageDestinationType.
Throws:
IllegalArgumentException - for a null messageDestinationType

getAroundInvokes

public AroundInvokesMetaData getAroundInvokes()
Get the aroundInvokes.

Returns:
the aroundInvokes.

setAroundInvokes

public void setAroundInvokes(AroundInvokesMetaData aroundInvokes)
Set the aroundInvokes.

Parameters:
aroundInvokes - the aroundInvokes.
Throws:
IllegalArgumentException - for a null aroundInvokes

getMessageDestinationLink

public String getMessageDestinationLink()
Get the messageDestinationLink.

Returns:
the messageDestinationLink.

setMessageDestinationLink

public void setMessageDestinationLink(String messageDestinationLink)
Set the messageDestinationLink.

Parameters:
messageDestinationLink - the messageDestinationLink.
Throws:
IllegalArgumentException - for a null messageDestinationLink

getActivationConfig

public ActivationConfigMetaData getActivationConfig()
Get the activationConfig.

Returns:
the activationConfig.

setActivationConfig

public void setActivationConfig(ActivationConfigMetaData activationConfig)
Set the activationConfig.

Parameters:
activationConfig - the activationConfig.
Throws:
IllegalArgumentException - for a null activationConfig

getMessageSelector

public String getMessageSelector()
Get the messageSelector.

Returns:
the messageSelector.

setMessageSelector

public void setMessageSelector(String messageSelector)
Set the messageSelector.

Parameters:
messageSelector - the messageSelector.
Throws:
IllegalArgumentException - for a null messageSelector

getAcknowledgeMode

public String getAcknowledgeMode()
Get the acknowledgeMode.

Returns:
the acknowledgeMode.

setAcknowledgeMode

public void setAcknowledgeMode(String acknowledgeMode)
Set the acknowledgeMode.

Parameters:
acknowledgeMode - the acknowledgeMode.
Throws:
IllegalArgumentException - for a null acknowledgeMode

getSubscriptionDurability

public SubscriptionDurability getSubscriptionDurability()
Get the subscriptionDurability.

Returns:
the subscriptionDurability.

setSubscriptionDurability

public void setSubscriptionDurability(SubscriptionDurability subscriptionDurability)
Set the subscriptionDurability.

Parameters:
subscriptionDurability - the subscriptionDurability.
Throws:
IllegalArgumentException - for a null subscriptionDurability

setMessageDrivenDestination

public void setMessageDrivenDestination(MessageDrivenDestinationMetaData mdd)

merge

public void merge(EnterpriseBeanMetaData override,
                  EnterpriseBeanMetaData original)
Description copied from class: EnterpriseBeanMetaData
Merge two EnterpriseBeanMetaDatas

Overrides:
merge in class EnterpriseBeanMetaData

merge

public void merge(MessageDrivenBeanMetaData override,
                  MessageDrivenBeanMetaData original)


Copyright © 2009 JBoss Inc.. All Rights Reserved.