net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.javaee
Interface MessageDrivenBeanType

All Known Implementing Classes:
MessageDrivenBeanTypeImpl

public interface MessageDrivenBeanType

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

Java class for message-driven-beanType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="message-driven-beanType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/>
         <element name="mapped-name" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
         <element name="ejb-class" type="{http://java.sun.com/xml/ns/javaee}ejb-classType" minOccurs="0"/>
         <element name="messaging-type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
         <element name="timeout-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/>
         <element name="transaction-type" type="{http://java.sun.com/xml/ns/javaee}transaction-typeType" minOccurs="0"/>
         <element name="message-destination-type" type="{http://java.sun.com/xml/ns/javaee}message-destination-typeType" minOccurs="0"/>
         <element name="message-destination-link" type="{http://java.sun.com/xml/ns/javaee}message-destination-linkType" minOccurs="0"/>
         <element name="activation-config" type="{http://java.sun.com/xml/ns/javaee}activation-configType" minOccurs="0"/>
         <element name="around-invoke" type="{http://java.sun.com/xml/ns/javaee}around-invokeType" maxOccurs="unbounded" minOccurs="0"/>
         <group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/>
         <element name="security-identity" type="{http://java.sun.com/xml/ns/javaee}security-identityType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 ActivationConfigType getActivationConfig()
          Gets the value of the activationConfig property.
 AroundInvokeType[] getAroundInvoke()
           
 AroundInvokeType getAroundInvoke(int idx)
           
 int getAroundInvokeLength()
           
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 DisplayNameType[] getDisplayName()
           
 DisplayNameType getDisplayName(int idx)
           
 int getDisplayNameLength()
           
 EjbClassType getEjbClass()
          Gets the value of the ejbClass property.
 EjbLocalRefType[] getEjbLocalRef()
           
 EjbLocalRefType getEjbLocalRef(int idx)
           
 int getEjbLocalRefLength()
           
 EjbNameType getEjbName()
          Gets the value of the ejbName property.
 EjbRefType[] getEjbRef()
           
 EjbRefType getEjbRef(int idx)
           
 int getEjbRefLength()
           
 EnvEntryType[] getEnvEntry()
           
 EnvEntryType getEnvEntry(int idx)
           
 int getEnvEntryLength()
           
 IconType[] getIcon()
           
 IconType getIcon(int idx)
           
 int getIconLength()
           
 String getId()
          Gets the value of the id property.
 XsdStringType getMappedName()
          Gets the value of the mappedName property.
 MessageDestinationLinkType getMessageDestinationLink()
          Gets the value of the messageDestinationLink property.
 MessageDestinationRefType[] getMessageDestinationRef()
           
 MessageDestinationRefType getMessageDestinationRef(int idx)
           
 int getMessageDestinationRefLength()
           
 MessageDestinationTypeType getMessageDestinationType()
          Gets the value of the messageDestinationType property.
 FullyQualifiedClassType getMessagingType()
          Gets the value of the messagingType property.
 PersistenceContextRefType[] getPersistenceContextRef()
           
 PersistenceContextRefType getPersistenceContextRef(int idx)
           
 int getPersistenceContextRefLength()
           
 PersistenceUnitRefType[] getPersistenceUnitRef()
           
 PersistenceUnitRefType getPersistenceUnitRef(int idx)
           
 int getPersistenceUnitRefLength()
           
 LifecycleCallbackType[] getPostConstruct()
           
 LifecycleCallbackType getPostConstruct(int idx)
           
 int getPostConstructLength()
           
 LifecycleCallbackType[] getPreDestroy()
           
 LifecycleCallbackType getPreDestroy(int idx)
           
 int getPreDestroyLength()
           
 ResourceEnvRefType[] getResourceEnvRef()
           
 ResourceEnvRefType getResourceEnvRef(int idx)
           
 int getResourceEnvRefLength()
           
 ResourceRefType[] getResourceRef()
           
 ResourceRefType getResourceRef(int idx)
           
 int getResourceRefLength()
           
 SecurityIdentityType getSecurityIdentity()
          Gets the value of the securityIdentity property.
 ServiceRefType[] getServiceRef()
           
 ServiceRefType getServiceRef(int idx)
           
 int getServiceRefLength()
           
 NamedMethodType getTimeoutMethod()
          Gets the value of the timeoutMethod property.
 TransactionTypeType getTransactionType()
          Gets the value of the transactionType property.
 void setActivationConfig(ActivationConfigType value)
          Sets the value of the activationConfig property.
 void setAroundInvoke(AroundInvokeType[] values)
           
 AroundInvokeType setAroundInvoke(int idx, AroundInvokeType value)
           
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setDisplayName(DisplayNameType[] values)
           
 DisplayNameType setDisplayName(int idx, DisplayNameType value)
           
 void setEjbClass(EjbClassType value)
          Sets the value of the ejbClass property.
 void setEjbLocalRef(EjbLocalRefType[] values)
           
 EjbLocalRefType setEjbLocalRef(int idx, EjbLocalRefType value)
           
 void setEjbName(EjbNameType value)
          Sets the value of the ejbName property.
 void setEjbRef(EjbRefType[] values)
           
 EjbRefType setEjbRef(int idx, EjbRefType value)
           
 void setEnvEntry(EnvEntryType[] values)
           
 EnvEntryType setEnvEntry(int idx, EnvEntryType value)
           
 void setIcon(IconType[] values)
           
 IconType setIcon(int idx, IconType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setMappedName(XsdStringType value)
          Sets the value of the mappedName property.
 void setMessageDestinationLink(MessageDestinationLinkType value)
          Sets the value of the messageDestinationLink property.
 MessageDestinationRefType setMessageDestinationRef(int idx, MessageDestinationRefType value)
           
 void setMessageDestinationRef(MessageDestinationRefType[] values)
           
 void setMessageDestinationType(MessageDestinationTypeType value)
          Sets the value of the messageDestinationType property.
 void setMessagingType(FullyQualifiedClassType value)
          Sets the value of the messagingType property.
 PersistenceContextRefType setPersistenceContextRef(int idx, PersistenceContextRefType value)
           
 void setPersistenceContextRef(PersistenceContextRefType[] values)
           
 PersistenceUnitRefType setPersistenceUnitRef(int idx, PersistenceUnitRefType value)
           
 void setPersistenceUnitRef(PersistenceUnitRefType[] values)
           
 LifecycleCallbackType setPostConstruct(int idx, LifecycleCallbackType value)
           
 void setPostConstruct(LifecycleCallbackType[] values)
           
 LifecycleCallbackType setPreDestroy(int idx, LifecycleCallbackType value)
           
 void setPreDestroy(LifecycleCallbackType[] values)
           
 ResourceEnvRefType setResourceEnvRef(int idx, ResourceEnvRefType value)
           
 void setResourceEnvRef(ResourceEnvRefType[] values)
           
 ResourceRefType setResourceRef(int idx, ResourceRefType value)
           
 void setResourceRef(ResourceRefType[] values)
           
 void setSecurityIdentity(SecurityIdentityType value)
          Sets the value of the securityIdentity property.
 ServiceRefType setServiceRef(int idx, ServiceRefType value)
           
 void setServiceRef(ServiceRefType[] values)
           
 void setTimeoutMethod(NamedMethodType value)
          Sets the value of the timeoutMethod property.
 void setTransactionType(TransactionTypeType value)
          Sets the value of the transactionType property.
 

Method Detail

getDescription

DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

int getDescriptionLength()

setDescription

void setDescription(DescriptionType[] values)
Parameters:
values - allowed objects are DescriptionType

setDescription

DescriptionType setDescription(int idx,
                               DescriptionType value)
Parameters:
value - allowed object is DescriptionType

getDisplayName

DisplayNameType[] getDisplayName()
Returns:
array of DisplayNameType

getDisplayName

DisplayNameType getDisplayName(int idx)
Returns:
one of DisplayNameType

getDisplayNameLength

int getDisplayNameLength()

setDisplayName

void setDisplayName(DisplayNameType[] values)
Parameters:
values - allowed objects are DisplayNameType

setDisplayName

DisplayNameType setDisplayName(int idx,
                               DisplayNameType value)
Parameters:
value - allowed object is DisplayNameType

getIcon

IconType[] getIcon()
Returns:
array of IconType

getIcon

IconType getIcon(int idx)
Returns:
one of IconType

getIconLength

int getIconLength()

setIcon

void setIcon(IconType[] values)
Parameters:
values - allowed objects are IconType

setIcon

IconType setIcon(int idx,
                 IconType value)
Parameters:
value - allowed object is IconType

getEjbName

EjbNameType getEjbName()
Gets the value of the ejbName property.

Returns:
possible object is EjbNameType

setEjbName

void setEjbName(EjbNameType value)
Sets the value of the ejbName property.

Parameters:
value - allowed object is EjbNameType

getMappedName

XsdStringType getMappedName()
Gets the value of the mappedName property.

Returns:
possible object is XsdStringType

setMappedName

void setMappedName(XsdStringType value)
Sets the value of the mappedName property.

Parameters:
value - allowed object is XsdStringType

getEjbClass

EjbClassType getEjbClass()
Gets the value of the ejbClass property.

Returns:
possible object is EjbClassType

setEjbClass

void setEjbClass(EjbClassType value)
Sets the value of the ejbClass property.

Parameters:
value - allowed object is EjbClassType

getMessagingType

FullyQualifiedClassType getMessagingType()
Gets the value of the messagingType property.

Returns:
possible object is FullyQualifiedClassType

setMessagingType

void setMessagingType(FullyQualifiedClassType value)
Sets the value of the messagingType property.

Parameters:
value - allowed object is FullyQualifiedClassType

getTimeoutMethod

NamedMethodType getTimeoutMethod()
Gets the value of the timeoutMethod property.

Returns:
possible object is NamedMethodType

setTimeoutMethod

void setTimeoutMethod(NamedMethodType value)
Sets the value of the timeoutMethod property.

Parameters:
value - allowed object is NamedMethodType

getTransactionType

TransactionTypeType getTransactionType()
Gets the value of the transactionType property.

Returns:
possible object is TransactionTypeType

setTransactionType

void setTransactionType(TransactionTypeType value)
Sets the value of the transactionType property.

Parameters:
value - allowed object is TransactionTypeType

getMessageDestinationType

MessageDestinationTypeType getMessageDestinationType()
Gets the value of the messageDestinationType property.

Returns:
possible object is MessageDestinationTypeType

setMessageDestinationType

void setMessageDestinationType(MessageDestinationTypeType value)
Sets the value of the messageDestinationType property.

Parameters:
value - allowed object is MessageDestinationTypeType

getMessageDestinationLink

MessageDestinationLinkType getMessageDestinationLink()
Gets the value of the messageDestinationLink property.

Returns:
possible object is MessageDestinationLinkType

setMessageDestinationLink

void setMessageDestinationLink(MessageDestinationLinkType value)
Sets the value of the messageDestinationLink property.

Parameters:
value - allowed object is MessageDestinationLinkType

getActivationConfig

ActivationConfigType getActivationConfig()
Gets the value of the activationConfig property.

Returns:
possible object is ActivationConfigType

setActivationConfig

void setActivationConfig(ActivationConfigType value)
Sets the value of the activationConfig property.

Parameters:
value - allowed object is ActivationConfigType

getAroundInvoke

AroundInvokeType[] getAroundInvoke()
Returns:
array of AroundInvokeType

getAroundInvoke

AroundInvokeType getAroundInvoke(int idx)
Returns:
one of AroundInvokeType

getAroundInvokeLength

int getAroundInvokeLength()

setAroundInvoke

void setAroundInvoke(AroundInvokeType[] values)
Parameters:
values - allowed objects are AroundInvokeType

setAroundInvoke

AroundInvokeType setAroundInvoke(int idx,
                                 AroundInvokeType value)
Parameters:
value - allowed object is AroundInvokeType

getEnvEntry

EnvEntryType[] getEnvEntry()
Returns:
array of EnvEntryType

getEnvEntry

EnvEntryType getEnvEntry(int idx)
Returns:
one of EnvEntryType

getEnvEntryLength

int getEnvEntryLength()

setEnvEntry

void setEnvEntry(EnvEntryType[] values)
Parameters:
values - allowed objects are EnvEntryType

setEnvEntry

EnvEntryType setEnvEntry(int idx,
                         EnvEntryType value)
Parameters:
value - allowed object is EnvEntryType

getEjbRef

EjbRefType[] getEjbRef()
Returns:
array of EjbRefType

getEjbRef

EjbRefType getEjbRef(int idx)
Returns:
one of EjbRefType

getEjbRefLength

int getEjbRefLength()

setEjbRef

void setEjbRef(EjbRefType[] values)
Parameters:
values - allowed objects are EjbRefType

setEjbRef

EjbRefType setEjbRef(int idx,
                     EjbRefType value)
Parameters:
value - allowed object is EjbRefType

getEjbLocalRef

EjbLocalRefType[] getEjbLocalRef()
Returns:
array of EjbLocalRefType

getEjbLocalRef

EjbLocalRefType getEjbLocalRef(int idx)
Returns:
one of EjbLocalRefType

getEjbLocalRefLength

int getEjbLocalRefLength()

setEjbLocalRef

void setEjbLocalRef(EjbLocalRefType[] values)
Parameters:
values - allowed objects are EjbLocalRefType

setEjbLocalRef

EjbLocalRefType setEjbLocalRef(int idx,
                               EjbLocalRefType value)
Parameters:
value - allowed object is EjbLocalRefType

getServiceRef

ServiceRefType[] getServiceRef()
Returns:
array of ServiceRefType

getServiceRef

ServiceRefType getServiceRef(int idx)
Returns:
one of ServiceRefType

getServiceRefLength

int getServiceRefLength()

setServiceRef

void setServiceRef(ServiceRefType[] values)
Parameters:
values - allowed objects are ServiceRefType

setServiceRef

ServiceRefType setServiceRef(int idx,
                             ServiceRefType value)
Parameters:
value - allowed object is ServiceRefType

getResourceRef

ResourceRefType[] getResourceRef()
Returns:
array of ResourceRefType

getResourceRef

ResourceRefType getResourceRef(int idx)
Returns:
one of ResourceRefType

getResourceRefLength

int getResourceRefLength()

setResourceRef

void setResourceRef(ResourceRefType[] values)
Parameters:
values - allowed objects are ResourceRefType

setResourceRef

ResourceRefType setResourceRef(int idx,
                               ResourceRefType value)
Parameters:
value - allowed object is ResourceRefType

getResourceEnvRef

ResourceEnvRefType[] getResourceEnvRef()
Returns:
array of ResourceEnvRefType

getResourceEnvRef

ResourceEnvRefType getResourceEnvRef(int idx)
Returns:
one of ResourceEnvRefType

getResourceEnvRefLength

int getResourceEnvRefLength()

setResourceEnvRef

void setResourceEnvRef(ResourceEnvRefType[] values)
Parameters:
values - allowed objects are ResourceEnvRefType

setResourceEnvRef

ResourceEnvRefType setResourceEnvRef(int idx,
                                     ResourceEnvRefType value)
Parameters:
value - allowed object is ResourceEnvRefType

getMessageDestinationRef

MessageDestinationRefType[] getMessageDestinationRef()
Returns:
array of MessageDestinationRefType

getMessageDestinationRef

MessageDestinationRefType getMessageDestinationRef(int idx)
Returns:
one of MessageDestinationRefType

getMessageDestinationRefLength

int getMessageDestinationRefLength()

setMessageDestinationRef

void setMessageDestinationRef(MessageDestinationRefType[] values)
Parameters:
values - allowed objects are MessageDestinationRefType

setMessageDestinationRef

MessageDestinationRefType setMessageDestinationRef(int idx,
                                                   MessageDestinationRefType value)
Parameters:
value - allowed object is MessageDestinationRefType

getPersistenceContextRef

PersistenceContextRefType[] getPersistenceContextRef()
Returns:
array of PersistenceContextRefType

getPersistenceContextRef

PersistenceContextRefType getPersistenceContextRef(int idx)
Returns:
one of PersistenceContextRefType

getPersistenceContextRefLength

int getPersistenceContextRefLength()

setPersistenceContextRef

void setPersistenceContextRef(PersistenceContextRefType[] values)
Parameters:
values - allowed objects are PersistenceContextRefType

setPersistenceContextRef

PersistenceContextRefType setPersistenceContextRef(int idx,
                                                   PersistenceContextRefType value)
Parameters:
value - allowed object is PersistenceContextRefType

getPersistenceUnitRef

PersistenceUnitRefType[] getPersistenceUnitRef()
Returns:
array of PersistenceUnitRefType

getPersistenceUnitRef

PersistenceUnitRefType getPersistenceUnitRef(int idx)
Returns:
one of PersistenceUnitRefType

getPersistenceUnitRefLength

int getPersistenceUnitRefLength()

setPersistenceUnitRef

void setPersistenceUnitRef(PersistenceUnitRefType[] values)
Parameters:
values - allowed objects are PersistenceUnitRefType

setPersistenceUnitRef

PersistenceUnitRefType setPersistenceUnitRef(int idx,
                                             PersistenceUnitRefType value)
Parameters:
value - allowed object is PersistenceUnitRefType

getPostConstruct

LifecycleCallbackType[] getPostConstruct()
Returns:
array of LifecycleCallbackType

getPostConstruct

LifecycleCallbackType getPostConstruct(int idx)
Returns:
one of LifecycleCallbackType

getPostConstructLength

int getPostConstructLength()

setPostConstruct

void setPostConstruct(LifecycleCallbackType[] values)
Parameters:
values - allowed objects are LifecycleCallbackType

setPostConstruct

LifecycleCallbackType setPostConstruct(int idx,
                                       LifecycleCallbackType value)
Parameters:
value - allowed object is LifecycleCallbackType

getPreDestroy

LifecycleCallbackType[] getPreDestroy()
Returns:
array of LifecycleCallbackType

getPreDestroy

LifecycleCallbackType getPreDestroy(int idx)
Returns:
one of LifecycleCallbackType

getPreDestroyLength

int getPreDestroyLength()

setPreDestroy

void setPreDestroy(LifecycleCallbackType[] values)
Parameters:
values - allowed objects are LifecycleCallbackType

setPreDestroy

LifecycleCallbackType setPreDestroy(int idx,
                                    LifecycleCallbackType value)
Parameters:
value - allowed object is LifecycleCallbackType

getSecurityIdentity

SecurityIdentityType getSecurityIdentity()
Gets the value of the securityIdentity property.

Returns:
possible object is SecurityIdentityType

setSecurityIdentity

void setSecurityIdentity(SecurityIdentityType value)
Sets the value of the securityIdentity property.

Parameters:
value - allowed object is SecurityIdentityType

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.