Class JMSSwiftlet

    • Constructor Detail

      • JMSSwiftlet

        public JMSSwiftlet()
    • Method Detail

      • addClientId

        public void addClientId​(java.lang.String clientId)
                         throws javax.jms.InvalidClientIDException
        Throws:
        javax.jms.InvalidClientIDException
      • removeClientId

        public void removeClientId​(java.lang.String clientId)
      • getShutdownSemaphore

        protected Semaphore getShutdownSemaphore()
      • doDisconnect

        protected void doDisconnect​(Connection connection)
      • adminToolActivated

        public void adminToolActivated()
        Description copied from interface: MgmtListener
        Will be called from the Mgmt Swiftlet when an admin tool is activated.
        Specified by:
        adminToolActivated in interface MgmtListener
      • adminToolDeactivated

        public void adminToolDeactivated()
        Description copied from interface: MgmtListener
        Will be called from the Mgmt Swiftlet when an admin tool is deactivated.
        Specified by:
        adminToolDeactivated in interface MgmtListener
      • startup

        protected void startup​(Configuration config)
                        throws SwiftletException
        Startup the swiftlet. Check if all required properties are defined and all other startup conditions are met. Do startup work (i. e. start working thread, get/open resources). If any condition prevends from startup fire a SwiftletException.
        Specified by:
        startup in class Swiftlet
        Parameters:
        config - Swiftlet configuration.
        Throws:
        SwiftletException
      • shutdown

        protected void shutdown()
                         throws SwiftletException
        Shutdown the swiftlet. Check if all shutdown conditions are met. Do shutdown work (i. e. stop working thread, close resources). If any condition prevends from shutdown fire a SwiftletException.
        Specified by:
        shutdown in class Swiftlet
        Throws:
        SwiftletException