|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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. |
List<AroundInvokeType> |
getAroundInvoke()
Gets the value of the aroundInvoke property. |
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property. |
EjbClassType |
getEjbClass()
Gets the value of the ejbClass property. |
List<EjbLocalRefType> |
getEjbLocalRef()
Gets the value of the ejbLocalRef property. |
EjbNameType |
getEjbName()
Gets the value of the ejbName property. |
List<EjbRefType> |
getEjbRef()
Gets the value of the ejbRef property. |
List<EnvEntryType> |
getEnvEntry()
Gets the value of the envEntry property. |
List<IconType> |
getIcon()
Gets the value of the icon property. |
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. |
List<MessageDestinationRefType> |
getMessageDestinationRef()
Gets the value of the messageDestinationRef property. |
MessageDestinationTypeType |
getMessageDestinationType()
Gets the value of the messageDestinationType property. |
FullyQualifiedClassType |
getMessagingType()
Gets the value of the messagingType property. |
List<PersistenceContextRefType> |
getPersistenceContextRef()
Gets the value of the persistenceContextRef property. |
List<PersistenceUnitRefType> |
getPersistenceUnitRef()
Gets the value of the persistenceUnitRef property. |
List<LifecycleCallbackType> |
getPostConstruct()
Gets the value of the postConstruct property. |
List<LifecycleCallbackType> |
getPreDestroy()
Gets the value of the preDestroy property. |
List<ResourceEnvRefType> |
getResourceEnvRef()
Gets the value of the resourceEnvRef property. |
List<ResourceRefType> |
getResourceRef()
Gets the value of the resourceRef property. |
SecurityIdentityType |
getSecurityIdentity()
Gets the value of the securityIdentity property. |
List<ServiceRefType> |
getServiceRef()
Gets the value of the serviceRef property. |
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 |
setEjbClass(EjbClassType value)
Sets the value of the ejbClass property. |
void |
setEjbName(EjbNameType value)
Sets the value of the ejbName property. |
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. |
void |
setMessageDestinationType(MessageDestinationTypeType value)
Sets the value of the messageDestinationType property. |
void |
setMessagingType(FullyQualifiedClassType value)
Sets the value of the messagingType property. |
void |
setSecurityIdentity(SecurityIdentityType value)
Sets the value of the securityIdentity property. |
void |
setTimeoutMethod(NamedMethodType value)
Sets the value of the timeoutMethod property. |
void |
setTransactionType(TransactionTypeType value)
Sets the value of the transactionType property. |
| Method Detail |
|---|
List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
List<DisplayNameType> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
List<IconType> getIcon()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
EjbNameType getEjbName()
EjbNameTypevoid setEjbName(EjbNameType value)
value - allowed object is
EjbNameTypeXsdStringType getMappedName()
XsdStringTypevoid setMappedName(XsdStringType value)
value - allowed object is
XsdStringTypeEjbClassType getEjbClass()
EjbClassTypevoid setEjbClass(EjbClassType value)
value - allowed object is
EjbClassTypeFullyQualifiedClassType getMessagingType()
FullyQualifiedClassTypevoid setMessagingType(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeNamedMethodType getTimeoutMethod()
NamedMethodTypevoid setTimeoutMethod(NamedMethodType value)
value - allowed object is
NamedMethodTypeTransactionTypeType getTransactionType()
TransactionTypeTypevoid setTransactionType(TransactionTypeType value)
value - allowed object is
TransactionTypeTypeMessageDestinationTypeType getMessageDestinationType()
MessageDestinationTypeTypevoid setMessageDestinationType(MessageDestinationTypeType value)
value - allowed object is
MessageDestinationTypeTypeMessageDestinationLinkType getMessageDestinationLink()
MessageDestinationLinkTypevoid setMessageDestinationLink(MessageDestinationLinkType value)
value - allowed object is
MessageDestinationLinkTypeActivationConfigType getActivationConfig()
ActivationConfigTypevoid setActivationConfig(ActivationConfigType value)
value - allowed object is
ActivationConfigTypeList<AroundInvokeType> getAroundInvoke()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the aroundInvoke property.
For example, to add a new item, do as follows:
getAroundInvoke().add(newItem);
Objects of the following type(s) are allowed in the list
AroundInvokeType
List<EnvEntryType> getEnvEntry()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the envEntry property.
For example, to add a new item, do as follows:
getEnvEntry().add(newItem);
Objects of the following type(s) are allowed in the list
EnvEntryType
List<EjbRefType> getEjbRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the ejbRef property.
For example, to add a new item, do as follows:
getEjbRef().add(newItem);
Objects of the following type(s) are allowed in the list
EjbRefType
List<EjbLocalRefType> getEjbLocalRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the ejbLocalRef property.
For example, to add a new item, do as follows:
getEjbLocalRef().add(newItem);
Objects of the following type(s) are allowed in the list
EjbLocalRefType
List<ServiceRefType> getServiceRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the serviceRef property.
For example, to add a new item, do as follows:
getServiceRef().add(newItem);
Objects of the following type(s) are allowed in the list
ServiceRefType
List<ResourceRefType> getResourceRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the resourceRef property.
For example, to add a new item, do as follows:
getResourceRef().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceRefType
List<ResourceEnvRefType> getResourceEnvRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the resourceEnvRef property.
For example, to add a new item, do as follows:
getResourceEnvRef().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceEnvRefType
List<MessageDestinationRefType> getMessageDestinationRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the messageDestinationRef property.
For example, to add a new item, do as follows:
getMessageDestinationRef().add(newItem);
Objects of the following type(s) are allowed in the list
MessageDestinationRefType
List<PersistenceContextRefType> getPersistenceContextRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the persistenceContextRef property.
For example, to add a new item, do as follows:
getPersistenceContextRef().add(newItem);
Objects of the following type(s) are allowed in the list
PersistenceContextRefType
List<PersistenceUnitRefType> getPersistenceUnitRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the persistenceUnitRef property.
For example, to add a new item, do as follows:
getPersistenceUnitRef().add(newItem);
Objects of the following type(s) are allowed in the list
PersistenceUnitRefType
List<LifecycleCallbackType> getPostConstruct()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the postConstruct property.
For example, to add a new item, do as follows:
getPostConstruct().add(newItem);
Objects of the following type(s) are allowed in the list
LifecycleCallbackType
List<LifecycleCallbackType> getPreDestroy()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the preDestroy property.
For example, to add a new item, do as follows:
getPreDestroy().add(newItem);
Objects of the following type(s) are allowed in the list
LifecycleCallbackType
SecurityIdentityType getSecurityIdentity()
SecurityIdentityTypevoid setSecurityIdentity(SecurityIdentityType value)
value - allowed object is
SecurityIdentityTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||