Package com.sun.enterprise.deployment
Interface EjbMessageBeanDescriptor
-
- All Superinterfaces:
EjbDescriptor
,EjbReferenceContainer
,JndiNameEnvironment
,MessageDestinationReferenceContainer
,MessageDestinationReferencer
,NamedDescriptor
,ResourceEnvReferenceContainer
,ResourceReferenceContainer
,ServiceReferenceContainer
,WritableJndiNameEnvironment
- All Known Implementing Classes:
EjbMessageBeanDescriptor
public interface EjbMessageBeanDescriptor extends EjbDescriptor, MessageDestinationReferencer
Interface for Message-Driven BeansSome methods are only in the implementation
- See Also:
EjbMessageBeanDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
-
Fields inherited from interface com.sun.enterprise.deployment.EjbDescriptor
BEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<EnvironmentProperty>
getActivationConfigProperties()
Returns a set of the activation config properties that have been set for the MDBString
getActivationConfigValue(String name)
Gets the value of a specificActivationConfigProperty
String
getDestinationType()
Gets the type of the destination setString
getDurableSubscriptionName()
String
getMdbConnectionFactoryJndiName()
Returns the JNDI name of the connection factory used to create the Message-Driven Bean.String
getMessageListenerType()
String
getResourceAdapterMid()
Gets the module id of the resource adapter set with the MDBSet<EnvironmentProperty>
getRuntimeActivationConfigProperties()
boolean
hasQueueDest()
Returns true if the destination type is of Queuevoid
putRuntimeActivationConfigProperty(EnvironmentProperty prop)
void
setResourceAdapterMid(String resourceAdapterMid)
Sets the resource adapter to use with the MDB-
Methods inherited from interface com.sun.enterprise.deployment.EjbDescriptor
addEjbReferencer, addFrameworkInterceptor, addInterceptorClass, addMethodLevelChain, addPermissionedMethod, addRoleReference, allMechanismsRequireSSL, appendToInterceptorChain, getApplication, getEjbBundleDescriptor, getEjbClassName, getEjbImplClassName, getEjbTypeForDisplay, getHomeClassName, getIORConfigurationDescriptors, getLocalBusinessClassNames, getLocalClassName, getLocalHomeClassName, getMethodDescriptors, getMethodPermissionsFor, getMethodPermissionsFromDD, getPermissionedRoles, getRemoteBusinessClassNames, getRemoteClassName, getRoleReferenceByName, getRoleReferences, getRunAsIdentity, getSecurityBusinessMethodDescriptors, getTransactionType, getType, getUniqueId, getUsesCallerIdentity, getWebServiceEndpointInterfaceName, hasInterceptorClass, hasWebServiceEndpointInterface, isLocalBean, isLocalBusinessInterfacesSupported, isLocalInterfacesSupported, isRemoteBusinessInterfacesSupported, isRemoteInterfacesSupported, notifyNewModule, removeEjbReferencer, setRunAsIdentity, setUniqueId, setUsesCallerIdentity, setWebServiceEndpointInterfaceName
-
Methods inherited from interface com.sun.enterprise.deployment.types.EjbReferenceContainer
addEjbReferenceDescriptor, getEjbReference, getEjbReferenceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.JndiNameEnvironment
getAllResourcesDescriptors, getAllResourcesDescriptors, getEjbReferenceDescriptors, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getInjectableResourcesByClass, getInjectionInfoByClass, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getResourceDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceDescriptors, getServiceReferenceByName, getServiceReferenceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.types.MessageDestinationReferenceContainer
addMessageDestinationReferenceDescriptor, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, removeMessageDestinationReferenceDescriptor
-
Methods inherited from interface com.sun.enterprise.deployment.types.MessageDestinationReferencer
getMessageBeanOwner, getMessageDestination, getMessageDestinationLinkName, getMessageDestinationRefOwner, isLinkedToMessageDestination, ownedByMessageBean, ownedByMessageDestinationRef, resolveLinkName, setMessageDestination, setMessageDestinationLinkName, setMessageDestinationLinkName
-
Methods inherited from interface com.sun.enterprise.deployment.NamedDescriptor
getJndiName, getName, setJndiName
-
Methods inherited from interface com.sun.enterprise.deployment.types.ResourceEnvReferenceContainer
addResourceEnvReferenceDescriptor, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.types.ResourceReferenceContainer
addResourceReferenceDescriptor, getResourceReferenceByName, getResourceReferenceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.types.ServiceReferenceContainer
addServiceReferenceDescriptor, getServiceReferenceByName, getServiceReferenceDescriptors, removeServiceReferenceDescriptor
-
Methods inherited from interface com.sun.enterprise.deployment.WritableJndiNameEnvironment
addEjbReferenceDescriptor, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addMessageDestinationReferenceDescriptor, addPostConstructDescriptor, addPreDestroyDescriptor, addResourceDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addServiceReferenceDescriptor, removeEjbReferenceDescriptor, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removeResourceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeServiceReferenceDescriptor
-
-
-
-
Field Detail
-
TYPE
static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessageListenerType
String getMessageListenerType()
- Returns:
- "MessageListener" if not set
-
getDestinationType
String getDestinationType()
Gets the type of the destination set- Returns:
- Either "Queue" or "Topic"
-
getDurableSubscriptionName
String getDurableSubscriptionName()
-
getResourceAdapterMid
String getResourceAdapterMid()
Gets the module id of the resource adapter set with the MDB- Returns:
null
if not set
-
getMdbConnectionFactoryJndiName
String getMdbConnectionFactoryJndiName()
Returns the JNDI name of the connection factory used to create the Message-Driven Bean.- Returns:
-
hasQueueDest
boolean hasQueueDest()
Returns true if the destination type is of Queue- Returns:
- See Also:
EjbMessageBeanDescriptor.hasTopicDest()
-
setResourceAdapterMid
void setResourceAdapterMid(String resourceAdapterMid)
Sets the resource adapter to use with the MDB- Parameters:
resourceAdapterMid
- the module ID of the resource adapter to use
-
getActivationConfigProperties
Set<EnvironmentProperty> getActivationConfigProperties()
Returns a set of the activation config properties that have been set for the MDB- Returns:
- See Also:
ActivationConfigProperty
-
getActivationConfigValue
String getActivationConfigValue(String name)
Gets the value of a specificActivationConfigProperty
- Parameters:
name
- the name of the property- Returns:
- the actual value of the property
-
getRuntimeActivationConfigProperties
Set<EnvironmentProperty> getRuntimeActivationConfigProperties()
-
putRuntimeActivationConfigProperty
void putRuntimeActivationConfigProperty(EnvironmentProperty prop)
-
-