|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc org.objectweb.jonas_ejb.deployment.api.BeanDesc org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc
public class 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 |
destination
|
protected java.lang.String |
destinationJndiName
|
protected java.lang.String |
destinationLink
|
protected java.lang.Class |
destinationType
|
static int |
DUPS_OK_ACKNOWLEDGE
|
protected boolean |
isTopicDestination
|
protected ActivationConfigDesc |
mdActivationConfigDesc
|
protected ActivationConfigDesc |
mdJonasActivationConfigDesc
|
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, beanIdentification, bf, cacheMax, clusterHomeDistributor, clusterRemoteDistributor, clusterReplicated, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, ejb10EnvProps, ejbClass, ejbName, ejbTimeoutSignature, fullDerivedBeanName, GENERATED_PREFIX, home, jndiLocalName, jndiName, local, localhome, logger, poolMin, remote, securityRoleRefDescList, timerTxAttribute, TRANS |
Fields inherited from class org.objectweb.jonas_lib.deployment.api.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. |
java.lang.String |
getDestination()
Get the the destination name of the message driven bean. |
java.lang.String |
getDestinationJndiName()
Get the the destination JNDI name of the message driven bean. |
java.lang.String |
getDestinationLink()
Get the the destination link name of the message driven bean. |
java.lang.Class |
getDestinationType()
Get the the destination type of the message driven bean. |
ActivationConfigDesc |
getJonasMdActivationConfigDesc()
|
int |
getMaxMessages()
|
ActivationConfigDesc |
getMdActivationConfigDesc()
|
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()
|
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 org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc |
---|
getEjbLocalRefDesc, getEjbRefDesc, getEnvEntryDesc, getMessageDestinationRefDesc, getResourceEnvRefDesc, getResourceRefDesc, getServiceRefDesc |
Methods inherited from class org.objectweb.jonas_lib.deployment.api.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 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 java.lang.String selector
protected int acknowledgeMode
protected int subscriptionDurability
protected java.lang.Class destinationType
protected int txAttribute
protected boolean isTopicDestination
protected int transactionType
protected java.lang.String destinationJndiName
protected java.lang.String destinationLink
protected java.lang.String destination
protected ActivationConfigDesc mdActivationConfigDesc
protected ActivationConfigDesc mdJonasActivationConfigDesc
Method Detail |
---|
public int getTransactionType()
public int getTxAttribute()
public boolean isBeanManagedTransaction()
public java.lang.String getDestination()
public java.lang.String getDestinationJndiName()
public java.lang.String getDestinationLink()
public java.lang.Class getDestinationType()
public boolean isTopicDestination()
public boolean hasSelector()
public java.lang.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 java.lang.String toString()
toString
in interface DescriptionGroup
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 |