|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.DescriptionGroupDesc org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc org.ow2.jonas.deployment.ejb.BeanDesc org.ow2.jonas.deployment.ejb.MessageDrivenDesc
public class MessageDrivenDesc
Class to hold meta-information related to a message driven bean
Field Summary | |
---|---|
protected static String[] |
ACKMODE
|
protected int |
acknowledgeMode
|
static int |
AUTO_ACKNOWLEDGE
|
static int |
DEFAULT_MAX_MESSAGES
|
protected String |
destination
|
protected String |
destinationJndiName
|
protected String |
destinationLink
|
protected Class |
destinationType
|
static int |
DUPS_OK_ACKNOWLEDGE
|
protected boolean |
isTopicDestination
|
protected ActivationConfigDesc |
mdActivationConfigDesc
|
protected ActivationConfigDesc |
mdJonasActivationConfigDesc
|
protected String |
selector
|
protected static 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.ow2.jonas.deployment.ejb.BeanDesc |
---|
BEAN_TRANSACTION_TYPE, beanIdentification, cacheMax, clusterReplicated, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, ejb10EnvProps, ejbClass, ejbName, ejbTimeoutSignature, fullDerivedBeanName, GENERATED_PREFIX, home, jndiLocalName, jndiName, local, localhome, poolMin, remote, securityRoleRefDescList, timerTxAttribute, TRANS |
Fields inherited from class org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc |
---|
logger |
Fields inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc |
---|
description, displayName, largeIcon, smallIcon |
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. |
String |
getDestination()
Get the the destination name of the message driven bean. |
String |
getDestinationJndiName()
Get the the destination JNDI name of the message driven bean. |
String |
getDestinationLink()
Get the the destination link name of the message driven bean. |
Class |
getDestinationType()
Get the the destination type of the message driven bean. |
ActivationConfigDesc |
getJonasMdActivationConfigDesc()
|
int |
getMaxMessages()
|
ActivationConfigDesc |
getMdActivationConfigDesc()
|
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()
|
boolean |
isRequired()
Return true if tx attribute for onMessage is Required |
boolean |
isSubscriptionDurable()
|
boolean |
isTopicDestination()
Return true if it is a Topic destination |
String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc |
---|
getEjbLocalRefDesc, getEjbRefDesc, getENCBindingHolder, getEnvEntryDesc, getMessageDestinationRefDesc, getPersistenceUnitRefs, getResourceEnvRefDesc, getResourceRefDesc, getServiceRefDesc, setENCBindingHolder |
Methods inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc |
---|
getDescription, getDisplayName, getLargeIcon, getSAXMsg, getSmallIcon |
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 String[] ACKMODE
public static final int SUBS_DURABLE
public static final int SUBS_NON_DURABLE
protected static final String[] SUBS_DURABILITY
public static final int DEFAULT_MAX_MESSAGES
protected String selector
protected int acknowledgeMode
protected int subscriptionDurability
protected Class destinationType
protected int txAttribute
protected boolean isTopicDestination
protected int transactionType
protected String destinationJndiName
protected String destinationLink
protected String destination
protected ActivationConfigDesc mdActivationConfigDesc
protected ActivationConfigDesc mdJonasActivationConfigDesc
Method Detail |
---|
public int getTransactionType()
public int getTxAttribute()
public boolean isBeanManagedTransaction()
public String getDestination()
public String getDestinationJndiName()
public String getDestinationLink()
public Class getDestinationType()
public boolean isTopicDestination()
public boolean hasSelector()
public String getSelector()
public int getAcknowledgeMode()
public int getSubscriptionDurability()
public boolean isSubscriptionDurable()
public boolean isRequired()
public int getMaxMessages()
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException
checkTxAttribute
in class BeanDesc
md
- MethodDesc to check
DeploymentDescException
- When MethodDesc is not validpublic void check() throws DeploymentDescException
check
in class BeanDesc
DeploymentDescException
- thrown for non-valid beanpublic String toString()
toString
in interface IDescriptionGroupDesc
toString
in class BeanDesc
public ActivationConfigDesc getMdActivationConfigDesc()
public ActivationConfigDesc getJonasMdActivationConfigDesc()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |