BEA Systems, Inc.

weblogic.jms.extensions
Class JMSModuleHelper

java.lang.Object
  extended by weblogic.jms.extensions.JMSRuntimeHelper
      extended by weblogic.jms.extensions.JMSModuleHelper

public class JMSModuleHelper
extends JMSRuntimeHelper

This class contains JMS helper methods for locating JMS runtime MBeans (i.e., monitoring) as well as methods to manage (locate/create/delete) JMS Module configuration entities (descriptor beans) in a given module.

Note: BEA recommends that the use of the create (distributed)queue/topic methods be strictly limited, as they directly modify the associated JMS Module configuration (your-jms.xml) file and provide minimal feedback for detecting success or failure.


Constructor Summary
JMSModuleHelper()
           
 
Method Summary
static void createConnectionFactory(Context ctx, String resourceName, String factoryName, String factoryJndiName, String targetName)
          Creates a JMS connection factory in the given JMS System resource module
static void createConnectionFactory(Context ctx, String resourceName, String factoryName, String factoryJndiName, String targetName, JMSNamedEntityModifier modifier)
          Creates a JMS connection factory in the given JMS System resource module
static void createConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String factoryName, String factoryJndiName, String targetName)
          Creates a JMS connection factory in the given JMS System resource module
static void createConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String factoryName, String factoryJndiName, String targetName, JMSNamedEntityModifier modifier)
          Creates a JMS connection factory in the given JMS System resource module
static void createDestinationKey(Context ctx, String resourceName, String destinationKeyName, String property, String keyType, String sortOrder)
          Creates a DestinationKey Bean in the given JMS system resource module
static void createDestinationKey(Context ctx, String resourceName, String destinationKeyName, String property, String keyType, String sortOrder, JMSNamedEntityModifier modifier)
          Creates a DestinationKey Bean in the given JMS system resource module
static void createDestinationKey(weblogic.management.configuration.DomainMBean domain, String resourceName, String destinationKeyName, String property, String keyType, String sortOrder)
          Creates a DestinationKey Bean in the given JMS system resource module
static void createDestinationKey(weblogic.management.configuration.DomainMBean domain, String resourceName, String destinationKeyName, String property, String keyType, String sortOrder, JMSNamedEntityModifier modifier)
          Creates a DestinationKey Bean in the given JMS system resource module
static void createDistributedQueue(Context ctx, String resourceName, String distributedQueueName, String jndiName)
          Create a distributed queue and its members in the given JMS Module and target them on the specified JMS servers
static void createDistributedQueue(Context ctx, String resourceName, String distributedQueueName, String jndiName, JMSNamedEntityModifier modifier)
          Create a distributed queue and its members in the given JMS Module and target them on the specified JMS servers
static void createDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String jndiName)
          Create a distributed queue and its members in the given JMS Module and target them on the specified JMS servers
static void createDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String jndiName, JMSNamedEntityModifier modifier)
          Create a distributed queue and its members in the given JMS Module and target them on the specified JMS servers
static void createDistributedQueueMember(Context ctx, String resourceName, String distributedQueueName, String distributedQueueMemberName, int weight)
          Create a distributed queue member for a given distributed queue in a given JMS Module.
static void createDistributedQueueMember(Context ctx, String resourceName, String distributedQueueName, String distributedQueueMemberName, int weight, JMSNamedEntityModifier modifier)
          Create a distributed queue member for a given distributed queue in a given JMS Module.
static void createDistributedQueueMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String distributedQueueMemberName, int weight)
          Create a distributed queue member for a given distributed queue in a given JMS Module.
static void createDistributedQueueMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String distributedQueueMemberName, int weight, JMSNamedEntityModifier modifier)
          Create a distributed queue member for a given distributed queue in a given JMS Module.
static void createDistributedTopic(Context ctx, String resourceName, String distributedTopicName, String jndiName)
          Create a distributed topic and its members in the given JMS Module and target them on the specified JMS servers.
static void createDistributedTopic(Context ctx, String resourceName, String distributedTopicName, String jndiName, JMSNamedEntityModifier modifier)
          Create a distributed topic and its members in the given JMS Module and target them on the specified JMS servers.
static void createDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String jndiName)
          Create a distributed topic and its members in the given JMS Module and target them on the specified JMS servers.
static void createDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String jndiName, JMSNamedEntityModifier modifier)
          Create a distributed topic and its members in the given JMS Module and target them on the specified JMS servers.
static void createDistributedTopicMember(Context ctx, String resourceName, String distributedTopicName, String distributedTopicMemberName, int weight)
          Create a distributed topic member for a given distributed topic in a given JMS Module.
static void createDistributedTopicMember(Context ctx, String resourceName, String distributedTopicName, String distributedTopicMemberName, int weight, JMSNamedEntityModifier modifier)
          Create a distributed topic member for a given distributed topic in a given JMS Module.
static void createDistributedTopicMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String distributedTopicMemberName, int weight)
          Create a distributed topic member for a given distributed topic in a given JMS Module.
static void createDistributedTopicMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String distributedTopicMemberName, int weight, JMSNamedEntityModifier modifier)
          Create a distributed topic member for a given distributed topic in a given JMS Module.
static void createForeignConnectionFactory(Context ctx, String resourceName, String foreignServerName, String foreignConnectionFactoryName, String localJNDIName, String remoteJNDIName, String username, String password)
          Creates a foreign JMS connection factgory in a given foreign server of a JMS system resource module
static void createForeignConnectionFactory(Context ctx, String resourceName, String foreignServerName, String foreignConnectionFactoryName, String localJNDIName, String remoteJNDIName, String username, String password, JMSNamedEntityModifier modifier)
          Creates a foreign JMS connection factgory in a given foreign server of a JMS system resource module
static void createForeignConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignConnectionFactoryName, String localJNDIName, String remoteJNDIName, String username, String password)
          Creates a foreign JMS connection factgory in a given foreign server of a JMS system resource module
static void createForeignConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignConnectionFactoryName, String localJNDIName, String remoteJNDIName, String username, String password, JMSNamedEntityModifier modifier)
          Creates a foreign JMS connection factgory in a given foreign server of a JMS system resource module
static void createForeignDestination(Context ctx, String resourceName, String foreignServerName, String foreignDestinationName, String localJNDIName, String remoteJNDIName)
          Creates a foreign JMS destination in a given foreign server of a JMS system resource module
static void createForeignDestination(Context ctx, String resourceName, String foreignServerName, String foreignDestinationName, String localJNDIName, String remoteJNDIName, JMSNamedEntityModifier modifier)
          Creates a foreign JMS destination in a given foreign server of a JMS system resource module
static void createForeignDestination(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignDestinationName, String localJNDIName, String remoteJNDIName)
          Creates a foreign JMS destination in a given foreign server of a JMS system resource module
static void createForeignDestination(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignDestinationName, String localJNDIName, String remoteJNDIName, JMSNamedEntityModifier modifier)
          Creates a foreign JMS destination in a given foreign server of a JMS system resource module
static void createForeignServer(Context ctx, String resourceName, String foreignServerName, String targetName)
          Creates a foriegn JMS server in a given JMS system resource module
static void createForeignServer(Context ctx, String resourceName, String foreignServerName, String targetName, JMSNamedEntityModifier modifier)
          Creates a foriegn JMS server in a given JMS system resource module
static void createForeignServer(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String targetName)
          Creates a foriegn JMS server in a given JMS system resource module
static void createForeignServer(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String targetName, JMSNamedEntityModifier modifier)
          Creates a foriegn JMS server in a given JMS system resource module
static void createJMSServer(Context ctx, String jmsServerName, String targetName)
          Creates a JMSServer in a given WebLogic domain.
static void createJMSServer(weblogic.management.configuration.DomainMBean domain, String jmsServerName, String targetName)
          Creates a JMSServer in a given WebLogic domain.
static void createJMSSystemResource(Context ctx, String resourceName, String targetName)
          Creates a JMS System resource in the given domain idenetified by the ctx
static void createJMSSystemResource(weblogic.management.configuration.DomainMBean domain, String resourceName, String targetName)
          Creates a JMS System resource in the given domain idenetified by the ctx
static void createQueue(Context ctx, String resourceName, String jmsServerName, String queueName, String jndiName)
          Creates a JMS queue in a given JMS system resource module.
static void createQueue(Context ctx, String resourceName, String jmsServerName, String queueName, String jndiName, JMSNamedEntityModifier modifier)
          Creates a JMS queue in a given JMS system resource module.
static void createQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String jmsServerName, String queueName, String jndiName)
          Creates a JMS queue in a given JMS system resource module.
static void createQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String jmsServerName, String queueName, String jndiName, JMSNamedEntityModifier modifier)
          Creates a JMS queue in a given JMS system resource module.
static void createQuota(Context ctx, String resourceName, String quotaName, String targetName)
          Creates the QuotaBean in the given JMS system resource module
static void createQuota(Context ctx, String resourceName, String quotaName, String targetName, JMSNamedEntityModifier modifier)
          Creates the QuotaBean in the given JMS system resource module
static void createQuota(weblogic.management.configuration.DomainMBean domain, String resourceName, String quotaName, String targetName)
          Creates the QuotaBean in the given JMS system resource module
static void createQuota(weblogic.management.configuration.DomainMBean domain, String resourceName, String quotaName, String targetName, JMSNamedEntityModifier modifier)
          Creates the QuotaBean in the given JMS system resource module
static void createSAFAgent(Context ctx, String safAgentName, String targetName)
          Creates a SAFAgent in a given WebLogic domain.
static void createSAFAgent(weblogic.management.configuration.DomainMBean domain, String safAgentName, String targetName)
          Creates a SAFAgent in a given WebLogic domain.
static void createSAFErrorHandling(Context ctx, String resourceName, String safErrorHandlingName)
          Creates a SAF error handling in a given JMS system resource
static void createSAFErrorHandling(Context ctx, String resourceName, String safErrorHandlingName, JMSNamedEntityModifier modifier)
          Creates a SAF error handling in a given JMS system resource
static void createSAFErrorHandling(weblogic.management.configuration.DomainMBean domain, String resourceName, String safErrorHandlingName)
          Creates a SAF error handling in a given JMS system resource
static void createSAFErrorHandling(weblogic.management.configuration.DomainMBean domain, String resourceName, String safErrorHandlingName, JMSNamedEntityModifier modifier)
          Creates a SAF error handling in a given JMS system resource
static void createSAFImportedDestinations(Context ctx, String resourceName, String safImportedDestinationsName, String safRemoteContextName, String targetName)
          Creates a SAF imported destination group in a given JMS system resource
static void createSAFImportedDestinations(Context ctx, String resourceName, String safImportedDestinationsName, String safRemoteContextName, String targetName, JMSNamedEntityModifier modifier)
          Creates a SAF imported destination group in a given JMS system resource
static void createSAFImportedDestinations(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safRemoteContextName, String targetName)
          Creates a SAF imported destination group in a given JMS system resource
static void createSAFImportedDestinations(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safRemoteContextName, String targetName, JMSNamedEntityModifier modifier)
          Creates a SAF imported destination group in a given JMS system resource
static void createSAFQueue(Context ctx, String resourceName, String safImportedDestinationsName, String safQueueName, String safQueueRemoteJNDIName)
          Creates a SAF queue in a given SAF imported destinations group of JMS system resource module
static void createSAFQueue(Context ctx, String resourceName, String safImportedDestinationsName, String safQueueName, String safQueueRemoteJNDIName, JMSNamedEntityModifier modifier)
          Creates a SAF queue in a given SAF imported destinations group of JMS system resource module
static void createSAFQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safQueueName, String safQueueRemoteJNDIName)
          Creates a SAF queue in a given SAF imported destinations group of JMS system resource module
static void createSAFQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safQueueName, String safQueueRemoteJNDIName, JMSNamedEntityModifier modifier)
          Creates a SAF queue in a given SAF imported destinations group of JMS system resource module
static void createSAFRemoteContext(Context ctx, String resourceName, String safRemoteContextName)
          Creates a SAF remote context in a given JMS system resource
static void createSAFRemoteContext(Context ctx, String resourceName, String safRemoteContextName, JMSNamedEntityModifier modifier)
          Creates a SAF remote context in a given JMS system resource
static void createSAFRemoteContext(weblogic.management.configuration.DomainMBean domain, String resourceName, String safRemoteContextName)
          Creates a SAF remote context in a given JMS system resource
static void createSAFRemoteContext(weblogic.management.configuration.DomainMBean domain, String resourceName, String safRemoteContextName, JMSNamedEntityModifier modifier)
          Creates a SAF remote context in a given JMS system resource
static void createSAFTopic(Context ctx, String resourceName, String safImportedDestinationsName, String safTopicName, String safTopicRemoteJNDIName)
          Creates a SAF topic in a given SAF imported destinations group of JMS system resource module
static void createSAFTopic(Context ctx, String resourceName, String safImportedDestinationsName, String safTopicName, String safTopicRemoteJNDIName, JMSNamedEntityModifier modifier)
          Creates a SAF topic in a given SAF imported destinations group of JMS system resource module
static void createSAFTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safTopicName, String safTopicRemoteJNDIName)
          Creates a SAF topic in a given SAF imported destinations group of JMS system resource module
static void createSAFTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safTopicName, String safTopicRemoteJNDIName, JMSNamedEntityModifier modifier)
          Creates a SAF topic in a given SAF imported destinations group of JMS system resource module
static void createTemplate(Context ctx, String resourceName, String templateName)
          Creates a TemplateBean in the given JMS resource using Context provided
static void createTemplate(Context ctx, String resourceName, String templateName, JMSNamedEntityModifier modifier)
          Creates a TemplateBean in the given JMS resource using Context provided
static void createTemplate(weblogic.management.configuration.DomainMBean domain, String resourceName, String templateName)
          Creates a TemplateBean in the given JMS resource using Context provided
static void createTemplate(weblogic.management.configuration.DomainMBean domain, String resourceName, String templateName, JMSNamedEntityModifier modifier)
          Creates a TemplateBean in the given JMS resource using Context provided
static void createTopic(Context ctx, String resourceName, String jmsServerName, String topicName, String jndiName)
          Creates a JMS topic in a given JMS system resource module This method updates the following: The JMS system resource with the given resource name is modified by this call.
static void createTopic(Context ctx, String resourceName, String jmsServerName, String topicName, String jndiName, JMSNamedEntityModifier modifier)
          Creates a JMS topic in a given JMS system resource module This method updates the following: The JMS system resource with the given resource name is modified by this call.
static void createTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String jmsServerName, String topicName, String jndiName)
          Creates a JMS topic in a given JMS system resource module This method updates the following: The JMS system resource with the given resource name is modified by this call.
static void createTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String jmsServerName, String topicName, String jndiName, JMSNamedEntityModifier modifier)
          Creates a JMS topic in a given JMS system resource module This method updates the following: The JMS system resource with the given resource name is modified by this call.
static void createUniformDistributedQueue(Context ctx, String resourceName, String uniformDistributedQueueName, String jndiName, String targetName)
          Create a uniform distributed queue in the given JMS Module and target it as stated.
static void createUniformDistributedQueue(Context ctx, String resourceName, String uniformDistributedQueueName, String jndiName, String targetName, JMSNamedEntityModifier modifier)
          Create a uniform distributed queue in the given JMS Module and target it as stated.
static void createUniformDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String uniformDistributedQueueName, String jndiName, String targetName)
          Create a uniform distributed queue in the given JMS Module and target it as stated.
static void createUniformDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String uniformDistributedQueueName, String jndiName, String targetName, JMSNamedEntityModifier modifier)
          Create a uniform distributed queue in the given JMS Module and target it as stated.
static void createUniformDistributedTopic(Context ctx, String resourceName, String uniformDistributedTopicName, String jndiName, String targetName)
          Create a uniform distributed topic in the given JMS Module and target it as stated.
static void createUniformDistributedTopic(Context ctx, String resourceName, String uniformDistributedTopicName, String jndiName, String targetName, JMSNamedEntityModifier modifier)
          Create a uniform distributed topic in the given JMS Module and target it as stated.
static void createUniformDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String uniformDistributedTopicName, String jndiName, String targetName)
          Create a uniform distributed topic in the given JMS Module and target it as stated.
static void createUniformDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String uniformDistributedTopicName, String jndiName, String targetName, JMSNamedEntityModifier modifier)
          Create a uniform distributed topic in the given JMS Module and target it as stated.
static void deleteConnectionFactory(Context ctx, String resourceName, String factoryName)
          Deletes a JMS connection factory from the given JMS System resource
static void deleteConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String factoryName)
          Deletes a JMS connection factory from the given JMS System resource
static void deleteDestinationKey(Context ctx, String resourceName, String destinationKeyName)
          Deletes the destination key bean from the given
static void deleteDestinationKey(weblogic.management.configuration.DomainMBean domain, String resourceName, String destinationKeyName)
          Deletes the destination key bean from the given
static void deleteDistributedQueue(Context ctx, String resourceName, String distributedQueueName, boolean deleteMembers)
          Delete a distributed queue and all its members.
static void deleteDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, boolean deleteMembers)
          Delete a distributed queue and all its members.
static void deleteDistributedQueueMember(Context ctx, String resourceName, String distributedQueueName, String distributedQueueMemberName)
          Delete a distributed queue member of a given distributed queue in a given JMS Module.
static void deleteDistributedQueueMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String distributedQueueMemberName)
          Delete a distributed queue member of a given distributed queue in a given JMS Module.
static void deleteDistributedTopic(Context ctx,