|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageDrivenBeanType<T>
This interface defines the contract for the message-driven-beanType xsd type
Original Documentation:
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
| Method Summary | |
|---|---|
ActivationConfigType<MessageDrivenBeanType<T>> |
activationConfig()
If not already created, a new activation-config element will be created and returned. |
AroundInvokeType<MessageDrivenBeanType<T>> |
aroundInvoke()
Returns the around-invoke element |
EjbLocalRefType<MessageDrivenBeanType<T>> |
ejbLocalRef()
Returns the ejb-local-ref element |
EjbRefType<MessageDrivenBeanType<T>> |
ejbRef()
Returns the ejb-ref element |
EnvEntryType<MessageDrivenBeanType<T>> |
envEntry()
Returns the env-entry element |
java.util.List<AroundInvokeType<MessageDrivenBeanType<T>>> |
getAroundInvokeList()
Returns all around-invoke elements |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.lang.String |
getEjbClass()
Returns the ejb-class element |
java.util.List<EjbLocalRefType<MessageDrivenBeanType<T>>> |
getEjbLocalRefList()
Returns all ejb-local-ref elements |
java.lang.String |
getEjbName()
Returns the ejb-name element |
java.util.List<EjbRefType<MessageDrivenBeanType<T>>> |
getEjbRefList()
Returns all ejb-ref elements |
java.util.List<EnvEntryType<MessageDrivenBeanType<T>>> |
getEnvEntryList()
Returns all env-entry elements |
java.util.List<IconType<MessageDrivenBeanType<T>>> |
getIconList()
Returns all icon elements |
java.lang.String |
getMappedName()
Returns the mapped-name element |
java.lang.String |
getMessageDestinationLink()
Returns the message-destination-link element |
java.util.List<MessageDestinationRefType<MessageDrivenBeanType<T>>> |
getMessageDestinationRefList()
Returns all message-destination-ref elements |
java.lang.String |
getMessageDestinationType()
Returns the message-destination-type element |
java.lang.String |
getMessagingType()
Returns the messaging-type element |
java.util.List<PersistenceContextRefType<MessageDrivenBeanType<T>>> |
getPersistenceContextRefList()
Returns all persistence-context-ref elements |
java.util.List<PersistenceUnitRefType<MessageDrivenBeanType<T>>> |
getPersistenceUnitRefList()
Returns all persistence-unit-ref elements |
java.util.List<LifecycleCallbackType<MessageDrivenBeanType<T>>> |
getPostConstructList()
Returns all post-construct elements |
java.util.List<LifecycleCallbackType<MessageDrivenBeanType<T>>> |
getPreDestroyList()
Returns all pre-destroy elements |
java.util.List<ResourceEnvRefType<MessageDrivenBeanType<T>>> |
getResourceEnvRefList()
Returns all resource-env-ref elements |
java.util.List<ResourceRefType<MessageDrivenBeanType<T>>> |
getResourceRefList()
Returns all resource-ref elements |
java.util.List<ServiceRefType<MessageDrivenBeanType<T>>> |
getServiceRefList()
Returns all service-ref elements |
TransactionTypeType |
getTransactionType()
Returns the transaction-type element |
java.lang.String |
getTransactionTypeAsString()
Returns the transaction-type element |
IconType<MessageDrivenBeanType<T>> |
icon()
Returns the icon element |
MessageDestinationRefType<MessageDrivenBeanType<T>> |
messageDestinationRef()
Returns the message-destination-ref element |
PersistenceContextRefType<MessageDrivenBeanType<T>> |
persistenceContextRef()
Returns the persistence-context-ref element |
PersistenceUnitRefType<MessageDrivenBeanType<T>> |
persistenceUnitRef()
Returns the persistence-unit-ref element |
LifecycleCallbackType<MessageDrivenBeanType<T>> |
postConstruct()
Returns the post-construct element |
LifecycleCallbackType<MessageDrivenBeanType<T>> |
preDestroy()
Returns the pre-destroy element |
MessageDrivenBeanType<T> |
removeActivationConfig()
Removes the activation-config element |
MessageDrivenBeanType<T> |
removeAllAroundInvoke()
Removes all around-invoke elements |
MessageDrivenBeanType<T> |
removeAllDescription()
Removes the description element |
MessageDrivenBeanType<T> |
removeAllDisplayName()
Removes the display-name element |
MessageDrivenBeanType<T> |
removeAllEjbLocalRef()
Removes all ejb-local-ref elements |
MessageDrivenBeanType<T> |
removeAllEjbRef()
Removes all ejb-ref elements |
MessageDrivenBeanType<T> |
removeAllEnvEntry()
Removes all env-entry elements |
MessageDrivenBeanType<T> |
removeAllIcon()
Removes all icon elements |
MessageDrivenBeanType<T> |
removeAllMessageDestinationRef()
Removes all message-destination-ref elements |
MessageDrivenBeanType<T> |
removeAllPersistenceContextRef()
Removes all persistence-context-ref elements |
MessageDrivenBeanType<T> |
removeAllPersistenceUnitRef()
Removes all persistence-unit-ref elements |
MessageDrivenBeanType<T> |
removeAllPostConstruct()
Removes all post-construct elements |
MessageDrivenBeanType<T> |
removeAllPreDestroy()
Removes all pre-destroy elements |
MessageDrivenBeanType<T> |
removeAllResourceEnvRef()
Removes all resource-env-ref elements |
MessageDrivenBeanType<T> |
removeAllResourceRef()
Removes all resource-ref elements |
MessageDrivenBeanType<T> |
removeAllServiceRef()
Removes all service-ref elements |
MessageDrivenBeanType<T> |
removeEjbClass()
Removes the ejb-class element |
MessageDrivenBeanType<T> |
removeEjbName()
Removes the ejb-name element |
MessageDrivenBeanType<T> |
removeMappedName()
Removes the mapped-name element |
MessageDrivenBeanType<T> |
removeMessageDestinationLink()
Removes the message-destination-link element |
MessageDrivenBeanType<T> |
removeMessageDestinationType()
Removes the message-destination-type element |
MessageDrivenBeanType<T> |
removeMessagingType()
Removes the messaging-type element |
MessageDrivenBeanType<T> |
removeSecurityIdentity()
Removes the security-identity element |
MessageDrivenBeanType<T> |
removeTimeoutMethod()
Removes the timeout-method element |
ResourceEnvRefType<MessageDrivenBeanType<T>> |
resourceEnvRef()
Returns the resource-env-ref element |
ResourceRefType<MessageDrivenBeanType<T>> |
resourceRef()
Returns the resource-ref element |
SecurityIdentityType<MessageDrivenBeanType<T>> |
securityIdentity()
If not already created, a new security-identity element will be created and returned. |
ServiceRefType<MessageDrivenBeanType<T>> |
serviceRef()
Returns the service-ref element |
MessageDrivenBeanType<T> |
setDescription(java.lang.String description)
Creates a new description element |
MessageDrivenBeanType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
MessageDrivenBeanType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
MessageDrivenBeanType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
MessageDrivenBeanType<T> |
setEjbClass(java.lang.String ejbClass)
If not already created, a new ejb-class element with the given value will be created. |
MessageDrivenBeanType<T> |
setEjbName(java.lang.String ejbName)
If not already created, a new ejb-name element with the given value will be created. |
MessageDrivenBeanType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
MessageDrivenBeanType<T> |
setMessageDestinationLink(java.lang.String messageDestinationLink)
If not already created, a new message-destination-link element with the given value will be created. |
MessageDrivenBeanType<T> |
setMessageDestinationType(java.lang.String messageDestinationType)
If not already created, a new message-destination-type element with the given value will be created. |
MessageDrivenBeanType<T> |
setMessagingType(java.lang.String messagingType)
If not already created, a new messaging-type element with the given value will be created. |
MessageDrivenBeanType<T> |
setTransactionType(java.lang.String transactionType)
If not already created, a new transaction-type element with the given value will be created. |
MessageDrivenBeanType<T> |
setTransactionType(TransactionTypeType transactionType)
If not already created, a new transaction-type element with the given value will be created. |
NamedMethodType<MessageDrivenBeanType<T>> |
timeoutMethod()
If not already created, a new timeout-method element will be created and returned. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
MessageDrivenBeanType<T> setDescription(java.lang.String description)
description element
MessageDrivenBeanTypeMessageDrivenBeanType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
MessageDrivenBeanTypeMessageDrivenBeanType<T> removeAllDescription()
description element
MessageDrivenBeanTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionMessageDrivenBeanType<T> setDisplayName(java.lang.String displayName)
display-name element
MessageDrivenBeanTypeMessageDrivenBeanType<T> setDisplayNameList(java.lang.String... values)
display-name elements,
a new display-name element
list - of display-name objects
MessageDrivenBeanTypeMessageDrivenBeanType<T> removeAllDisplayName()
display-name element
MessageDrivenBeanTypejava.util.List<java.lang.String> getDisplayNameList()
display-name elements
display-nameMessageDrivenBeanType<T> removeAllIcon()
icon elements
MessageDrivenBeanTypeIconType<MessageDrivenBeanType<T>> icon()
icon element
iconjava.util.List<IconType<MessageDrivenBeanType<T>>> getIconList()
icon elements
iconMessageDrivenBeanType<T> removeAllEnvEntry()
env-entry elements
MessageDrivenBeanTypeEnvEntryType<MessageDrivenBeanType<T>> envEntry()
env-entry element
env-entryjava.util.List<EnvEntryType<MessageDrivenBeanType<T>>> getEnvEntryList()
env-entry elements
env-entryMessageDrivenBeanType<T> removeAllEjbRef()
ejb-ref elements
MessageDrivenBeanTypeEjbRefType<MessageDrivenBeanType<T>> ejbRef()
ejb-ref element
ejb-refjava.util.List<EjbRefType<MessageDrivenBeanType<T>>> getEjbRefList()
ejb-ref elements
ejb-refMessageDrivenBeanType<T> removeAllEjbLocalRef()
ejb-local-ref elements
MessageDrivenBeanTypeEjbLocalRefType<MessageDrivenBeanType<T>> ejbLocalRef()
ejb-local-ref element
ejb-local-refjava.util.List<EjbLocalRefType<MessageDrivenBeanType<T>>> getEjbLocalRefList()
ejb-local-ref elements
ejb-local-refMessageDrivenBeanType<T> removeAllResourceRef()
resource-ref elements
MessageDrivenBeanTypeResourceRefType<MessageDrivenBeanType<T>> resourceRef()
resource-ref element
resource-refjava.util.List<ResourceRefType<MessageDrivenBeanType<T>>> getResourceRefList()
resource-ref elements
resource-refMessageDrivenBeanType<T> removeAllResourceEnvRef()
resource-env-ref elements
MessageDrivenBeanTypeResourceEnvRefType<MessageDrivenBeanType<T>> resourceEnvRef()
resource-env-ref element
resource-env-refjava.util.List<ResourceEnvRefType<MessageDrivenBeanType<T>>> getResourceEnvRefList()
resource-env-ref elements
resource-env-refMessageDrivenBeanType<T> removeAllMessageDestinationRef()
message-destination-ref elements
MessageDrivenBeanTypeMessageDestinationRefType<MessageDrivenBeanType<T>> messageDestinationRef()
message-destination-ref element
message-destination-refjava.util.List<MessageDestinationRefType<MessageDrivenBeanType<T>>> getMessageDestinationRefList()
message-destination-ref elements
message-destination-refMessageDrivenBeanType<T> removeAllPersistenceContextRef()
persistence-context-ref elements
MessageDrivenBeanTypePersistenceContextRefType<MessageDrivenBeanType<T>> persistenceContextRef()
persistence-context-ref element
persistence-context-refjava.util.List<PersistenceContextRefType<MessageDrivenBeanType<T>>> getPersistenceContextRefList()
persistence-context-ref elements
persistence-context-refMessageDrivenBeanType<T> removeAllPersistenceUnitRef()
persistence-unit-ref elements
MessageDrivenBeanTypePersistenceUnitRefType<MessageDrivenBeanType<T>> persistenceUnitRef()
persistence-unit-ref element
persistence-unit-refjava.util.List<PersistenceUnitRefType<MessageDrivenBeanType<T>>> getPersistenceUnitRefList()
persistence-unit-ref elements
persistence-unit-refMessageDrivenBeanType<T> removeAllPostConstruct()
post-construct elements
MessageDrivenBeanTypeLifecycleCallbackType<MessageDrivenBeanType<T>> postConstruct()
post-construct element
post-constructjava.util.List<LifecycleCallbackType<MessageDrivenBeanType<T>>> getPostConstructList()
post-construct elements
post-constructMessageDrivenBeanType<T> removeAllPreDestroy()
pre-destroy elements
MessageDrivenBeanTypeLifecycleCallbackType<MessageDrivenBeanType<T>> preDestroy()
pre-destroy element
pre-destroyjava.util.List<LifecycleCallbackType<MessageDrivenBeanType<T>>> getPreDestroyList()
pre-destroy elements
pre-destroyMessageDrivenBeanType<T> removeAllServiceRef()
service-ref elements
MessageDrivenBeanTypeServiceRefType<MessageDrivenBeanType<T>> serviceRef()
service-ref element
service-refjava.util.List<ServiceRefType<MessageDrivenBeanType<T>>> getServiceRefList()
service-ref elements
service-refMessageDrivenBeanType<T> setEjbName(java.lang.String ejbName)
ejb-name element with the given value will be created.
Otherwise, the existing ejb-name element will be updated with the given value.
MessageDrivenBeanTypeMessageDrivenBeanType<T> removeEjbName()
ejb-name element
MessageDrivenBeanTypejava.lang.String getEjbName()
ejb-name element
ejb-nameMessageDrivenBeanType<T> setMappedName(java.lang.String mappedName)
mapped-name element with the given value will be created.
Otherwise, the existing mapped-name element will be updated with the given value.
MessageDrivenBeanTypeMessageDrivenBeanType<T> removeMappedName()
mapped-name element
MessageDrivenBeanTypejava.lang.String getMappedName()
mapped-name element
mapped-nameMessageDrivenBeanType<T> setEjbClass(java.lang.String ejbClass)
ejb-class element with the given value will be created.
Otherwise, the existing ejb-class element will be updated with the given value.
MessageDrivenBeanTypeMessageDrivenBeanType<T> removeEjbClass()
ejb-class element
MessageDrivenBeanTypejava.lang.String getEjbClass()
ejb-class element
ejb-classMessageDrivenBeanType<T> setMessagingType(java.lang.String messagingType)
messaging-type element with the given value will be created.
Otherwise, the existing messaging-type element will be updated with the given value.
MessageDrivenBeanTypeMessageDrivenBeanType<T> removeMessagingType()
messaging-type element
MessageDrivenBeanTypejava.lang.String getMessagingType()
messaging-type element
messaging-typeMessageDrivenBeanType<T> removeTimeoutMethod()
timeout-method element
MessageDrivenBeanTypeNamedMethodType<MessageDrivenBeanType<T>> timeoutMethod()
timeout-method element will be created and returned.
Otherwise, the existing timeout-method element will be returned.
timeout-methodMessageDrivenBeanType<T> setTransactionType(TransactionTypeType transactionType)
transaction-type element with the given value will be created.
Otherwise, the existing transaction-type element will be updated with the given value.
MessageDrivenBeanTypeMessageDrivenBeanType<T> setTransactionType(java.lang.String transactionType)
transaction-type element with the given value will be created.
Otherwise, the existing transaction-type element will be updated with the given value.
MessageDrivenBeanTypeTransactionTypeType getTransactionType()
transaction-type element
transaction-typejava.lang.String getTransactionTypeAsString()
transaction-type element
transaction-typeMessageDrivenBeanType<T> setMessageDestinationType(java.lang.String messageDestinationType)
message-destination-type element with the given value will be created.
Otherwise, the existing message-destination-type element will be updated with the given value.
MessageDrivenBeanTypeMessageDrivenBeanType<T> removeMessageDestinationType()
message-destination-type element
MessageDrivenBeanTypejava.lang.String getMessageDestinationType()
message-destination-type element
message-destination-typeMessageDrivenBeanType<T> setMessageDestinationLink(java.lang.String messageDestinationLink)
message-destination-link element with the given value will be created.
Otherwise, the existing message-destination-link element will be updated with the given value.
MessageDrivenBeanTypeMessageDrivenBeanType<T> removeMessageDestinationLink()
message-destination-link element
MessageDrivenBeanTypejava.lang.String getMessageDestinationLink()
message-destination-link element
message-destination-linkMessageDrivenBeanType<T> removeActivationConfig()
activation-config element
MessageDrivenBeanTypeActivationConfigType<MessageDrivenBeanType<T>> activationConfig()
activation-config element will be created and returned.
Otherwise, the existing activation-config element will be returned.
activation-configMessageDrivenBeanType<T> removeAllAroundInvoke()
around-invoke elements
MessageDrivenBeanTypeAroundInvokeType<MessageDrivenBeanType<T>> aroundInvoke()
around-invoke element
around-invokejava.util.List<AroundInvokeType<MessageDrivenBeanType<T>>> getAroundInvokeList()
around-invoke elements
around-invokeMessageDrivenBeanType<T> removeSecurityIdentity()
security-identity element
MessageDrivenBeanTypeSecurityIdentityType<MessageDrivenBeanType<T>> securityIdentity()
security-identity element will be created and returned.
Otherwise, the existing security-identity element will be returned.
security-identity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||