Package com.webmethods.jms.admin
Class WmJMSAdminFactory
- java.lang.Object
-
- com.webmethods.jms.admin.WmJMSAdminFactory
-
public class WmJMSAdminFactory extends java.lang.Object
This factory class allows for the creation ofWmJMSAdmin
instances.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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, 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.
-
-
-
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 addressbrokerName
- 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 addressbrokerName
- the Broker nameclientID
- an optional client ID, or nullclientGroup
- an optional client group; ifnull
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 addressbrokerName
- the Broker nameclientID
- an optional client ID, or nullclientGroup
- an optional client group; ifnull
then the "admin" client group will be usedsslKeystore
- the filename of the SSL keystoresslTruststore
- the filename of the SSL truststoresslEncrypted
- set to true if traffic to Broker should be encryptedusername
- the SSL certificate's distinguished namepassword
- 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 addressbrokerName
- the Broker nameclientID
- an optional client ID, or nullclientGroup
- an optional client group; ifnull
then the "admin" client group will be usedusername
- for Basic Authenticationpassword
- 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, 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 addressbrokerName
- the Broker nameclientID
- an optional client ID, or nullclientGroup
- an optional client group; ifnull
then the "admin" client group will be usedtruststore
- the filename of the truststoreencrypted
- set to true if traffic to Broker should be encryptedusername
- for Basic Authenticationpassword
- for Basic Authentication- Throws:
WmJMSAdminException
- if the administration interface could not be instantiated
-
-