|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.metadata.MetaData org.jboss.metadata.BeanMetaData org.jboss.metadata.MessageDrivenMetaData
Provides a container and parser for the metadata of a message driven bean.
Have to add changes ApplicationMetaData and ConfigurationMetaData.
Field Summary | |
static int |
AUTO_ACKNOWLEDGE_MODE
|
static int |
CLIENT_ACKNOWLEDGE_MODE
|
static String |
DEFAULT_MESSAGE_DRIVEN_BEAN_INVOKER_PROXY_BINDING
|
static String |
DEFAULT_MESSAGING_TYPE
|
static int |
DUPS_OK_ACKNOWLEDGE_MODE
|
static byte |
DURABLE_SUBSCRIPTION
|
static byte |
NON_DURABLE_SUBSCRIPTION
|
static byte |
TX_UNSET
|
Fields inherited from class org.jboss.metadata.BeanMetaData |
beanType, callByValue, clustered, configurationName, containerManagedTx, ENTITY_TYPE, invokerBindings, LOCAL_INVOKER_PROXY_BINDING, MDB_TYPE, portComponent, serviceEndpointClass, 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 | |
MessageDrivenMetaData(ApplicationMetaData app)
|
Method Summary | |
void |
defaultInvokerBindings()
|
int |
getAcknowledgeMode()
Get the message acknowledgement mode. |
HashMap |
getActivationConfigProperties()
Get all the activation config properties |
ActivationConfigPropertyMetaData |
getActivationConfigProperty(String name)
Get a particular activation config property |
String |
getClientId()
|
String |
getDefaultConfigurationName()
|
String |
getDestinationJndiName()
|
String |
getDestinationLink()
|
String |
getDestinationType()
|
String |
getMessageSelector()
|
String |
getMessagingType()
|
byte |
getMethodTransactionType()
Check MDB methods TX type, is cached here |
byte |
getMethodTransactionType(String methodName,
Class[] signature)
Check MDB methods TX type, is cached here |
byte |
getMethodTransactionType(String methodName,
Class[] params,
InvocationType iface)
Overide here, since a message driven bean only ever have one method, which we might cache. |
String |
getPasswd()
|
String |
getResourceAdapterName()
Get the resource adapter name |
byte |
getSubscriptionDurability()
Get the subscription durability mode. |
String |
getSubscriptionId()
|
String |
getUser()
|
void |
importEjbJarXml(Element element)
Called to parse the ejb-jar.xml enterprise-beans child ejb elements |
void |
importJbossXml(Element element)
Called to parse the jboss.xml enterprise-beans child ejb elements |
boolean |
isJMSMessagingType()
|
Methods inherited from class org.jboss.metadata.MetaData |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int AUTO_ACKNOWLEDGE_MODE
public static final int DUPS_OK_ACKNOWLEDGE_MODE
public static final int CLIENT_ACKNOWLEDGE_MODE
public static final byte DURABLE_SUBSCRIPTION
public static final byte NON_DURABLE_SUBSCRIPTION
public static final byte TX_UNSET
public static final String DEFAULT_MESSAGE_DRIVEN_BEAN_INVOKER_PROXY_BINDING
public static final String DEFAULT_MESSAGING_TYPE
Constructor Detail |
public MessageDrivenMetaData(ApplicationMetaData app)
Method Detail |
public int getAcknowledgeMode()
public String getMessagingType()
public boolean isJMSMessagingType()
public String getDestinationType()
public String getDestinationLink()
public String getMessageSelector()
public String getDestinationJndiName()
public String getUser()
public String getPasswd()
public String getClientId()
public String getSubscriptionId()
public byte getMethodTransactionType()
public byte getMethodTransactionType(String methodName, Class[] signature)
public byte getMethodTransactionType(String methodName, Class[] params, InvocationType iface)
getMethodTransactionType
in class BeanMetaData
public byte getSubscriptionDurability()
public String getDefaultConfigurationName()
getDefaultConfigurationName
in class BeanMetaData
public HashMap getActivationConfigProperties()
public ActivationConfigPropertyMetaData getActivationConfigProperty(String name)
name
- the name of the property
public String getResourceAdapterName()
public void importEjbJarXml(Element element) throws org.jboss.deployment.DeploymentException
BeanMetaData
importEjbJarXml
in class BeanMetaData
element
- one of session/entity/message-driven
org.jboss.deployment.DeploymentException
public void importJbossXml(Element element) throws org.jboss.deployment.DeploymentException
BeanMetaData
importJbossXml
in class BeanMetaData
element
- one of session/entity/message-driven
org.jboss.deployment.DeploymentException
public void defaultInvokerBindings()
defaultInvokerBindings
in class BeanMetaData
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |