org.eclipse.modisco.jee.ejbjar.EjbJar30
Interface MessageDrivenBeanType


public interface MessageDrivenBeanType

A representation of the model object 'Message Driven Bean Type'. The message-driven element declares a message-driven bean. The declaration consists of: - an optional description - an optional display name - an optional icon element that contains a small and a large icon file name. - a name assigned to the enterprise bean in the deployment descriptor - an optional mapped-name element that can be used to provide vendor-specific deployment information such as the physical jndi-name of destination from which this message-driven bean should consume. This element is not required to be supported by all implementations. Any use of this element is non-portable. - the message-driven bean's implementation class - an optional declaration of the bean's messaging type - an optional declaration of the bean's timeout method. - the optional message-driven bean's transaction management type. If it is not defined, it is defaulted to Container. - an optional declaration of the bean's message-destination-type - an optional declaration of the bean's message-destination-link - an optional declaration of the message-driven bean's activation configuration properties - an optional list of the message-driven bean class and/or superclass around-invoke methods. - an optional declaration of the bean's environment entries - an optional declaration of the bean's EJB references - an optional declaration of the bean's local EJB references - an optional declaration of the bean's web service references - an optional declaration of the security identity to be used for the execution of the bean's methods - an optional declaration of the bean's resource manager connection factory references - an optional declaration of the bean's resource environment references. - an optional declaration of the bean's message destination references

The following features are supported:

See Also:
EjbJar30Package.getMessageDrivenBeanType()
Generated:
Model:
extendedMetaData="name='message-driven-beanType' kind='elementOnly'"

Method Summary
 ActivationConfigType getActivationConfig()
          Returns the value of the 'Activation Config' containment reference.
  getAroundInvoke()
          Returns the value of the 'Around Invoke' containment reference list.
  getDescription()
          Returns the value of the 'Description' containment reference list.
  getDisplayName()
          Returns the value of the 'Display Name' containment reference list.
 EjbClassType getEjbClass()
          Returns the value of the 'Ejb Class' containment reference.
  getEjbLocalRef()
          Returns the value of the 'Ejb Local Ref' containment reference list.
 EjbNameType getEjbName()
          Returns the value of the 'Ejb Name' containment reference.
  getEjbRef()
          Returns the value of the 'Ejb Ref' containment reference list.
  getEnvEntry()
          Returns the value of the 'Env Entry' containment reference list.
  getIcon()
          Returns the value of the 'Icon' containment reference list.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 XsdStringType getMappedName()
          Returns the value of the 'Mapped Name' containment reference.
 MessageDestinationLinkType getMessageDestinationLink()
          Returns the value of the 'Message Destination Link' containment reference.
  getMessageDestinationRef()
          Returns the value of the 'Message Destination Ref' containment reference list.
 MessageDestinationTypeType getMessageDestinationType()
          Returns the value of the 'Message Destination Type' containment reference.
 FullyQualifiedClassType getMessagingType()
          Returns the value of the 'Messaging Type' containment reference.
  getPersistenceContextRef()
          Returns the value of the 'Persistence Context Ref' containment reference list.
  getPersistenceUnitRef()
          Returns the value of the 'Persistence Unit Ref' containment reference list.
  getPostConstruct()
          Returns the value of the 'Post Construct' containment reference list.
  getPreDestroy()
          Returns the value of the 'Pre Destroy' containment reference list.
  getResourceEnvRef()
          Returns the value of the 'Resource Env Ref' containment reference list.
  getResourceRef()
          Returns the value of the 'Resource Ref' containment reference list.
 SecurityIdentityType getSecurityIdentity()
          Returns the value of the 'Security Identity' containment reference.
  getServiceRef()
          Returns the value of the 'Service Ref' containment reference list.
 NamedMethodType getTimeoutMethod()
          Returns the value of the 'Timeout Method' containment reference.
 TransactionTypeType getTransactionType()
          Returns the value of the 'Transaction Type' containment reference.
 void setActivationConfig(ActivationConfigType value)
          Sets the value of the 'Activation Config' containment reference.
 void setEjbClass(EjbClassType value)
          Sets the value of the 'Ejb Class' containment reference.
 void setEjbName(EjbNameType value)
          Sets the value of the 'Ejb Name' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setMappedName(XsdStringType value)
          Sets the value of the 'Mapped Name' containment reference.
 void setMessageDestinationLink(MessageDestinationLinkType value)
          Sets the value of the 'Message Destination Link' containment reference.
 void setMessageDestinationType(MessageDestinationTypeType value)
          Sets the value of the 'Message Destination Type' containment reference.
 void setMessagingType(FullyQualifiedClassType value)
          Sets the value of the 'Messaging Type' containment reference.
 void setSecurityIdentity(SecurityIdentityType value)
          Sets the value of the 'Security Identity' containment reference.
 void setTimeoutMethod(NamedMethodType value)
          Sets the value of the 'Timeout Method' containment reference.
 void setTransactionType(TransactionTypeType value)
          Sets the value of the 'Transaction Type' containment reference.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"

getDisplayName

 getDisplayName()
Returns the value of the 'Display Name' containment reference list. The list contents are of type DisplayNameType.

If the meaning of the 'Display Name' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Display Name' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_DisplayName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='display-name' namespace='http://java.sun.com/xml/ns/javaee'"

getIcon

 getIcon()
Returns the value of the 'Icon' containment reference list. The list contents are of type IconType.

If the meaning of the 'Icon' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Icon' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_Icon()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='icon' namespace='http://java.sun.com/xml/ns/javaee'"

getEjbName

EjbNameType getEjbName()
Returns the value of the 'Ejb Name' containment reference.

If the meaning of the 'Ejb Name' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Name' containment reference.
See Also:
setEjbName(EjbNameType), EjbJar30Package.getMessageDrivenBeanType_EjbName()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='ejb-name' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbName

void setEjbName(EjbNameType value)
Sets the value of the 'Ejb Name' containment reference.

Parameters:
value - the new value of the 'Ejb Name' containment reference.
See Also:
getEjbName()
Generated:

getMappedName

XsdStringType getMappedName()
Returns the value of the 'Mapped Name' containment reference.

If the meaning of the 'Mapped Name' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Mapped Name' containment reference.
See Also:
setMappedName(XsdStringType), EjbJar30Package.getMessageDrivenBeanType_MappedName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='mapped-name' namespace='http://java.sun.com/xml/ns/javaee'"

setMappedName

void setMappedName(XsdStringType value)
Sets the value of the 'Mapped Name' containment reference.

Parameters:
value - the new value of the 'Mapped Name' containment reference.
See Also:
getMappedName()
Generated:

getEjbClass

EjbClassType getEjbClass()
Returns the value of the 'Ejb Class' containment reference. The ejb-class element specifies the fully qualified name of the bean class for this ejb. It is required unless there is a component-defining annotation for the same ejb-name.

Returns:
the value of the 'Ejb Class' containment reference.
See Also:
setEjbClass(EjbClassType), EjbJar30Package.getMessageDrivenBeanType_EjbClass()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-class' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbClass

void setEjbClass(EjbClassType value)
Sets the value of the 'Ejb Class' containment reference.

Parameters:
value - the new value of the 'Ejb Class' containment reference.
See Also:
getEjbClass()
Generated:

getMessagingType

FullyQualifiedClassType getMessagingType()
Returns the value of the 'Messaging Type' containment reference. The messaging-type element specifies the message listener interface of the message-driven bean.

Returns:
the value of the 'Messaging Type' containment reference.
See Also:
setMessagingType(FullyQualifiedClassType), EjbJar30Package.getMessageDrivenBeanType_MessagingType()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='messaging-type' namespace='http://java.sun.com/xml/ns/javaee'"

setMessagingType

void setMessagingType(FullyQualifiedClassType value)
Sets the value of the 'Messaging Type' containment reference.

Parameters:
value - the new value of the 'Messaging Type' containment reference.
See Also:
getMessagingType()
Generated:

getTimeoutMethod

NamedMethodType getTimeoutMethod()
Returns the value of the 'Timeout Method' containment reference.

If the meaning of the 'Timeout Method' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Timeout Method' containment reference.
See Also:
setTimeoutMethod(NamedMethodType), EjbJar30Package.getMessageDrivenBeanType_TimeoutMethod()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='timeout-method' namespace='http://java.sun.com/xml/ns/javaee'"

setTimeoutMethod

void setTimeoutMethod(NamedMethodType value)
Sets the value of the 'Timeout Method' containment reference.

Parameters:
value - the new value of the 'Timeout Method' containment reference.
See Also:
getTimeoutMethod()
Generated:

getTransactionType

TransactionTypeType getTransactionType()
Returns the value of the 'Transaction Type' containment reference.

If the meaning of the 'Transaction Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Transaction Type' containment reference.
See Also:
setTransactionType(TransactionTypeType), EjbJar30Package.getMessageDrivenBeanType_TransactionType()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='transaction-type' namespace='http://java.sun.com/xml/ns/javaee'"

setTransactionType

void setTransactionType(TransactionTypeType value)
Sets the value of the 'Transaction Type' containment reference.

Parameters:
value - the new value of the 'Transaction Type' containment reference.
See Also:
getTransactionType()
Generated:

getMessageDestinationType

MessageDestinationTypeType getMessageDestinationType()
Returns the value of the 'Message Destination Type' containment reference.

If the meaning of the 'Message Destination Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Message Destination Type' containment reference.
See Also:
setMessageDestinationType(MessageDestinationTypeType), EjbJar30Package.getMessageDrivenBeanType_MessageDestinationType()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='message-destination-type' namespace='http://java.sun.com/xml/ns/javaee'"

setMessageDestinationType

void setMessageDestinationType(MessageDestinationTypeType value)
Sets the value of the 'Message Destination Type' containment reference.

Parameters:
value - the new value of the 'Message Destination Type' containment reference.
See Also:
getMessageDestinationType()
Generated:

getMessageDestinationLink

MessageDestinationLinkType getMessageDestinationLink()
Returns the value of the 'Message Destination Link' containment reference.

If the meaning of the 'Message Destination Link' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Message Destination Link' containment reference.
See Also:
setMessageDestinationLink(MessageDestinationLinkType), EjbJar30Package.getMessageDrivenBeanType_MessageDestinationLink()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='message-destination-link' namespace='http://java.sun.com/xml/ns/javaee'"

setMessageDestinationLink

void setMessageDestinationLink(MessageDestinationLinkType value)
Sets the value of the 'Message Destination Link' containment reference.

Parameters:
value - the new value of the 'Message Destination Link' containment reference.
See Also:
getMessageDestinationLink()
Generated:

getActivationConfig

ActivationConfigType getActivationConfig()
Returns the value of the 'Activation Config' containment reference.

If the meaning of the 'Activation Config' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Activation Config' containment reference.
See Also:
setActivationConfig(ActivationConfigType), EjbJar30Package.getMessageDrivenBeanType_ActivationConfig()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='activation-config' namespace='http://java.sun.com/xml/ns/javaee'"

setActivationConfig

void setActivationConfig(ActivationConfigType value)
Sets the value of the 'Activation Config' containment reference.

Parameters:
value - the new value of the 'Activation Config' containment reference.
See Also:
getActivationConfig()
Generated:

getAroundInvoke

 getAroundInvoke()
Returns the value of the 'Around Invoke' containment reference list. The list contents are of type AroundInvokeType.

If the meaning of the 'Around Invoke' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Around Invoke' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_AroundInvoke()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='around-invoke' namespace='http://java.sun.com/xml/ns/javaee'"

getEnvEntry

 getEnvEntry()
Returns the value of the 'Env Entry' containment reference list. The list contents are of type EnvEntryType.

If the meaning of the 'Env Entry' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Env Entry' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_EnvEntry()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='env-entry' namespace='http://java.sun.com/xml/ns/javaee'"

getEjbRef

 getEjbRef()
Returns the value of the 'Ejb Ref' containment reference list. The list contents are of type EjbRefType.

If the meaning of the 'Ejb Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Ref' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_EjbRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getEjbLocalRef

 getEjbLocalRef()
Returns the value of the 'Ejb Local Ref' containment reference list. The list contents are of type EjbLocalRefType.

If the meaning of the 'Ejb Local Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Local Ref' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_EjbLocalRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-local-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getServiceRef

 getServiceRef()
Returns the value of the 'Service Ref' containment reference list. The list contents are of type ServiceRefType.

If the meaning of the 'Service Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Service Ref' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_ServiceRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='service-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getResourceRef

 getResourceRef()
Returns the value of the 'Resource Ref' containment reference list. The list contents are of type ResourceRefType.

If the meaning of the 'Resource Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Resource Ref' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_ResourceRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='resource-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getResourceEnvRef

 getResourceEnvRef()
Returns the value of the 'Resource Env Ref' containment reference list. The list contents are of type ResourceEnvRefType.

If the meaning of the 'Resource Env Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Resource Env Ref' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_ResourceEnvRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='resource-env-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getMessageDestinationRef

 getMessageDestinationRef()
Returns the value of the 'Message Destination Ref' containment reference list. The list contents are of type MessageDestinationRefType.

If the meaning of the 'Message Destination Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Message Destination Ref' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_MessageDestinationRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='message-destination-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getPersistenceContextRef

 getPersistenceContextRef()
Returns the value of the 'Persistence Context Ref' containment reference list. The list contents are of type PersistenceContextRefType.

If the meaning of the 'Persistence Context Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Persistence Context Ref' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_PersistenceContextRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='persistence-context-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getPersistenceUnitRef

 getPersistenceUnitRef()
Returns the value of the 'Persistence Unit Ref' containment reference list. The list contents are of type PersistenceUnitRefType.

If the meaning of the 'Persistence Unit Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Persistence Unit Ref' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_PersistenceUnitRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='persistence-unit-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getPostConstruct

 getPostConstruct()
Returns the value of the 'Post Construct' containment reference list. The list contents are of type LifecycleCallbackType.

If the meaning of the 'Post Construct' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Post Construct' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_PostConstruct()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='post-construct' namespace='http://java.sun.com/xml/ns/javaee'"

getPreDestroy

 getPreDestroy()
Returns the value of the 'Pre Destroy' containment reference list. The list contents are of type LifecycleCallbackType.

If the meaning of the 'Pre Destroy' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Pre Destroy' containment reference list.
See Also:
EjbJar30Package.getMessageDrivenBeanType_PreDestroy()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='pre-destroy' namespace='http://java.sun.com/xml/ns/javaee'"

getSecurityIdentity

SecurityIdentityType getSecurityIdentity()
Returns the value of the 'Security Identity' containment reference.

If the meaning of the 'Security Identity' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Security Identity' containment reference.
See Also:
setSecurityIdentity(SecurityIdentityType), EjbJar30Package.getMessageDrivenBeanType_SecurityIdentity()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='security-identity' namespace='http://java.sun.com/xml/ns/javaee'"

setSecurityIdentity

void setSecurityIdentity(SecurityIdentityType value)
Sets the value of the 'Security Identity' containment reference.

Parameters:
value - the new value of the 'Security Identity' containment reference.
See Also:
getSecurityIdentity()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar30Package.getMessageDrivenBeanType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: