Class WmJMSAdminFactory


  • public class WmJMSAdminFactory
    extends java.lang.Object
    This factory class allows for the creation of WmJMSAdmin 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.
      • 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,
                                        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