|
||||||||||
| 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 Detail |
|---|
DescriptionType[] getDescription()
DescriptionTypeDescriptionType getDescription(int idx)
DescriptionTypeint getDescriptionLength()
void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypeDisplayNameType[] getDisplayName()
DisplayNameTypeDisplayNameType getDisplayName(int idx)
DisplayNameTypeint getDisplayNameLength()
void setDisplayName(DisplayNameType[] values)
values - allowed objects are
DisplayNameType
DisplayNameType setDisplayName(int idx,
DisplayNameType value)
value - allowed object is
DisplayNameTypeIconType[] getIcon()
IconTypeIconType getIcon(int idx)
IconTypeint getIconLength()
void setIcon(IconType[] values)
values - allowed objects are
IconType
IconType setIcon(int idx,
IconType value)
value - allowed object is
IconTypeEjbNameType 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
ActivationConfigTypeAroundInvokeType[] getAroundInvoke()
AroundInvokeTypeAroundInvokeType getAroundInvoke(int idx)
AroundInvokeTypeint getAroundInvokeLength()
void setAroundInvoke(AroundInvokeType[] values)
values - allowed objects are
AroundInvokeType
AroundInvokeType setAroundInvoke(int idx,
AroundInvokeType value)
value - allowed object is
AroundInvokeTypeEnvEntryType[] getEnvEntry()
EnvEntryTypeEnvEntryType getEnvEntry(int idx)
EnvEntryTypeint getEnvEntryLength()
void setEnvEntry(EnvEntryType[] values)
values - allowed objects are
EnvEntryType
EnvEntryType setEnvEntry(int idx,
EnvEntryType value)
value - allowed object is
EnvEntryTypeEjbRefType[] getEjbRef()
EjbRefTypeEjbRefType getEjbRef(int idx)
EjbRefTypeint getEjbRefLength()
void setEjbRef(EjbRefType[] values)
values - allowed objects are
EjbRefType
EjbRefType setEjbRef(int idx,
EjbRefType value)
value - allowed object is
EjbRefTypeEjbLocalRefType[] getEjbLocalRef()
EjbLocalRefTypeEjbLocalRefType getEjbLocalRef(int idx)
EjbLocalRefTypeint getEjbLocalRefLength()
void setEjbLocalRef(EjbLocalRefType[] values)
values - allowed objects are
EjbLocalRefType
EjbLocalRefType setEjbLocalRef(int idx,
EjbLocalRefType value)
value - allowed object is
EjbLocalRefTypeServiceRefType[] getServiceRef()
ServiceRefTypeServiceRefType getServiceRef(int idx)
ServiceRefTypeint getServiceRefLength()
void setServiceRef(ServiceRefType[] values)
values - allowed objects are
ServiceRefType
ServiceRefType setServiceRef(int idx,
ServiceRefType value)
value - allowed object is
ServiceRefTypeResourceRefType[] getResourceRef()
ResourceRefTypeResourceRefType getResourceRef(int idx)
ResourceRefTypeint getResourceRefLength()
void setResourceRef(ResourceRefType[] values)
values - allowed objects are
ResourceRefType
ResourceRefType setResourceRef(int idx,
ResourceRefType value)
value - allowed object is
ResourceRefTypeResourceEnvRefType[] getResourceEnvRef()
ResourceEnvRefTypeResourceEnvRefType getResourceEnvRef(int idx)
ResourceEnvRefTypeint getResourceEnvRefLength()
void setResourceEnvRef(ResourceEnvRefType[] values)
values - allowed objects are
ResourceEnvRefType
ResourceEnvRefType setResourceEnvRef(int idx,
ResourceEnvRefType value)
value - allowed object is
ResourceEnvRefTypeMessageDestinationRefType[] getMessageDestinationRef()
MessageDestinationRefTypeMessageDestinationRefType getMessageDestinationRef(int idx)
MessageDestinationRefTypeint getMessageDestinationRefLength()
void setMessageDestinationRef(MessageDestinationRefType[] values)
values - allowed objects are
MessageDestinationRefType
MessageDestinationRefType setMessageDestinationRef(int idx,
MessageDestinationRefType value)
value - allowed object is
MessageDestinationRefTypePersistenceContextRefType[] getPersistenceContextRef()
PersistenceContextRefTypePersistenceContextRefType getPersistenceContextRef(int idx)
PersistenceContextRefTypeint getPersistenceContextRefLength()
void setPersistenceContextRef(PersistenceContextRefType[] values)
values - allowed objects are
PersistenceContextRefType
PersistenceContextRefType setPersistenceContextRef(int idx,
PersistenceContextRefType value)
value - allowed object is
PersistenceContextRefTypePersistenceUnitRefType[] getPersistenceUnitRef()
PersistenceUnitRefTypePersistenceUnitRefType getPersistenceUnitRef(int idx)
PersistenceUnitRefTypeint getPersistenceUnitRefLength()
void setPersistenceUnitRef(PersistenceUnitRefType[] values)
values - allowed objects are
PersistenceUnitRefType
PersistenceUnitRefType setPersistenceUnitRef(int idx,
PersistenceUnitRefType value)
value - allowed object is
PersistenceUnitRefTypeLifecycleCallbackType[] getPostConstruct()
LifecycleCallbackTypeLifecycleCallbackType getPostConstruct(int idx)
LifecycleCallbackTypeint getPostConstructLength()
void setPostConstruct(LifecycleCallbackType[] values)
values - allowed objects are
LifecycleCallbackType
LifecycleCallbackType setPostConstruct(int idx,
LifecycleCallbackType value)
value - allowed object is
LifecycleCallbackTypeLifecycleCallbackType[] getPreDestroy()
LifecycleCallbackTypeLifecycleCallbackType getPreDestroy(int idx)
LifecycleCallbackTypeint getPreDestroyLength()
void setPreDestroy(LifecycleCallbackType[] values)
values - allowed objects are
LifecycleCallbackType
LifecycleCallbackType setPreDestroy(int idx,
LifecycleCallbackType value)
value - allowed object is
LifecycleCallbackTypeSecurityIdentityType 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 | |||||||||