org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc Class Reference

Inherits org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Inheritance diagram for org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int getTransactionType ()
int getTxAttribute ()
boolean isBeanManagedTransaction ()
String getDestination ()
String getDestinationJndiName ()
String getDestinationLink ()
Class getDestinationType ()
boolean isTopicDestination ()
boolean hasSelector ()
String getSelector ()
int getAcknowledgeMode ()
int getSubscriptionDurability ()
boolean isRequired ()
int getMaxMessages ()
void check () throws DeploymentDescException
String toString ()
ActivationConfigDesc getMdActivationConfigDesc ()
ActivationConfigDesc getJonasMdActivationConfigDesc ()

Protected Member Functions

void checkTxAttribute (MethodDesc md) throws DeploymentDescException

Package Functions

 MessageDrivenDesc (ClassLoader classLoader, MessageDriven md, AssemblyDescriptor asd, JonasMessageDriven jMd, JLinkedList jMDRList, String fileName) throws DeploymentDescException

Detailed Description

Class to hold meta-information related to a message driven bean

Author:
Christophe Ney [cney@batisseurs.com] : Initial developer

Helene Joanin

Definition at line 52 of file MessageDrivenDesc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.MessageDrivenDesc ClassLoader  classLoader,
MessageDriven  md,
AssemblyDescriptor  asd,
JonasMessageDriven  jMd,
JLinkedList  jMDRList,
String  fileName
throws DeploymentDescException [package]
 

package protected constructor used by API

Definition at line 86 of file MessageDrivenDesc.java.

References org.objectweb.jonas_ejb.deployment.xml.MessageDrivenDestination.getDestinationType(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName(), org.objectweb.jonas_ejb.deployment.api.MethodDesc.getMethod(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getMethodDescIterator(), org.objectweb.jonas_ejb.deployment.xml.MessageDrivenDestination.getSubscriptionDurability(), and org.objectweb.jonas_ejb.deployment.api.MethodDesc.getTxAttribute().

Here is the call graph for this function:


Member Function Documentation

void org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.check  )  throws DeploymentDescException
 

Check that the message diven bean descriptor is valid

Exceptions:
DeploymentDescException thrown for non-valid bean

Reimplemented from org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Definition at line 378 of file MessageDrivenDesc.java.

void org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.checkTxAttribute MethodDesc  md  )  throws DeploymentDescException [protected, virtual]
 

check that trans-attribute is valid for bean

Implements org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Definition at line 337 of file MessageDrivenDesc.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName(), org.objectweb.jonas_ejb.deployment.api.MethodDesc.getMethod(), and org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getTransactionType().

Here is the call graph for this function:

int org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getAcknowledgeMode  ) 
 

Get the acknowledge-mode of the message driven bean.

Returns:
acknowledge-mode value within AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE

Definition at line 301 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.toString().

String org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getDestination  ) 
 

Get the the destination name of the message driven bean.

Returns:
name of the destination of the message driven bean.

Definition at line 239 of file MessageDrivenDesc.java.

String org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getDestinationJndiName  ) 
 

Get the the destination JNDI name of the message driven bean.

Returns:
JNDI name of the destination of the message driven bean.

Definition at line 248 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JMdbEndpointFactory.JMdbEndpointFactory(), org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(), and org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.toString().

String org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getDestinationLink  ) 
 

Get the the destination link name of the message driven bean.

Returns:
link name of the destination of the message driven bean.

Definition at line 257 of file MessageDrivenDesc.java.

Class org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getDestinationType  ) 
 

Get the the destination type of the message driven bean.

Returns:
type of the destination of the message driven bean.

Definition at line 266 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.checkTypeUsage(), and org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.toString().

ActivationConfigDesc org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getJonasMdActivationConfigDesc  ) 
 

Returns:
the JOnAS MessageDriven ActivationConfigDesc object

Definition at line 416 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JMdbEndpointFactory.JMdbEndpointFactory().

int org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getMaxMessages  ) 
 

Returns:
the maximum number of messages that can be assigned to a server session at one time. will be configurable in the future

Definition at line 330 of file MessageDrivenDesc.java.

ActivationConfigDesc org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getMdActivationConfigDesc  ) 
 

Returns:
the MessageDriven ActivationConfigDesc object

Definition at line 409 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JMdbEndpointFactory.JMdbEndpointFactory().

String org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getSelector  ) 
 

Get the message-selector value of the message driven bean.

Returns:
value of the message selector return null if no selector

Definition at line 291 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory(), and org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.toString().

int org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getSubscriptionDurability  ) 
 

Get the the durability of the subscription of the message driven bean.

Returns:
durability of the subscription value within SUBS_DURABLE, SUBS_NON_DURABLE

Definition at line 311 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.toString().

int org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getTransactionType  ) 
 

Get transaction management type of the message driven.

Returns:
transaction type value within BEAN_TRANSACTION_TYPE,CONTAINER_TRANSACTION_TYPE

Definition at line 215 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.checkTxAttribute(), and org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.toString().

int org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getTxAttribute  ) 
 

Return the transaction attribute for the onMessage method of Message driven bean

Definition at line 224 of file MessageDrivenDesc.java.

boolean org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.hasSelector  ) 
 

Assessor for existence of a message-selector for the message driven bean

Returns:
true if message-selector is defined for the bean

Definition at line 282 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.toString().

boolean org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.isBeanManagedTransaction  ) 
 

Returns:
true if BEAN_TRANSACTION_TYPE

Definition at line 231 of file MessageDrivenDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JMdbFactory.JMdbFactory().

boolean org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.isRequired  ) 
 

Return true if tx attribute for onMessage is Required

Definition at line 322 of file MessageDrivenDesc.java.

boolean org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.isTopicDestination  ) 
 

Return true if it is a Topic destination

Definition at line 273 of file MessageDrivenDesc.java.

String org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.toString  ) 
 

String representation of the object for test purpose

Returns:
String representation of this object

Reimplemented from org.objectweb.jonas_ejb.deployment.api.BeanDesc.

Definition at line 387 of file MessageDrivenDesc.java.

References org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getAcknowledgeMode(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getDestinationJndiName(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getDestinationType(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getSelector(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getSubscriptionDurability(), org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getTransactionType(), and org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.hasSelector().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:22 2005 for JOnAS by  doxygen 1.3.9.1