|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.jms.extensions.JMSRuntimeHelper
weblogic.jms.extensions.JMSModuleHelper
public class JMSModuleHelper
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,
String resourceName,
String distributedTopicName,
boolean deleteMembers)
Delete a distributed topic and all its members. |
static void |
deleteDistributedTopic(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String distributedTopicName,
boolean deleteMembers)
Delete a distributed topic and all its members. |
static void |
deleteDistributedTopicMember(Context ctx,
String resourceName,
String distributedTopicName,
String distributedTopicMemberName)
Delete a distributed topic member of a given distributed topic in a given JMS Module. |
static void |
deleteDistributedTopicMember(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String distributedTopicName,
String distributedTopicMemberName)
Delete a distributed topic member of a given distributed topic in a given JMS Module. |
static void |
deleteForeignConnectionFactory(Context ctx,
String resourceName,
String foreignServerName,
String foreignConnectionFactoryName)
Delete a foreign connection factory from the given foreign server in a resource |
static void |
deleteForeignConnectionFactory(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String foreignServerName,
String foreignConnectionFactoryName)
Delete a foreign connection factory from the given foreign server in a resource |
static void |
deleteForeignDestination(Context ctx,
String resourceName,
String foreignServerName,
String foreignDestinationName)
Delete a foreign destination from a given foreignServer in a resource |
static void |
deleteForeignDestination(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String foreignServerName,
String foreignDestinationName)
Delete a foreign destination from a given foreignServer in a resource |
static void |
deleteForeignServer(Context ctx,
String resourceName,
String foreignServerName)
Delete a foreign server and all its foreign connection factories and foreign destinations. |
static void |
deleteForeignServer(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String foreignServerName)
Delete a foreign server and all its foreign connection factories and foreign destinations. |
static void |
deleteJMSServer(Context ctx,
String jmsServerName)
Delete a JMSServer from the given WebLogic domain. |
static void |
deleteJMSServer(weblogic.management.configuration.DomainMBean domain,
String jmsServerName)
Delete a JMSServer from the given WebLogic domain. |
static void |
deleteJMSSystemResource(Context ctx,
String resourceName)
Removes the given JMS System Resource from the domain identified by admin URL |
static void |
deleteJMSSystemResource(weblogic.management.configuration.DomainMBean domain,
String resourceName)
Removes the given JMS System Resource from the domain identified by admin URL |
static void |
deleteQueue(Context ctx,
String resourceName,
String queueName)
Deletes a JMS queue from the given JMS system resource module. |
static void |
deleteQueue(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String queueName)
Deletes a JMS queue from the given JMS system resource module. |
static void |
deleteQuota(Context ctx,
String resourceName,
String quotaName)
Deletes the QuotaBean from the given JMS System resource module |
static void |
deleteQuota(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String quotaName)
Deletes the QuotaBean from the given JMS System resource module |
static void |
deleteSAFAgent(Context ctx,
String safAgentName)
Delete a SAFAgent from the given WebLogic domain. |
static void |
deleteSAFAgent(weblogic.management.configuration.DomainMBean domain,
String safAgentName)
Delete a SAFAgent from the given WebLogic domain. |
static void |
deleteSAFErrorHandling(Context ctx,
String resourceName,
String safErrorHandlingName)
Delete a SAF error handling. |
static void |
deleteSAFErrorHandling(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String safErrorHandlingName)
Delete a SAF error handling. |
static void |
deleteSAFImportedDestinations(Context ctx,
String resourceName,
String safImportedDestinationsName)
Delete a SAF imported destinations and all its SAF queues and SAF topics. |
static void |
deleteSAFImportedDestinations(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String safImportedDestinationsName)
Delete a SAF imported destinations and all its SAF queues and SAF topics. |
static void |
deleteSAFQueue(Context ctx,
String resourceName,
String safImportedDestinationsName,
String safQueueName)
Delete a SAF Queue from a given SAF imported Destinations. |
static void |
deleteSAFQueue(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String safImportedDestinationsName,
String safQueueName)
Delete a SAF Queue from a given SAF imported Destinations. |
static void |
deleteSAFRemoteContext(Context ctx,
String resourceName,
String safRemoteContextName)
Delete a SAF remote context. |
static void |
deleteSAFRemoteContext(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String safRemoteContextName)
Delete a SAF remote context. |
static void |
deleteSAFTopic(Context ctx,
String resourceName,
String safImportedDestinationsName,
String safTopicName)
Delete a SAF Topic from a given SAF imported Destinations. |
static void |
deleteSAFTopic(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String safImportedDestinationsName,
String safTopicName)
Delete a SAF Topic from a given SAF imported Destinations. |
static void |
deleteTemplate(Context ctx,
String resourceName,
String templateName)
Deletes the TemplateBean from a given JMS system resource module |
static void |
deleteTemplate(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String templateName)
Deletes the TemplateBean from a given JMS system resource module |
static void |
deleteTopic(Context ctx,
String resourceName,
String topicName)
Deletes a JMS topic from the given JMS system resource module. |
static void |
deleteTopic(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String topicName)
Deletes a JMS topic from the given JMS system resource module. |
static void |
deleteUniformDistributedQueue(Context ctx,
String resourceName,
String queueName)
Deletes a JMS uniform distributed queue from the given JMS system resource module. |
static void |
deleteUniformDistributedQueue(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String queueName)
Deletes a JMS uniform distributed queue from the given JMS system resource module. |
static void |
deleteUniformDistributedTopic(Context ctx,
String resourceName,
String topicName)
Deletes a JMS uniform distributed topic from the given JMS system resource module. |
static void |
deleteUniformDistributedTopic(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String topicName)
Deletes a JMS uniform distributed topic from the given JMS system resource module. |
static void |
deployJMSServer(Context ctx,
String jmsServerName,
String targetName)
Deploy a JMSServer and in turn advertise all the destinations on that JMSServer to the JNDI tree of the target server. |
static void |
deployJMSServer(weblogic.management.configuration.DomainMBean domain,
String jmsServerName,
String targetName)
Deploy a JMSServer and in turn advertise all the destinations on that JMSServer to the JNDI tree of the target server. |
static void |
deploySAFAgent(Context ctx,
String safAgentName,
String targetName)
Deploy a SAFAgent and in turn advertise all the imported destinations of that SAFAgent to the JNDI tree of the target servers/clusters. |
static void |
deploySAFAgent(weblogic.management.configuration.DomainMBean domain,
String safAgentName,
String targetName)
Deploy a SAFAgent and in turn advertise all the imported destinations of that SAFAgent to the JNDI tree of the target servers/clusters. |
static weblogic.j2ee.descriptor.wl.DestinationBean[] |
findAllInheritedDestinations(String templateName,
weblogic.j2ee.descriptor.wl.JMSBean module)
Returns an array of all the JMS destinations(queues/topics) that are inherited from the given Template (name) |
static weblogic.j2ee.descriptor.wl.QueueBean[] |
findAllInheritedQueueBeans(String templateName,
weblogic.j2ee.descriptor.wl.JMSBean module)
Finder that returns all the QueueBeans that inherit from the given TemplateBean in a JMS Module |
static weblogic.j2ee.descriptor.wl.TopicBean[] |
findAllInheritedTopicBeans(String templateName,
weblogic.j2ee.descriptor.wl.JMSBean module)
Finder that returns all the TopicBeans that inherit from the given TemplateBean in a JMS Module |
static void |
findAndModifyEntity(Context ctx,
String resourceName,
String entityName,
String entityType,
JMSNamedEntityModifier modifier)
Helper API to find and modify a JMS Module managed entity from the given JMS system resource. |
static void |
findAndModifyEntity(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String entityName,
String entityType,
JMSNamedEntityModifier modifier)
Helper API to find and modify a JMS Module managed entity from the given JMS system resource. |
static weblogic.j2ee.descriptor.wl.DestinationBean |
findDestinationBean(String name,
weblogic.j2ee.descriptor.wl.JMSBean module)
Finder for DestinationBean in a JMS Module |
static weblogic.management.configuration.JMSSystemResourceMBean |
findJMSSystemResource(Context ctx,
String resourceName)
Finder for a JMSSystemResourceMBean in a given WebLogic Domain |
static String[] |
getDistributedQueueMemberJndiNames(Context ctx,
String resourceName,
String distributedQueueName)
Returns an array of distributed queue member JNDI names of given a distributed queue from a given JMS system resource |
static String[] |
getDistributedQueueMemberJndiNames(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String distributedQueueName)
Returns an array of distributed queue member JNDI names of given a distributed queue from a given JMS system resource |
static String[] |
getDistributedQueueMemberNames(Context ctx,
String resourceName,
String distributedQueueName)
Returns an array of distributed queue member names of given a distributed queue from a given JMS system resource |
static String[] |
getDistributedQueueMemberNames(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String distributedQueueName)
Returns an array of distributed queue member names of given a distributed queue from a given JMS system resource |
static String[] |
getDistributedTopicMemberJndiNames(Context ctx,
String resourceName,
String distributedTopicName)
Returns an array of distributed topic member JNDI names of given a distributed topic from a given JMS system resource |
static String[] |
getDistributedTopicMemberJndiNames(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String distributedTopicName)
Returns an array of distributed topic member JNDI names of given a distributed topic from a given JMS system resource |
static String[] |
getDistributedTopicMemberNames(Context ctx,
String resourceName,
String distributedTopicName)
Returns an array of distributed topic member names of given a distributed topic from a given JMS system resource |
static String[] |
getDistributedTopicMemberNames(weblogic.management.configuration.DomainMBean domain,
String resourceName,
String distributedTopicName)
Returns an array of distributed topic member names of given a distributed topic from a given JMS system resource |
static String |
uddMemberJNDIName(String jmsServerName,
String name)
Returns the JNDI name of a Uniform Distributed Destination member, given the JNDI name of the Uniform Distributed Destination and the JMS server upon which the member is deployed or to be deployed. |
static String |
uddMemberName(String jmsServerName,
String name)
Returns the member name of a Uniform Distributed Destination, given the name of the Uniform Distributed Destination and the JMS server upon which the member is deployed or to be deployed. |
static void |
undeployJMSServer(Context ctx,
String jmsServerName)
Undeploy a JMSServer and in turn unadvertises all the destinations on that JMSServer from the JNDI tree of the target server. |
static void |
undeployJMSServer(weblogic.management.configuration.DomainMBean domain,
String jmsServerName)
Undeploy a JMSServer and in turn unadvertises all the destinations on that JMSServer from the JNDI tree of the target server. |
static void |
undeploySAFAgent(Context ctx,
String safAgentName)
Undeploy a SAFAgent and in turn unadvertises all the destinations on that SAFAgent from the JNDI tree of the target server. |
static void |
undeploySAFAgent(weblogic.management.configuration.DomainMBean domain,
String safAgentName)
Undeploy a SAFAgent and in turn unadvertises all the destinations on that SAFAgent from the JNDI tree of the target server. |
Methods inherited from class weblogic.jms.extensions.JMSRuntimeHelper |
---|
getJMSConnectionRuntimeMBean, getJMSDestinationRuntimeMBean, getJMSDestinationRuntimeMBean, getJMSMessageConsumerRuntimeMBean, getJMSMessageProducerRuntimeMBean, getJMSServerRuntimeMBean, getJMSServerRuntimeMBean, getJMSSessionRuntimeMBean, newJMSMessageIDToOld, oldJMSMessageIDToNew |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMSModuleHelper()
Method Detail |
---|
public static weblogic.j2ee.descriptor.wl.DestinationBean findDestinationBean(String name, weblogic.j2ee.descriptor.wl.JMSBean module)
name
- Name of DestinationBean to be foundmodule
- Root Bean of JMSModule
public static weblogic.j2ee.descriptor.wl.DestinationBean[] findAllInheritedDestinations(String templateName, weblogic.j2ee.descriptor.wl.JMSBean module)
templateName
- from which the destinationsinheritmodule
- in which to find the inherited destinations
public static weblogic.j2ee.descriptor.wl.QueueBean[] findAllInheritedQueueBeans(String templateName, weblogic.j2ee.descriptor.wl.JMSBean module)
templateName
- Name of TemplateBean to be foundmodule
- Root Bean of JMSModule
public static weblogic.j2ee.descriptor.wl.TopicBean[] findAllInheritedTopicBeans(String templateName, weblogic.j2ee.descriptor.wl.JMSBean module)
templateName
- Name of TemplateBean to be foundmodule
- Root Bean of JMSModule
public static weblogic.management.configuration.JMSSystemResourceMBean findJMSSystemResource(Context ctx, String resourceName) throws JMSException
resourceName
- Name of JMSSystemResourceMBean to be foundctx
- An InitialContext to use for the search
JMSException
public static void createJMSSystemResource(Context ctx, String resourceName, String targetName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the resource to be createdtargetName
- name of the target
JMSException
public static void createJMSSystemResource(weblogic.management.configuration.DomainMBean domain, String resourceName, String targetName) throws JMSException
domain
- current edit tree domainresourceName
- name of the resource to be createdtargetName
- name of the target
JMSException
public static void deleteJMSSystemResource(Context ctx, String resourceName) throws JMSException
ctx
- initial context of the serverresourceName
- name of the JMS system resource to be removed
JMSException
public static void deleteJMSSystemResource(weblogic.management.configuration.DomainMBean domain, String resourceName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resource to be removed
JMSException
public static void createTemplate(Context ctx, String resourceName, String templateName) throws JMSException
ctx
- initial context of the admin serverresourceName
- JMS system resource nametemplateName
- name of the template to be created
JMSException
public static void createTemplate(weblogic.management.configuration.DomainMBean domain, String resourceName, String templateName) throws JMSException
domain
- current edit tree domainresourceName
- JMS system resource nametemplateName
- name of the template to be created
JMSException
public static void createTemplate(Context ctx, String resourceName, String templateName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- JMS system resource nametemplateName
- name of the template to be createdmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void createTemplate(weblogic.management.configuration.DomainMBean domain, String resourceName, String templateName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- JMS system resource nametemplateName
- name of the template to be createdmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void deleteTemplate(Context ctx, String resourceName, String templateName) throws JMSException
ctx
- initial context of the admin serverresourceName
- JMS system resource nametemplateName
- name of the template to be deleted
JMSException
public static void deleteTemplate(weblogic.management.configuration.DomainMBean domain, String resourceName, String templateName) throws JMSException
domain
- current edit tree domainresourceName
- JMS system resource nametemplateName
- name of the template to be deleted
JMSException
public static void createQuota(Context ctx, String resourceName, String quotaName, String targetName) throws JMSException
ctx
- initial context of the admin serverresourceName
- JMS system source modulequotaName
- Name of the quota bean to be createdtargetName
- name of the target
JMSException
public static void createQuota(weblogic.management.configuration.DomainMBean domain, String resourceName, String quotaName, String targetName) throws JMSException
domain
- current edit tree domainresourceName
- JMS system source modulequotaName
- Name of the quota bean to be createdtargetName
- name of the target
JMSException
public static void createQuota(Context ctx, String resourceName, String quotaName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- JMS system source modulequotaName
- Name of the quota bean to be createdmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void createQuota(weblogic.management.configuration.DomainMBean domain, String resourceName, String quotaName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- JMS system source modulequotaName
- Name of the quota bean to be createdmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void deleteQuota(Context ctx, String resourceName, String quotaName) throws JMSException
ctx
- initial context of the admin serverresourceName
- JMS System resource namequotaName
- Name of the quota bean to be deleted
JMSException
public static void deleteQuota(weblogic.management.configuration.DomainMBean domain, String resourceName, String quotaName) throws JMSException
domain
- current edit tree domainresourceName
- JMS System resource namequotaName
- Name of the quota bean to be deleted
JMSException
public static void createDestinationKey(Context ctx, String resourceName, String destinationKeyName, String property, String keyType, String sortOrder) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS system resource moduledestinationKeyName
- name of the destination keyproperty
- name of the header propertykeyType
- type of the header propertysortOrder
- sorting order
JMSException
public static void createDestinationKey(weblogic.management.configuration.DomainMBean domain, String resourceName, String destinationKeyName, String property, String keyType, String sortOrder) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resource moduledestinationKeyName
- name of the destination keyproperty
- name of the header propertykeyType
- type of the header propertysortOrder
- sorting order
JMSException
public static void createDestinationKey(Context ctx, String resourceName, String destinationKeyName, String property, String keyType, String sortOrder, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS system resource moduledestinationKeyName
- name of the destination keyproperty
- name of the header propertykeyType
- type of the header propertysortOrder
- sorting ordermodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void createDestinationKey(weblogic.management.configuration.DomainMBean domain, String resourceName, String destinationKeyName, String property, String keyType, String sortOrder, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resource moduledestinationKeyName
- name of the destination keyproperty
- name of the header propertykeyType
- type of the header propertysortOrder
- sorting ordermodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void deleteDestinationKey(Context ctx, String resourceName, String destinationKeyName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS system resourcedestinationKeyName
- name of the destination key
JMSException
public static void deleteDestinationKey(weblogic.management.configuration.DomainMBean domain, String resourceName, String destinationKeyName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resourcedestinationKeyName
- name of the destination key
JMSException
public static void createConnectionFactory(Context ctx, String resourceName, String factoryName, String factoryJndiName, String targetName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resource in which to create the
connection factoryfactoryName
- name of the JMS connection factoryfactoryJndiName
- JNDI name of the connection factorytargetName
- name of the target
JMSException
public static void createConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String factoryName, String factoryJndiName, String targetName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resource in which to create the
connection factoryfactoryName
- name of the JMS connection factoryfactoryJndiName
- JNDI name of the connection factorytargetName
- name of the target
JMSException
public static void createConnectionFactory(Context ctx, String resourceName, String factoryName, String factoryJndiName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resource in which to create the
connection factoryfactoryName
- name of the JMS connection factoryfactoryJndiName
- JNDI name of the connection factorytargetName
- name of the targetmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void createConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String factoryName, String factoryJndiName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resource in which to create the
connection factoryfactoryName
- name of the JMS connection factoryfactoryJndiName
- JNDI name of the connection factorytargetName
- name of the targetmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void deleteConnectionFactory(Context ctx, String resourceName, String factoryName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resource modulefactoryName
- name of the connection factory to be deleted
JMSException
public static void deleteConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String factoryName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resource modulefactoryName
- name of the connection factory to be deleted
JMSException
public static void createQueue(Context ctx, String resourceName, String jmsServerName, String queueName, String jndiName) throws JMSException
Note: The createQueue() method call can fail without throwing an exception. In addition, a thrown exception does not necessarily indicate that the method call failed.
The time required to create the destination in the module and propagate the information on the JNDI namespace can be significant. The propagation delay increases if the environment contains multiple servers. It is recommended that you test for the existence of the queue using the session createQueue() method, rather than performing a JNDI lookup. By doing so, you can avoid some of the propagation-specific delays.
ctx
- JNDI initial contextresourceName
- The name of the JMSSystemResource to modifyjmsServerName
- name of the JMS serverqueueName
- name of the JMS queuejndiName
- name used to lookup the destination
within the JNDI namespace.
JMSException
- if a JMS error occursJMSModuleHelper.createTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
QueueSession.createQueue(java.lang.String)
public static void createQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String jmsServerName, String queueName, String jndiName) throws JMSException
Note: The createQueue() method call can fail without throwing an exception. In addition, a thrown exception does not necessarily indicate that the method call failed.
The time required to create the destination in the module and propagate the information on the JNDI namespace can be significant. The propagation delay increases if the environment contains multiple servers. It is recommended that you test for the existence of the queue using the session createQueue() method, rather than performing a JNDI lookup. By doing so, you can avoid some of the propagation-specific delays.
domain
- current edit tree domainresourceName
- The name of the JMSSystemResource to modifyjmsServerName
- name of the JMS serverqueueName
- name of the JMS queuejndiName
- name used to lookup the destination
within the JNDI namespace.
JMSException
- if a JMS error occursJMSModuleHelper.createTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
QueueSession.createQueue(java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createQueue(Context ctx, String resourceName, String jmsServerName, String queueName, String jndiName, JMSNamedEntityModifier modifier) throws JMSException
Note: The createQueue() method call can fail without throwing an exception. In addition, a thrown exception does not necessarily indicate that the method call failed.
The time required to create the destination in the module and propagate the information on the JNDI namespace can be significant. The propagation delay increases if the environment contains multiple servers. It is recommended that you test for the existence of the queue using the session createQueue() method, rather than performing a JNDI lookup. By doing so, you can avoid some of the propagation-specific delays.
ctx
- JNDI initial contextresourceName
- The name of the JMSSystemResource to modifyjmsServerName
- name of the JMS serverqueueName
- name of the JMS queuejndiName
- name used to lookup the destination
within the JNDI namespace.modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
- if a JMS error occursJMSModuleHelper.createTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
QueueSession.createQueue(java.lang.String)
public static void createQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String jmsServerName, String queueName, String jndiName, JMSNamedEntityModifier modifier) throws JMSException
Note: The createQueue() method call can fail without throwing an exception. In addition, a thrown exception does not necessarily indicate that the method call failed.
The time required to create the destination in the module and propagate the information on the JNDI namespace can be significant. The propagation delay increases if the environment contains multiple servers. It is recommended that you test for the existence of the queue using the session createQueue() method, rather than performing a JNDI lookup. By doing so, you can avoid some of the propagation-specific delays.
domain
- current edit tree domainresourceName
- The name of the JMSSystemResource to modifyjmsServerName
- name of the JMS serverqueueName
- name of the JMS queuejndiName
- name used to lookup the destination
within the JNDI namespace.modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
- if a JMS error occursJMSModuleHelper.createTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
QueueSession.createQueue(java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteQueue(Context ctx, String resourceName, String queueName) throws JMSException
A thrown exception does not necessarily indicate that the method call failed.
ctx
- JNDI initial context.resourceName
- JMS resource name from where the queue will be deletedqueueName
- name of the JMS queue
weblogic.jms.common.JMSException
- if a JMS error occurs
JMSException
JMSModuleHelper.deleteTopic(javax.naming.Context, java.lang.String, java.lang.String)
public static void deleteQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String queueName) throws JMSException
A thrown exception does not necessarily indicate that the method call failed.
domain
- current edit tree domainresourceName
- JMS resource name from where the queue will be deletedqueueName
- name of the JMS queue
weblogic.jms.common.JMSException
- if a JMS error occurs
JMSException
JMSModuleHelper.deleteTopic(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createTopic(Context ctx, String resourceName, String jmsServerName, String topicName, String jndiName) throws JMSException
Note: The createTopic() method call can fail without throwing an exception. In addition, a thrown exception does not necessarily indicate that the method call failed.
The time required to create the destination in the module and propagate the information on the JNDI namespace can be significant. The propagation delay increases if the environment contains multiple servers. It is recommended that you test for the existence of the topic using the session createTopic() method, rather than performing a JNDI lookup. By doing so, you can avoid some of the propagation-specific delays.
ctx
- JNDI initial contextresourceName
- The name of the JMSSystemResource to modifyjmsServerName
- name of the JMS servertopicName
- name of the JMS topicjndiName
- name used to lookup the destination
within the JNDI namespace.
JMSException
- if a JMS error occursJMSModuleHelper.createQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
TopicSession.createTopic(java.lang.String)
public static void createTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String jmsServerName, String topicName, String jndiName) throws JMSException
Note: The createTopic() method call can fail without throwing an exception. In addition, a thrown exception does not necessarily indicate that the method call failed.
The time required to create the destination in the module and propagate the information on the JNDI namespace can be significant. The propagation delay increases if the environment contains multiple servers. It is recommended that you test for the existence of the topic using the session createTopic() method, rather than performing a JNDI lookup. By doing so, you can avoid some of the propagation-specific delays.
domain
- current edit tree domainresourceName
- The name of the JMSSystemResource to modifyjmsServerName
- name of the JMS servertopicName
- name of the JMS topicjndiName
- name used to lookup the destination
within the JNDI namespace.
JMSException
- if a JMS error occursJMSModuleHelper.createQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
TopicSession.createTopic(java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createTopic(Context ctx, String resourceName, String jmsServerName, String topicName, String jndiName, JMSNamedEntityModifier modifier) throws JMSException
Note: The createTopic() method call can fail without throwing an exception. In addition, a thrown exception does not necessarily indicate that the method call failed.
The time required to create the destination in the module and propagate the information on the JNDI namespace can be significant. The propagation delay increases if the environment contains multiple servers. It is recommended that you test for the existence of the topic using the session createTopic() method, rather than performing a JNDI lookup. By doing so, you can avoid some of the propagation-specific delays.
ctx
- JNDI initial contextresourceName
- The name of the JMSSystemResource to modifyjmsServerName
- name of the JMS servertopicName
- name of the JMS topicjndiName
- name used to lookup the destination
within the JNDI namespace.modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
- if a JMS error occursJMSModuleHelper.createQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
TopicSession.createTopic(java.lang.String)
public static void createTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String jmsServerName, String topicName, String jndiName, JMSNamedEntityModifier modifier) throws JMSException
Note: The createTopic() method call can fail without throwing an exception. In addition, a thrown exception does not necessarily indicate that the method call failed.
The time required to create the destination in the module and propagate the information on the JNDI namespace can be significant. The propagation delay increases if the environment contains multiple servers. It is recommended that you test for the existence of the topic using the session createTopic() method, rather than performing a JNDI lookup. By doing so, you can avoid some of the propagation-specific delays.
domain
- current edit tree domainresourceName
- The name of the JMSSystemResource to modifyjmsServerName
- name of the JMS servertopicName
- name of the JMS topicjndiName
- name used to lookup the destination
within the JNDI namespace.modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
- if a JMS error occursJMSModuleHelper.createQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
TopicSession.createTopic(java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteTopic(Context ctx, String resourceName, String topicName) throws JMSException
A thrown exception does not necessarily indicate that the method call failed.
ctx
- JNDI initial context.resourceName
- JMS resource name from where topic will be deletedtopicName
- name of the JMS topic
weblogic.jms.common.ConfigurationException
- if a JMS error occurs
JMSException
JMSModuleHelper.deleteQueue(javax.naming.Context, java.lang.String, java.lang.String)
public static void deleteTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String topicName) throws JMSException
A thrown exception does not necessarily indicate that the method call failed.
domain
- current edit tree domainresourceName
- JMS resource name from where topic will be deletedtopicName
- name of the JMS topic
weblogic.jms.common.ConfigurationException
- if a JMS error occurs
JMSException
JMSModuleHelper.deleteQueue(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createDistributedQueue(Context ctx, String resourceName, String distributedQueueName, String jndiName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createjndiName
- the name to give the distributed queue in JNDI
JMSException
JMSModuleHelper.createDistributedTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void createDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String jndiName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createjndiName
- the name to give the distributed queue in JNDI
JMSException
JMSModuleHelper.createDistributedTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createDistributedQueue(Context ctx, String resourceName, String distributedQueueName, String jndiName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createjndiName
- the name to give the distributed queue in JNDImodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void createDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String jndiName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createjndiName
- the name to give the distributed queue in JNDImodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteDistributedQueue(Context ctx, String resourceName, String distributedQueueName, boolean deleteMembers) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name from where the distributed queue
will be deleteddistributedQueueName
- the name of the distributed queue to delete
JMSException
JMSModuleHelper.deleteDistributedTopic(javax.naming.Context, java.lang.String, java.lang.String, boolean)
public static void deleteDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, boolean deleteMembers) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name from where the distributed queue
will be deleteddistributedQueueName
- the name of the distributed queue to delete
JMSException
JMSModuleHelper.deleteDistributedTopic(javax.naming.Context, java.lang.String, java.lang.String, boolean)
,
weblogic.management.configuration.DomainMBeanpublic static void createDistributedQueueMember(Context ctx, String resourceName, String distributedQueueName, String distributedQueueMemberName, int weight) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createdistributedQueueMemberName
- the name to give the distributed queue member.
Must be equal to the name of the queue to be used as a memberweight
- of this member for when considering for load balancing.
JMSException
JMSModuleHelper.createDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, int)
public static void createDistributedQueueMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String distributedQueueMemberName, int weight) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createdistributedQueueMemberName
- the name to give the distributed queue member.
Must be equal to the name of the queue to be used as a memberweight
- of this member for when considering for load balancing.
JMSException
JMSModuleHelper.createDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, int)
,
weblogic.management.configuration.DomainMBeanpublic static void createDistributedQueueMember(Context ctx, String resourceName, String distributedQueueName, String distributedQueueMemberName, int weight, JMSNamedEntityModifier modifier) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createdistributedQueueMemberName
- the name to give the distributed queue member.
Must be equal to the name of the queue to be used as a memberweight
- of this member for when considering for load balancing.modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, int)
public static void createDistributedQueueMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String distributedQueueMemberName, int weight, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createdistributedQueueMemberName
- the name to give the distributed queue member.
Must be equal to the name of the queue to be used as a memberweight
- of this member for when considering for load balancing.modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, int)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteDistributedQueueMember(Context ctx, String resourceName, String distributedQueueName, String distributedQueueMemberName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createdistributedQueueMemberName
- the name to give the distributed queue member
JMSException
JMSModuleHelper.deleteDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void deleteDistributedQueueMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName, String distributedQueueMemberName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed queue
will be createddistributedQueueName
- the name of the distributed queue to createdistributedQueueMemberName
- the name to give the distributed queue member
JMSException
JMSModuleHelper.deleteDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static String[] getDistributedQueueMemberNames(Context ctx, String resourceName, String distributedQueueName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name where the distributed queue is presentdistributedQueueName
- the name of the distributed queue to
get the member names from
JMSException
public static String[] getDistributedQueueMemberNames(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name where the distributed queue is presentdistributedQueueName
- the name of the distributed queue to
get the member names from
JMSException
public static String[] getDistributedQueueMemberJndiNames(Context ctx, String resourceName, String distributedQueueName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name where the distributed queue is presentdistributedQueueName
- the name of the distributed queue to get
the member JNDI names from
JMSException
public static String[] getDistributedQueueMemberJndiNames(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedQueueName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name where the distributed queue is presentdistributedQueueName
- the name of the distributed queue to get
the member JNDI names from
JMSException
public static void createDistributedTopic(Context ctx, String resourceName, String distributedTopicName, String jndiName) throws JMSException
A JMS template will also be created for the distributed destination with the same name as the destination, and this template will be used as the template for all of the member destinations.
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createjndiName
- the name to give the distributed topic in JNDI
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void createDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String jndiName) throws JMSException
A JMS template will also be created for the distributed destination with the same name as the destination, and this template will be used as the template for all of the member destinations.
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createjndiName
- the name to give the distributed topic in JNDI
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createDistributedTopic(Context ctx, String resourceName, String distributedTopicName, String jndiName, JMSNamedEntityModifier modifier) throws JMSException
A JMS template will also be created for the distributed destination with the same name as the destination, and this template will be used as the template for all of the member destinations.
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createjndiName
- the name to give the distributed topic in JNDImodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void createDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String jndiName, JMSNamedEntityModifier modifier) throws JMSException
A JMS template will also be created for the distributed destination with the same name as the destination, and this template will be used as the template for all of the member destinations.
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createjndiName
- the name to give the distributed topic in JNDImodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteDistributedTopic(Context ctx, String resourceName, String distributedTopicName, boolean deleteMembers) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name from where the distributed topic
will be deleteddistributedTopicName
- the name of the distributed topic to delete
JMSException
JMSModuleHelper.deleteDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, boolean)
public static void deleteDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, boolean deleteMembers) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name from where the distributed topic
will be deleteddistributedTopicName
- the name of the distributed topic to delete
JMSException
JMSModuleHelper.deleteDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, boolean)
,
weblogic.management.configuration.DomainMBeanpublic static void createDistributedTopicMember(Context ctx, String resourceName, String distributedTopicName, String distributedTopicMemberName, int weight) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createdistributedTopicMemberName
- the name to give the distributed topic member.
Must be equal to the name of the topic to use.weight
- of this member for when considering for load balancing.
JMSException
JMSModuleHelper.createDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, int)
public static void createDistributedTopicMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String distributedTopicMemberName, int weight) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createdistributedTopicMemberName
- the name to give the distributed topic member.
Must be equal to the name of the topic to use.weight
- of this member for when considering for load balancing.
JMSException
JMSModuleHelper.createDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, int)
,
weblogic.management.configuration.DomainMBeanpublic static void createDistributedTopicMember(Context ctx, String resourceName, String distributedTopicName, String distributedTopicMemberName, int weight, JMSNamedEntityModifier modifier) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createdistributedTopicMemberName
- the name to give the distributed topic member.
Must be equal to the name of the topic to use.weight
- of this member for when considering for load balancing.modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, int)
public static void createDistributedTopicMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String distributedTopicMemberName, int weight, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createdistributedTopicMemberName
- the name to give the distributed topic member.
Must be equal to the name of the topic to use.weight
- of this member for when considering for load balancing.modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, int)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteDistributedTopicMember(Context ctx, String resourceName, String distributedTopicName, String distributedTopicMemberName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createdistributedTopicMemberName
- the name to give the distributed topic member
JMSException
JMSModuleHelper.deleteDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void deleteDistributedTopicMember(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName, String distributedTopicMemberName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the distributed topic
will be createddistributedTopicName
- the name of the distributed topic to createdistributedTopicMemberName
- the name to give the distributed topic member
JMSException
JMSModuleHelper.deleteDistributedTopicMember(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static String[] getDistributedTopicMemberNames(Context ctx, String resourceName, String distributedTopicName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name where the distributed topic is presentdistributedTopicName
- the name of the distributed topic to
get the member names from
JMSException
public static String[] getDistributedTopicMemberNames(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name where the distributed topic is presentdistributedTopicName
- the name of the distributed topic to
get the member names from
JMSException
public static void createUniformDistributedTopic(Context ctx, String resourceName, String uniformDistributedTopicName, String jndiName, String targetName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the disttributed topic
will be createduniformDistributedTopicName
- the name of the distributed topic to createjndiName
- the name to give the distributed topic in JNDItargetName
- name of the target
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void createUniformDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String uniformDistributedTopicName, String jndiName, String targetName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the disttributed topic
will be createduniformDistributedTopicName
- the name of the distributed topic to createjndiName
- the name to give the distributed topic in JNDItargetName
- name of the target
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createUniformDistributedTopic(Context ctx, String resourceName, String uniformDistributedTopicName, String jndiName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the disttributed topic
will be createduniformDistributedTopicName
- the name of the distributed topic to createjndiName
- the name to give the distributed topic in JNDItargetName
- name of the targetmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void createUniformDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String uniformDistributedTopicName, String jndiName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the disttributed topic
will be createduniformDistributedTopicName
- the name of the distributed topic to createjndiName
- the name to give the distributed topic in JNDItargetName
- name of the targetmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createUniformDistributedQueue(Context ctx, String resourceName, String uniformDistributedQueueName, String jndiName, String targetName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the disttributed queue
will be createduniformDistributedQueueName
- the name of the distributed queue to createjndiName
- the name to give the distributed queue in JNDItargetName
- name of the target
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void createUniformDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String uniformDistributedQueueName, String jndiName, String targetName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the disttributed queue
will be createduniformDistributedQueueName
- the name of the distributed queue to createjndiName
- the name to give the distributed queue in JNDItargetName
- name of the target
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createUniformDistributedQueue(Context ctx, String resourceName, String uniformDistributedQueueName, String jndiName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name in which the disttributed queue
will be createduniformDistributedQueueName
- the name of the distributed queue to createjndiName
- the name to give the distributed queue in JNDItargetName
- name of the targetmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void createUniformDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String uniformDistributedQueueName, String jndiName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name in which the disttributed queue
will be createduniformDistributedQueueName
- the name of the distributed queue to createjndiName
- the name to give the distributed queue in JNDItargetName
- name of the targetmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteUniformDistributedQueue(Context ctx, String resourceName, String queueName) throws JMSException
A thrown exception does not necessarily indicate that the method call failed.
ctx
- JNDI initial context.resourceName
- JMS resource name from where the queue will be deletedqueueName
- name of the JMS uniform distributed queue
weblogic.jms.common.JMSException
- if a JMS error occurs
JMSException
JMSModuleHelper.deleteUniformDistributedTopic(javax.naming.Context, java.lang.String, java.lang.String)
public static void deleteUniformDistributedQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String queueName) throws JMSException
A thrown exception does not necessarily indicate that the method call failed.
domain
- currnent edit tree domainresourceName
- JMS resource name from where the queue will be deletedqueueName
- name of the JMS uniform distributed queue
weblogic.jms.common.JMSException
- if a JMS error occurs
JMSException
JMSModuleHelper.deleteUniformDistributedTopic(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteUniformDistributedTopic(Context ctx, String resourceName, String topicName) throws JMSException
A thrown exception does not necessarily indicate that the method call failed.
ctx
- JNDI initial context.resourceName
- JMS resource name from where the topic will be deletedtopicName
- name of the JMS uniform distributed topic
weblogic.jms.common.JMSException
- if a JMS error occurs
JMSException
JMSModuleHelper.deleteUniformDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String)
public static void deleteUniformDistributedTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String topicName) throws JMSException
A thrown exception does not necessarily indicate that the method call failed.
domain
- current edit tree domainresourceName
- JMS resource name from where the topic will be deletedtopicName
- name of the JMS uniform distributed topic
weblogic.jms.common.JMSException
- if a JMS error occurs
JMSException
JMSModuleHelper.deleteUniformDistributedQueue(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static String[] getDistributedTopicMemberJndiNames(Context ctx, String resourceName, String distributedTopicName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name where the distributed topic is presentdistributedTopicName
- the name of the distributed topic to get
the member JNDI names from
JMSException
public static String[] getDistributedTopicMemberJndiNames(weblogic.management.configuration.DomainMBean domain, String resourceName, String distributedTopicName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name where the distributed topic is presentdistributedTopicName
- the name of the distributed topic to get
the member JNDI names from
JMSException
public static void createForeignServer(Context ctx, String resourceName, String foreignServerName, String targetName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resource in which to create the
foreign serverforeignServerName
- name of the JMS foreign servertargetName
- name of the target
JMSException
public static void createForeignServer(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String targetName) throws JMSException
domain
- currnet edit tree domainresourceName
- name of the JMS System resource in which to create the
foreign serverforeignServerName
- name of the JMS foreign servertargetName
- name of the target
JMSException
public static void createForeignServer(Context ctx, String resourceName, String foreignServerName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resource in which to create the
foreign serverforeignServerName
- name of the JMS foreign servertargetName
- name of the targetmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void createForeignServer(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resource in which to create the
foreign serverforeignServerName
- name of the JMS foreign servertargetName
- name of the targetmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void deleteForeignServer(Context ctx, String resourceName, String foreignServerName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name from where the foreign server
will be deletedforeignServerName
- the name of the foreign server to delete
JMSException
JMSModuleHelper.deleteForeignConnectionFactory(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
JMSModuleHelper.deleteForeignDestination(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void deleteForeignServer(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name from where the foreign server
will be deletedforeignServerName
- the name of the foreign server to delete
JMSException
JMSModuleHelper.deleteForeignConnectionFactory(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
JMSModuleHelper.deleteForeignDestination(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createForeignDestination(Context ctx, String resourceName, String foreignServerName, String foreignDestinationName, String localJNDIName, String remoteJNDIName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourceforeignServerName
- name of the JMS foreign serverforeignDestinationName
- name of the JMS foreign destination to createlocalJNDIName
- local JNDI name of name foreign destinationremoteJNDIName
- remote JNDI name of the foreign destination
JMSException
public static void createForeignDestination(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignDestinationName, String localJNDIName, String remoteJNDIName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourceforeignServerName
- name of the JMS foreign serverforeignDestinationName
- name of the JMS foreign destination to createlocalJNDIName
- local JNDI name of name foreign destinationremoteJNDIName
- remote JNDI name of the foreign destination
JMSException
public static void createForeignDestination(Context ctx, String resourceName, String foreignServerName, String foreignDestinationName, String localJNDIName, String remoteJNDIName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourceforeignServerName
- name of the JMS foreign serverforeignDestinationName
- name of the JMS foreign destination to createlocalJNDIName
- local JNDI name of name foreign destinationremoteJNDIName
- remote JNDI name of the foreign destinationmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void createForeignDestination(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignDestinationName, String localJNDIName, String remoteJNDIName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourceforeignServerName
- name of the JMS foreign serverforeignDestinationName
- name of the JMS foreign destination to createlocalJNDIName
- local JNDI name of name foreign destinationremoteJNDIName
- remote JNDI name of the foreign destinationmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void deleteForeignDestination(Context ctx, String resourceName, String foreignServerName, String foreignDestinationName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name from where the foreign server
will be deletedforeignServerName
- the name of the foreign server from which to deleteforeignDestinationName
- the name of the foreign destination
JMSException
JMSModuleHelper.deleteForeignServer(javax.naming.Context, java.lang.String, java.lang.String)
,
JMSModuleHelper.deleteForeignConnectionFactory(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void deleteForeignDestination(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignDestinationName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name from where the foreign server
will be deletedforeignServerName
- the name of the foreign server from which to deleteforeignDestinationName
- the name of the foreign destination
JMSException
JMSModuleHelper.deleteForeignServer(javax.naming.Context, java.lang.String, java.lang.String)
,
JMSModuleHelper.deleteForeignConnectionFactory(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createForeignConnectionFactory(Context ctx, String resourceName, String foreignServerName, String foreignConnectionFactoryName, String localJNDIName, String remoteJNDIName, String username, String password) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourceforeignServerName
- name of the JMS foreign serverforeignConnectionFactoryName
- name of the JMS foreign connection factgory to createlocalJNDIName
- local JNDI name of name foreign connection factgoryremoteJNDIName
- remote JNDI name of the foreign connection factgoryusername
- user name to create initial contextpassword
- password to create initial context
JMSException
public static void createForeignConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignConnectionFactoryName, String localJNDIName, String remoteJNDIName, String username, String password) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourceforeignServerName
- name of the JMS foreign serverforeignConnectionFactoryName
- name of the JMS foreign connection factgory to createlocalJNDIName
- local JNDI name of name foreign connection factgoryremoteJNDIName
- remote JNDI name of the foreign connection factgoryusername
- user name to create initial contextpassword
- password to create initial context
JMSException
public static void createForeignConnectionFactory(Context ctx, String resourceName, String foreignServerName, String foreignConnectionFactoryName, String localJNDIName, String remoteJNDIName, String username, String password, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourceforeignServerName
- name of the JMS foreign serverforeignConnectionFactoryName
- name of the JMS foreign connection factgory to createlocalJNDIName
- local JNDI name of name foreign connection factgoryremoteJNDIName
- remote JNDI name of the foreign connection factgoryusername
- user name to create initial contextpassword
- password to create initial contextmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void createForeignConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignConnectionFactoryName, String localJNDIName, String remoteJNDIName, String username, String password, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourceforeignServerName
- name of the JMS foreign serverforeignConnectionFactoryName
- name of the JMS foreign connection factgory to createlocalJNDIName
- local JNDI name of name foreign connection factgoryremoteJNDIName
- remote JNDI name of the foreign connection factgoryusername
- user name to create initial contextpassword
- password to create initial contextmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void deleteForeignConnectionFactory(Context ctx, String resourceName, String foreignServerName, String foreignConnectionFactoryName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- JMS resource name from where the foreign server
will be deletedforeignServerName
- the name of the foreign server from which to deleteforeignConnectionFactoryName
- the name of the foreign connection factory
JMSException
JMSModuleHelper.deleteForeignServer(javax.naming.Context, java.lang.String, java.lang.String)
,
JMSModuleHelper.deleteForeignDestination(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void deleteForeignConnectionFactory(weblogic.management.configuration.DomainMBean domain, String resourceName, String foreignServerName, String foreignConnectionFactoryName) throws JMSException
domain
- current edit tree domainresourceName
- JMS resource name from where the foreign server
will be deletedforeignServerName
- the name of the foreign server from which to deleteforeignConnectionFactoryName
- the name of the foreign connection factory
JMSException
JMSModuleHelper.deleteForeignServer(javax.naming.Context, java.lang.String, java.lang.String)
,
JMSModuleHelper.deleteForeignDestination(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFImportedDestinations(Context ctx, String resourceName, String safImportedDestinationsName, String safRemoteContextName, String targetName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destination groupsafRemoteContextName
- name of the SAF remote contexttargetName
- target name
JMSException
JMSModuleHelper.createSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
JMSModuleHelper.createSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static void createSAFImportedDestinations(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safRemoteContextName, String targetName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destination groupsafRemoteContextName
- name of the SAF remote contexttargetName
- target name
JMSException
JMSModuleHelper.createSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
JMSModuleHelper.createSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFImportedDestinations(Context ctx, String resourceName, String safImportedDestinationsName, String safRemoteContextName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destination groupsafRemoteContextName
- name of the SAF remote contexttargetName
- target namemodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
JMSModuleHelper.createSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static void createSAFImportedDestinations(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safRemoteContextName, String targetName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destination groupsafRemoteContextName
- name of the SAF remote contexttargetName
- target namemodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
JMSModuleHelper.createSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteSAFImportedDestinations(Context ctx, String resourceName, String safImportedDestinationsName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- name of the JMS system resource
will be deletedsafImportedDestinationsName
- the name of the SAF imported destination
to delete
JMSException
JMSModuleHelper.deleteSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
JMSModuleHelper.deleteSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void deleteSAFImportedDestinations(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resource
will be deletedsafImportedDestinationsName
- the name of the SAF imported destination
to delete
JMSException
JMSModuleHelper.deleteSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
JMSModuleHelper.deleteSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFRemoteContext(Context ctx, String resourceName, String safRemoteContextName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafRemoteContextName
- name of the SAF remote context
JMSException
JMSModuleHelper.deleteSAFRemoteContext(javax.naming.Context, java.lang.String, java.lang.String)
public static void createSAFRemoteContext(weblogic.management.configuration.DomainMBean domain, String resourceName, String safRemoteContextName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafRemoteContextName
- name of the SAF remote context
JMSException
JMSModuleHelper.deleteSAFRemoteContext(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFRemoteContext(Context ctx, String resourceName, String safRemoteContextName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafRemoteContextName
- name of the SAF remote contextmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.deleteSAFRemoteContext(javax.naming.Context, java.lang.String, java.lang.String)
public static void createSAFRemoteContext(weblogic.management.configuration.DomainMBean domain, String resourceName, String safRemoteContextName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafRemoteContextName
- name of the SAF remote contextmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.deleteSAFRemoteContext(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteSAFRemoteContext(Context ctx, String resourceName, String safRemoteContextName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- name of the JMS system resource
will be deletedsafRemoteContextName
- the name of the SAF remote context
to delete
JMSException
JMSModuleHelper.createSAFRemoteContext(javax.naming.Context, java.lang.String, java.lang.String)
public static void deleteSAFRemoteContext(weblogic.management.configuration.DomainMBean domain, String resourceName, String safRemoteContextName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resource
will be deletedsafRemoteContextName
- the name of the SAF remote context
to delete
JMSException
JMSModuleHelper.createSAFRemoteContext(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFErrorHandling(Context ctx, String resourceName, String safErrorHandlingName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafErrorHandlingName
- name of the SAF error handling
JMSException
JMSModuleHelper.deleteSAFErrorHandling(javax.naming.Context, java.lang.String, java.lang.String)
public static void createSAFErrorHandling(weblogic.management.configuration.DomainMBean domain, String resourceName, String safErrorHandlingName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafErrorHandlingName
- name of the SAF error handling
JMSException
JMSModuleHelper.deleteSAFErrorHandling(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFErrorHandling(Context ctx, String resourceName, String safErrorHandlingName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafErrorHandlingName
- name of the SAF error handlingmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.deleteSAFErrorHandling(javax.naming.Context, java.lang.String, java.lang.String)
public static void createSAFErrorHandling(weblogic.management.configuration.DomainMBean domain, String resourceName, String safErrorHandlingName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafErrorHandlingName
- name of the SAF error handlingmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.deleteSAFErrorHandling(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteSAFErrorHandling(Context ctx, String resourceName, String safErrorHandlingName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- name of the JMS system resource
will be deletedsafErrorHandlingName
- the name of the SAF error handling
to delete
JMSException
JMSModuleHelper.createSAFErrorHandling(javax.naming.Context, java.lang.String, java.lang.String)
public static void deleteSAFErrorHandling(weblogic.management.configuration.DomainMBean domain, String resourceName, String safErrorHandlingName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resource
will be deletedsafErrorHandlingName
- the name of the SAF error handling
to delete
JMSException
JMSModuleHelper.createSAFErrorHandling(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFQueue(Context ctx, String resourceName, String safImportedDestinationsName, String safQueueName, String safQueueRemoteJNDIName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destinations groupsafQueueName
- name of the SAF queue
JMSException
JMSModuleHelper.createSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static void createSAFQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safQueueName, String safQueueRemoteJNDIName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destinations groupsafQueueName
- name of the SAF queue
JMSException
JMSModuleHelper.createSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFQueue(Context ctx, String resourceName, String safImportedDestinationsName, String safQueueName, String safQueueRemoteJNDIName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destinations groupsafQueueName
- name of the SAF queuemodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static void createSAFQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safQueueName, String safQueueRemoteJNDIName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destinations groupsafQueueName
- name of the SAF queuemodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteSAFQueue(Context ctx, String resourceName, String safImportedDestinationsName, String safQueueName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- name of the JMS system resource
will be deletedsafImportedDestinationsName
- the name of the SAF imported destinations
from which to delete the SAFQueuesafQueueName
- name of the SAFQueue to be deleted
JMSException
JMSModuleHelper.deleteSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void deleteSAFQueue(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safQueueName) throws JMSException
domain
- current eidt tree domainresourceName
- name of the JMS system resource
will be deletedsafImportedDestinationsName
- the name of the SAF imported destinations
from which to delete the SAFQueuesafQueueName
- name of the SAFQueue to be deleted
JMSException
JMSModuleHelper.deleteSAFTopic(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFTopic(Context ctx, String resourceName, String safImportedDestinationsName, String safTopicName, String safTopicRemoteJNDIName) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destinations groupsafTopicName
- name of the SAF topic
JMSException
JMSModuleHelper.createSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static void createSAFTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safTopicName, String safTopicRemoteJNDIName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destinations groupsafTopicName
- name of the SAF topic
JMSException
JMSModuleHelper.createSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFTopic(Context ctx, String resourceName, String safImportedDestinationsName, String safTopicName, String safTopicRemoteJNDIName, JMSNamedEntityModifier modifier) throws JMSException
ctx
- initial context of the admin serverresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destinations groupsafTopicName
- name of the SAF topicmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static void createSAFTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safTopicName, String safTopicRemoteJNDIName, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS System resourcesafImportedDestinationsName
- name of the SAF imported destinations groupsafTopicName
- name of the SAF topicmodifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
JMSModuleHelper.createSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteSAFTopic(Context ctx, String resourceName, String safImportedDestinationsName, String safTopicName) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- name of the JMS system resource
will be deletedsafImportedDestinationsName
- the name of the SAF imported destinations
from which to delete the SAFTopicsafTopicName
- name of the SAFTopic to be deleted
JMSException
JMSModuleHelper.deleteSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
public static void deleteSAFTopic(weblogic.management.configuration.DomainMBean domain, String resourceName, String safImportedDestinationsName, String safTopicName) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resource
will be deletedsafImportedDestinationsName
- the name of the SAF imported destinations
from which to delete the SAFTopicsafTopicName
- name of the SAFTopic to be deleted
JMSException
JMSModuleHelper.deleteSAFQueue(javax.naming.Context, java.lang.String, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void findAndModifyEntity(Context ctx, String resourceName, String entityName, String entityType, JMSNamedEntityModifier modifier) throws JMSException
ctx
- the JNDI context to use to access the admin serverresourceName
- name of the JMS system resource to look for the entityentityName
- name of the entity to be found and modifiedentityType
- represents the Bean type,
for example, QueueBean type shall be specified as "Queue"modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void findAndModifyEntity(weblogic.management.configuration.DomainMBean domain, String resourceName, String entityName, String entityType, JMSNamedEntityModifier modifier) throws JMSException
domain
- current edit tree domainresourceName
- name of the JMS system resource to look for the entityentityName
- name of the entity to be found and modifiedentityType
- represents the Bean type,
for example, QueueBean type shall be specified as "Queue"modifier
- implementation of the JMSNamedEntityModifier used to
modify the entity's attribute values
JMSException
public static void createJMSServer(Context ctx, String jmsServerName, String targetName) throws JMSException
ctx
- initial context of the admin server in the domainjmsServerName
- name of the JMSServer to be createdtargetName
- name of the Targets, where the newly created JMSServer
will get deployed
JMSException
JMSModuleHelper.deleteJMSServer(javax.naming.Context, java.lang.String)
public static void createJMSServer(weblogic.management.configuration.DomainMBean domain, String jmsServerName, String targetName) throws JMSException
domain
- current edit tree domainjmsServerName
- name of the JMSServer to be createdtargetName
- name of the Targets, where the newly created JMSServer
will get deployed
JMSException
JMSModuleHelper.deleteJMSServer(javax.naming.Context, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteJMSServer(Context ctx, String jmsServerName) throws JMSException
ctx
- initial context of the admin server in the domainjmsServerName
- name of the JMSServer to be deleted
JMSException
JMSModuleHelper.createJMSServer(javax.naming.Context, java.lang.String, java.lang.String)
public static void deleteJMSServer(weblogic.management.configuration.DomainMBean domain, String jmsServerName) throws JMSException
domain
- current edit tree domainjmsServerName
- name of the JMSServer to be deleted
JMSException
JMSModuleHelper.createJMSServer(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deployJMSServer(Context ctx, String jmsServerName, String targetName) throws JMSException
ctx
- JNDI initial context.jmsServerName
- name of the JMS server.targetName
- name of the Target.
JMSException
- if a JMS error occursJMSModuleHelper.undeployJMSServer(javax.naming.Context, java.lang.String)
public static void deployJMSServer(weblogic.management.configuration.DomainMBean domain, String jmsServerName, String targetName) throws JMSException
domain
- current edit tree domainjmsServerName
- name of the JMS server.targetName
- name of the Target.
JMSException
- if a JMS error occursJMSModuleHelper.undeployJMSServer(javax.naming.Context, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void undeployJMSServer(Context ctx, String jmsServerName) throws JMSException
ctx
- JNDI initial context.jmsServerName
- name of the JMS server.
JMSException
- if a JMS error occursJMSModuleHelper.deployJMSServer(javax.naming.Context, java.lang.String, java.lang.String)
public static void undeployJMSServer(weblogic.management.configuration.DomainMBean domain, String jmsServerName) throws JMSException
domain
- current edit tree domainjmsServerName
- name of the JMS server.
JMSException
- if a JMS error occursJMSModuleHelper.deployJMSServer(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void createSAFAgent(Context ctx, String safAgentName, String targetName) throws JMSException
ctx
- initial context of the admin server in the domainsafAgentName
- name of the SAFAgent to be createdtargetName
- name of the Targets, where the newly created SAFAgent
will get deployed
JMSException
JMSModuleHelper.deleteSAFAgent(javax.naming.Context, java.lang.String)
public static void createSAFAgent(weblogic.management.configuration.DomainMBean domain, String safAgentName, String targetName) throws JMSException
domain
- current edit tree domainsafAgentName
- name of the SAFAgent to be createdtargetName
- name of the Targets, where the newly created SAFAgent
will get deployed
JMSException
JMSModuleHelper.deleteSAFAgent(javax.naming.Context, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deleteSAFAgent(Context ctx, String safAgentName) throws JMSException
ctx
- initial context of the admin server in the domainsafAgentName
- name of the SAFAgent to be deleted
JMSException
JMSModuleHelper.createSAFAgent(javax.naming.Context, java.lang.String, java.lang.String)
public static void deleteSAFAgent(weblogic.management.configuration.DomainMBean domain, String safAgentName) throws JMSException
domain
- current edit tree domainsafAgentName
- name of the SAFAgent to be deleted
JMSException
JMSModuleHelper.createSAFAgent(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void deploySAFAgent(Context ctx, String safAgentName, String targetName) throws JMSException
ctx
- JNDI initial context.safAgentName
- name of the SAFAgent .targetName
- name of the Target.
JMSException
- if a JMS error occursJMSModuleHelper.undeploySAFAgent(javax.naming.Context, java.lang.String)
public static void deploySAFAgent(weblogic.management.configuration.DomainMBean domain, String safAgentName, String targetName) throws JMSException
domain
- currnet edit tree domainsafAgentName
- name of the SAFAgent .targetName
- name of the Target.
JMSException
- if a JMS error occursJMSModuleHelper.undeploySAFAgent(javax.naming.Context, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static void undeploySAFAgent(Context ctx, String safAgentName) throws JMSException
ctx
- JNDI initial context.safAgentName
- name of the SAFAgent.
JMSException
- if a JMS error occursJMSModuleHelper.deploySAFAgent(javax.naming.Context, java.lang.String, java.lang.String)
public static void undeploySAFAgent(weblogic.management.configuration.DomainMBean domain, String safAgentName) throws JMSException
domain
- current edit tree domainsafAgentName
- name of the SAFAgent.
JMSException
- if a JMS error occursJMSModuleHelper.deploySAFAgent(javax.naming.Context, java.lang.String, java.lang.String)
,
weblogic.management.configuration.DomainMBeanpublic static String uddMemberName(String jmsServerName, String name)
jmsServerName
- Configured name of a JMS Servername
- Configured name of a Uniform Distributed Destination
public static String uddMemberJNDIName(String jmsServerName, String name)
jmsServerName
- Configured name of a JMS Servername
- Configured JNDI name of a Uniform Distributed Destination
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |