|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_ejb.deployment.api.BeanDesc | +--org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc
Class to hold meta-information related to a message driven bean
Field Summary | |
protected static java.lang.String[] |
ACKMODE
|
protected int |
acknowledgeMode
|
static int |
AUTO_ACKNOWLEDGE
|
static int |
DEFAULT_MAX_MESSAGES
|
protected java.lang.String |
destinationJndiName
|
protected java.lang.Class |
destinationType
|
static int |
DUPS_OK_ACKNOWLEDGE
|
protected boolean |
isTopicDestination
|
protected java.lang.String |
selector
|
protected static java.lang.String[] |
SUBS_DURABILITY
|
static int |
SUBS_DURABLE
|
static int |
SUBS_NON_DURABLE
|
protected int |
subscriptionDurability
|
protected int |
transactionType
|
protected int |
txAttribute
|
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
BEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, displayName, ejb10EnvProps, ejbClass, ejbLocalRefDesc, ejbName, ejbRefDesc, envEntryDesc, fullDerivedBeanName, home, jndiName, local, localhome, remote, resourceEnvRefDesc, resourceRefDesc, securityRoleRef, TRANS |
Method Summary | |
void |
check()
Check that the message diven bean descriptor is valid |
protected void |
checkTxAttribute(MethodDesc md)
check that trans-attribute is valid for bean |
int |
getAcknowledgeMode()
Get the acknowledge-mode of the message driven bean. |
java.lang.String |
getDestinationJndiName()
Get the the destination JNDI name of the message driven bean. |
java.lang.Class |
getDestinationType()
Get the the destination type of the message driven bean. |
int |
getMaxMessages()
|
java.lang.String |
getSelector()
Get the message-selector value of the message driven bean. |
int |
getSubscriptionDurability()
Get the the durability of the subscription of the message driven bean. |
int |
getTransactionType()
Get transaction management type of the message driven. |
int |
getTxAttribute()
Return the transaction attribute for the onMessage method of Message driven bean |
boolean |
hasSelector()
Assessor for existence of a message-selector for the message driven bean |
boolean |
isBeanManagedTransaction()
Return true if BEAN_TRANSACTION_TYPE |
boolean |
isRequired()
Return true if tx attribute for onMessage is Required |
boolean |
isSubscriptionDurable()
|
boolean |
isTopicDestination()
Return true if it is a Topic destination |
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int AUTO_ACKNOWLEDGE
public static final int DUPS_OK_ACKNOWLEDGE
protected static final java.lang.String[] ACKMODE
public static final int SUBS_DURABLE
public static final int SUBS_NON_DURABLE
protected static final java.lang.String[] SUBS_DURABILITY
public static final int DEFAULT_MAX_MESSAGES
protected int transactionType
protected java.lang.String selector
protected int acknowledgeMode
protected int subscriptionDurability
protected java.lang.Class destinationType
protected java.lang.String destinationJndiName
protected int txAttribute
protected boolean isTopicDestination
Method Detail |
public int getTransactionType()
public int getTxAttribute()
public boolean isBeanManagedTransaction()
public boolean hasSelector()
public java.lang.String getSelector()
public int getAcknowledgeMode()
public int getSubscriptionDurability()
public boolean isSubscriptionDurable()
public java.lang.Class getDestinationType()
public boolean isTopicDestination()
public boolean isRequired()
public java.lang.String getDestinationJndiName()
public int getMaxMessages()
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException
checkTxAttribute
in class BeanDesc
public void check() throws DeploymentDescException
check
in class BeanDesc
DeploymentDescException
- thrown for non-valid beanpublic java.lang.String toString()
toString
in class BeanDesc
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |