webMethods Broker API for JMS
Version 9.5.1.0.171 091713

com.webmethods.jms.admin
Class WmJMSAdminFactory

java.lang.Object
  extended by com.webmethods.jms.admin.WmJMSAdminFactory

public class WmJMSAdminFactory
extends java.lang.Object

This factory class allows for the creation of WmJMSAdmin instances.


Method Summary
static WmJMSAdmin create(java.lang.String brokerHost, java.lang.String brokerName)
          Creates an instance of the administration interface to the Broker.
static WmJMSAdmin create(java.lang.String brokerHost, java.lang.String brokerName, java.lang.String clientID, java.lang.String clientGroup)
          Creates an instance of the administration interface to the Broker.
static WmJMSAdmin create(java.lang.String brokerHost, java.lang.String brokerName, java.lang.String clientID, java.lang.String clientGroup, com.webmethods.jms.util.SSLInfo sslinfo)
           
static WmJMSAdmin create(java.lang.String brokerHost, java.lang.String brokerName, java.lang.String clientID, java.lang.String clientGroup, java.lang.String username, java.lang.String password)
          Creates an instance of the administration interface to the Broker.
static WmJMSAdmin create(java.lang.String brokerHost, java.lang.String brokerName, java.lang.String clientID, java.lang.String clientGroup, java.lang.String sslKeystore, java.lang.String sslTruststore, boolean sslEncrypted, java.lang.String username, java.lang.String password)
          Creates an instance of the administration interface to the Broker.
static WmJMSAdmin create(java.lang.String brokerHost, java.lang.String brokerName, java.lang.String clientID, java.lang.String clientGroup, java.lang.String username, java.lang.String password, java.lang.String truststore, boolean encrypted)
          Creates an instance of the administration interface to the Broker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static WmJMSAdmin create(java.lang.String brokerHost,
                                java.lang.String brokerName)
                         throws WmJMSAdminException
Creates an instance of the administration interface to the Broker. The syntax for the Broker host is host:port.

Parameters:
brokerHost - the Broker address
brokerName - the Broker name
Throws:
WmJMSAdminException - if the administration interface could not be instantiated

create

public static WmJMSAdmin create(java.lang.String brokerHost,
                                java.lang.String brokerName,
                                java.lang.String clientID,
                                java.lang.String clientGroup)
                         throws WmJMSAdminException
Creates an instance of the administration interface to the Broker. The syntax for the Broker host is host:port.

Parameters:
brokerHost - the Broker address
brokerName - the Broker name
clientID - an optional client ID, or null
clientGroup - an optional client group; if null then the "admin" client group will be used
Throws:
WmJMSAdminException - if the administration interface could not be instantiated

create

public static WmJMSAdmin create(java.lang.String brokerHost,
                                java.lang.String brokerName,
                                java.lang.String clientID,
                                java.lang.String clientGroup,
                                java.lang.String sslKeystore,
                                java.lang.String sslTruststore,
                                boolean sslEncrypted,
                                java.lang.String username,
                                java.lang.String password)
                         throws WmJMSAdminException
Creates an instance of the administration interface to the Broker. The syntax for the Broker host is host:port.

Parameters:
brokerHost - the Broker address
brokerName - the Broker name
clientID - an optional client ID, or null
clientGroup - an optional client group; if null then the "admin" client group will be used
sslKeystore - the filename of the SSL keystore
sslTruststore - the filename of the SSL truststore
sslEncrypted - set to true if traffic to Broker should be encrypted
username - the SSL certificate's distinguished name
password - the SSL certificate's password
Throws:
WmJMSAdminException - if the administration interface could not be instantiated

create

public static WmJMSAdmin create(java.lang.String brokerHost,
                                java.lang.String brokerName,
                                java.lang.String clientID,
                                java.lang.String clientGroup,
                                java.lang.String username,
                                java.lang.String password)
                         throws WmJMSAdminException
Creates an instance of the administration interface to the Broker. The syntax for the Broker host is host:port.

Parameters:
brokerHost - the Broker address
brokerName - the Broker name
clientID - an optional client ID, or null
clientGroup - an optional client group; if null then the "admin" client group will be used
username - for Basic Authentication
password - for Basic Authentication
Throws:
WmJMSAdminException - if the administration interface could not be instantiated

create

public static WmJMSAdmin create(java.lang.String brokerHost,
                                java.lang.String brokerName,
                                java.lang.String clientID,
                                java.lang.String clientGroup,
                                com.webmethods.jms.util.SSLInfo sslinfo)
                         throws WmJMSAdminException
Throws:
WmJMSAdminException

create

public static WmJMSAdmin create(java.lang.String brokerHost,
                                java.lang.String brokerName,
                                java.lang.String clientID,
                                java.lang.String clientGroup,
                                java.lang.String username,
                                java.lang.String password,
                                java.lang.String truststore,
                                boolean encrypted)
                         throws WmJMSAdminException
Creates an instance of the administration interface to the Broker. The syntax for the Broker host is host:port.

Parameters:
brokerHost - the Broker address
brokerName - the Broker name
clientID - an optional client ID, or null
clientGroup - an optional client group; if null then the "admin" client group will be used
truststore - the filename of the truststore
encrypted - set to true if traffic to Broker should be encrypted
username - for Basic Authentication
password - for Basic Authentication
Throws:
WmJMSAdminException - if the administration interface could not be instantiated

webMethods Broker API for JMS
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.