org.jboss.metadata
Class MessageDrivenMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.OldMetaData<JBossEnterpriseBeanMetaData>
          extended by org.jboss.metadata.BeanMetaData
              extended by org.jboss.metadata.MessageDrivenMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

Deprecated.

@Deprecated
public class MessageDrivenMetaData
extends BeanMetaData

Provides a container and parser for the metadata of a message driven bean.

Have to add changes ApplicationMetaData and ConfigurationMetaData.

Version:
$Revision: 37459 $
Author:
Sebastien Alborini, Peter Antman, Andreas Schaefer, Adrian Brock

Field Summary
static int AUTO_ACKNOWLEDGE_MODE
          Deprecated. Auto Acknowledge
static int CLIENT_ACKNOWLEDGE_MODE
          Deprecated. Client Acknowledge
static String DEFAULT_MESSAGE_DRIVEN_BEAN_INVOKER_PROXY_BINDING
          Deprecated. The default message driven invoker
static String DEFAULT_MESSAGING_TYPE
          Deprecated. The default listener type
static int DUPS_OK_ACKNOWLEDGE_MODE
          Deprecated. DUPS_OK
static byte DURABLE_SUBSCRIPTION
          Deprecated. Durable subscription
static byte NON_DURABLE_SUBSCRIPTION
          Deprecated. NonDurable subscription
static byte TX_UNSET
          Deprecated. Transaction unset
 
Fields inherited from class org.jboss.metadata.BeanMetaData
ENTITY_TYPE, LOCAL_INVOKER_PROXY_BINDING, MDB_TYPE, SESSION_TYPE
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
protected MessageDrivenMetaData(ApplicationMetaData app, JBossEnterpriseBeanMetaData delegate)
          Deprecated. Create a new MessageDrivenBeanMetaData.
protected MessageDrivenMetaData(org.jboss.metadata.spi.MetaData metaData)
          Deprecated. Create a new MessageDrivenMetaData.
 
Method Summary
 int getAcknowledgeMode()
          Deprecated. Get the message acknowledgement mode.
 HashMap<String,ActivationConfigPropertyMetaData> getActivationConfigProperties()
          Deprecated. Get all the activation config properties
 ActivationConfigPropertyMetaData getActivationConfigProperty(String name)
          Deprecated. Get a particular activation config property
 String getClientId()
          Deprecated. Get the client id
 ClusterConfigMetaData getClusterConfigMetaData()
          Deprecated. Get the cluster config
 JBossMessageDrivenBeanMetaData getDelegate()
          Deprecated. Get the delegate.
 String getDestinationJndiName()
          Deprecated. Get the destination jndi name
 String getDestinationLink()
          Deprecated. Get the destination link
 String getDestinationType()
          Deprecated. Get the destination type
 SecurityIdentityMetaData getEjbTimeoutIdentity()
          Deprecated. Get the ejb timeout identity
 String getHome()
          Deprecated. Get the home class name
 String getJndiName()
          Deprecated. Get the jndi name
 String getLocal()
          Deprecated. Get the local class name
 String getLocalHome()
          Deprecated. Get the local home class name
 String getMessageSelector()
          Deprecated. Get the message selector
 String getMessagingType()
          Deprecated. Get the messaging type
 byte getMethodTransactionType()
          Deprecated. Check MDB methods TX type, is cached here
 byte getMethodTransactionType(String methodName, Class[] signature)
          Deprecated. Check MDB methods TX type, is cached here
 byte getMethodTransactionType(String methodName, Class[] params, InvocationType iface)
          Deprecated. Get the method transaction type
 String getPasswd()
          Deprecated. Get the password
 String getRemote()
          Deprecated. Get the remote class name
 String getResourceAdapterName()
          Deprecated. Get the resource adapter name
 Iterator<SecurityRoleRefMetaData> getSecurityRoleReferences()
          Deprecated. Get the security role references
 String getServiceEndpoint()
          Deprecated. Get the service endpoint
 byte getSubscriptionDurability()
          Deprecated. Get the subscription durability mode.
 String getSubscriptionId()
          Deprecated. Get the subscription id
 String getUser()
          Deprecated. Get the user
 boolean isCallByValue()
          Deprecated. Get the callByValue.
 boolean isClustered()
          Deprecated. Get whether it is clustered.
 boolean isJMSMessagingType()
          Deprecated. Is this JMS
 
Methods inherited from class org.jboss.metadata.BeanMetaData
addExcludedMethod, addPermissionMethod, addTransactionMethod, create, getApplicationMetaData, getConfigurationName, getContainerConfiguration, getContainerObjectNameJndiName, getDefaultConfigurationName, getDepends, getEjbClass, getEjbLocalRefByName, getEjbLocalReferences, getEjbName, getEjbRefByName, getEjbReferences, getEnvironmentEntries, getExceptionRollback, getExcludedMethods, getInvokerBinding, getInvokerBindings, getIorSecurityConfigMetaData, getLocalJndiName, getMessageDestinationReferences, getMethodPermissions, getPermissionMethods, getPortComponent, getResourceEnvReferences, getResourceReferences, getSecurityIdentityMetaData, getSecurityProxy, getServiceReferences, getTimerPersistence, getTransactionMethod, getTransactionMethods, getTransactionTimeout, getTransactionTimeout, hasMethodPermission, isBeanManagedTx, isContainerManagedTx, isEntity, isExcludeMissingMethods, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isSession
 
Methods inherited from class org.jboss.metadata.OldMetaData
equals, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTO_ACKNOWLEDGE_MODE

public static final int AUTO_ACKNOWLEDGE_MODE
Deprecated. 
Auto Acknowledge

See Also:
Constant Field Values

DUPS_OK_ACKNOWLEDGE_MODE

public static final int DUPS_OK_ACKNOWLEDGE_MODE
Deprecated. 
DUPS_OK

See Also:
Constant Field Values

CLIENT_ACKNOWLEDGE_MODE

public static final int CLIENT_ACKNOWLEDGE_MODE
Deprecated. 
Client Acknowledge

See Also:
Constant Field Values

DURABLE_SUBSCRIPTION

public static final byte DURABLE_SUBSCRIPTION
Deprecated. 
Durable subscription

See Also:
Constant Field Values

NON_DURABLE_SUBSCRIPTION

public static final byte NON_DURABLE_SUBSCRIPTION
Deprecated. 
NonDurable subscription

See Also:
Constant Field Values

TX_UNSET

public static final byte TX_UNSET
Deprecated. 
Transaction unset

See Also:
Constant Field Values

DEFAULT_MESSAGE_DRIVEN_BEAN_INVOKER_PROXY_BINDING

public static final String DEFAULT_MESSAGE_DRIVEN_BEAN_INVOKER_PROXY_BINDING
Deprecated. 
The default message driven invoker

See Also:
Constant Field Values

DEFAULT_MESSAGING_TYPE

public static final String DEFAULT_MESSAGING_TYPE
Deprecated. 
The default listener type

See Also:
Constant Field Values
Constructor Detail

MessageDrivenMetaData

protected MessageDrivenMetaData(ApplicationMetaData app,
                                JBossEnterpriseBeanMetaData delegate)
Deprecated. 
Create a new MessageDrivenBeanMetaData.

Parameters:
delegate - the delegate
Throws:
IllegalArgumentException - for a null delegate

MessageDrivenMetaData

protected MessageDrivenMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. 
Create a new MessageDrivenMetaData.

Parameters:
metaData - the delegate metadata
Throws:
IllegalArgumentException - for a null metaData
IllegalStateException - if the metadata doesn't have an EnterpriseBeanMetaData
Method Detail

getDelegate

public JBossMessageDrivenBeanMetaData getDelegate()
Deprecated. 
Description copied from class: OldMetaData
Get the delegate.

Overrides:
getDelegate in class OldMetaData<JBossEnterpriseBeanMetaData>
Returns:
the delegate.

getHome

public String getHome()
Deprecated. 
Description copied from class: BeanMetaData
Get the home class name

Specified by:
getHome in class BeanMetaData
Returns:
the home class name

getLocal

public String getLocal()
Deprecated. 
Description copied from class: BeanMetaData
Get the local class name

Specified by:
getLocal in class BeanMetaData
Returns:
the local class name

getLocalHome

public String getLocalHome()
Deprecated. 
Description copied from class: BeanMetaData
Get the local home class name

Specified by:
getLocalHome in class BeanMetaData
Returns:
the local home class name

getRemote

public String getRemote()
Deprecated. 
Description copied from class: BeanMetaData
Get the remote class name

Specified by:
getRemote in class BeanMetaData
Returns:
the remote class name

getServiceEndpoint

public String getServiceEndpoint()
Deprecated. 
Description copied from class: BeanMetaData
Get the service endpoint

Specified by:
getServiceEndpoint in class BeanMetaData
Returns:
the service endpoint

getMessagingType

public String getMessagingType()
Deprecated. 
Get the messaging type

Returns:
the message type

isJMSMessagingType

public boolean isJMSMessagingType()
Deprecated. 
Is this JMS

Returns:
true for jms

getDestinationType

public String getDestinationType()
Deprecated. 
Get the destination type

Returns:
the destination type

getDestinationLink

public String getDestinationLink()
Deprecated. 
Get the destination link

Returns:
the destination link

getActivationConfigProperties

public HashMap<String,ActivationConfigPropertyMetaData> getActivationConfigProperties()
Deprecated. 
Get all the activation config properties

Returns:
a collection of ActivationConfigPropertyMetaData elements

getActivationConfigProperty

public ActivationConfigPropertyMetaData getActivationConfigProperty(String name)
Deprecated. 
Get a particular activation config property

Parameters:
name - the name of the property
Returns:
the ActivationConfigPropertyMetaData or null if not found

getMethodTransactionType

public byte getMethodTransactionType()
Deprecated. 
Check MDB methods TX type, is cached here

Returns:
the transaction type

getMethodTransactionType

public byte getMethodTransactionType(String methodName,
                                     Class[] signature)
Deprecated. 
Check MDB methods TX type, is cached here

Parameters:
methodName - the method name
signature - the signature
Returns:
the transaction type

getMethodTransactionType

public byte getMethodTransactionType(String methodName,
                                     Class[] params,
                                     InvocationType iface)
Deprecated. 
Description copied from class: BeanMetaData
Get the method transaction type

Overrides:
getMethodTransactionType in class BeanMetaData
Parameters:
methodName - the method name
params - the parameters
iface - the interface type
Returns:
the method transaction type

getAcknowledgeMode

public int getAcknowledgeMode()
Deprecated. 
Get the message acknowledgement mode.

Returns:
MessageDrivenMetaData.AUTO_ACKNOWLADGE_MODE or MessageDrivenMetaData.DUPS_OK_AKNOWLEDGE_MODE or MessageDrivenMetaData.CLIENT_ACKNOWLEDGE_MODE

getMessageSelector

public String getMessageSelector()
Deprecated. 
Get the message selector

Returns:
the selector

getDestinationJndiName

public String getDestinationJndiName()
Deprecated. 
Get the destination jndi name

Returns:
the jndi name

getUser

public String getUser()
Deprecated. 
Get the user

Returns:
the user

getPasswd

public String getPasswd()
Deprecated. 
Get the password

Returns:
the password

getClientId

public String getClientId()
Deprecated. 
Get the client id

Returns:
the client id

getSubscriptionId

public String getSubscriptionId()
Deprecated. 
Get the subscription id

Returns:
the subscription id

getSubscriptionDurability

public byte getSubscriptionDurability()
Deprecated. 
Get the subscription durability mode.

Returns:
MessageDrivenMetaData.DURABLE_SUBSCRIPTION or MessageDrivenMetaData.NON_DURABLE_SUBSCRIPTION

getResourceAdapterName

public String getResourceAdapterName()
Deprecated. 
Get the resource adapter name

Returns:
the resource adapter name or null if none specified

getJndiName

public String getJndiName()
Deprecated. 
Description copied from class: BeanMetaData
Get the jndi name

Specified by:
getJndiName in class BeanMetaData
Returns:
the jndi name

isCallByValue

public boolean isCallByValue()
Deprecated. 
Description copied from class: BeanMetaData
Get the callByValue.

Specified by:
isCallByValue in class BeanMetaData
Returns:
the callByValue.

isClustered

public boolean isClustered()
Deprecated. 
Description copied from class: BeanMetaData
Get whether it is clustered.

Specified by:
isClustered in class BeanMetaData
Returns:
true if clustered.

getSecurityRoleReferences

public Iterator<SecurityRoleRefMetaData> getSecurityRoleReferences()
Deprecated. 
Description copied from class: BeanMetaData
Get the security role references

Specified by:
getSecurityRoleReferences in class BeanMetaData
Returns:
the security role references

getClusterConfigMetaData

public ClusterConfigMetaData getClusterConfigMetaData()
Deprecated. 
Description copied from class: BeanMetaData
Get the cluster config

Specified by:
getClusterConfigMetaData in class BeanMetaData
Returns:
the cluster config

getEjbTimeoutIdentity

public SecurityIdentityMetaData getEjbTimeoutIdentity()
Deprecated. 
Description copied from class: BeanMetaData
Get the ejb timeout identity

Specified by:
getEjbTimeoutIdentity in class BeanMetaData
Returns:
the ejb timeout identity


Copyright © 2009 JBoss Inc.. All Rights Reserved.