Class JMSSwiftlet
java.lang.Object
com.swiftmq.swiftlet.Swiftlet
com.swiftmq.impl.jms.standard.JMSSwiftlet
- All Implemented Interfaces:
com.swiftmq.swiftlet.mgmt.event.MgmtListener, com.swiftmq.swiftlet.timer.event.TimerListener, EventListener
public class JMSSwiftlet
extends com.swiftmq.swiftlet.Swiftlet
implements com.swiftmq.swiftlet.timer.event.TimerListener, com.swiftmq.swiftlet.mgmt.event.MgmtListener
-
Field Summary
FieldsFields inherited from class com.swiftmq.swiftlet.Swiftlet
STATE_ACTIVE, STATE_INACTIVE, STATE_STANDBY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClientId(String clientId) voidvoidcreateJMSConnection(int version, com.swiftmq.mgmt.Entity usage, com.swiftmq.swiftlet.net.Connection connection) protected voiddoConnect(com.swiftmq.swiftlet.net.Connection connection) protected voiddoDisconnect(com.swiftmq.swiftlet.net.Connection connection) com.swiftmq.auth.ChallengeResponseFactoryprotected com.swiftmq.tools.concurrent.SemaphorevoidvoidremoveClientId(String clientId) protected voidshutdown()protected voidstartup(com.swiftmq.mgmt.Configuration config) Methods inherited from class com.swiftmq.swiftlet.Swiftlet
getName, getStartupTime, getState, isSnapshotAvailable, resume, setStartupTime, standby
-
Field Details
-
TP_CONNSVC
- See Also:
-
ctx
-
-
Constructor Details
-
JMSSwiftlet
public JMSSwiftlet()
-
-
Method Details
-
performTimeAction
public void performTimeAction()- Specified by:
performTimeActionin interfacecom.swiftmq.swiftlet.timer.event.TimerListener
-
getChallengeResponseFactory
public com.swiftmq.auth.ChallengeResponseFactory getChallengeResponseFactory() -
addClientId
- Throws:
javax.jms.InvalidClientIDException
-
removeClientId
-
createJMSConnection
public VersionedJMSConnection createJMSConnection(int version, com.swiftmq.mgmt.Entity usage, com.swiftmq.swiftlet.net.Connection connection) -
getShutdownSemaphore
protected com.swiftmq.tools.concurrent.Semaphore getShutdownSemaphore() -
doConnect
protected void doConnect(com.swiftmq.swiftlet.net.Connection connection) throws com.swiftmq.swiftlet.net.ConnectionVetoException - Throws:
com.swiftmq.swiftlet.net.ConnectionVetoException
-
doDisconnect
protected void doDisconnect(com.swiftmq.swiftlet.net.Connection connection) -
adminToolActivated
public void adminToolActivated()- Specified by:
adminToolActivatedin interfacecom.swiftmq.swiftlet.mgmt.event.MgmtListener
-
adminToolDeactivated
public void adminToolDeactivated()- Specified by:
adminToolDeactivatedin interfacecom.swiftmq.swiftlet.mgmt.event.MgmtListener
-
startup
protected void startup(com.swiftmq.mgmt.Configuration config) throws com.swiftmq.swiftlet.SwiftletException - Specified by:
startupin classcom.swiftmq.swiftlet.Swiftlet- Throws:
com.swiftmq.swiftlet.SwiftletException
-
shutdown
protected void shutdown() throws com.swiftmq.swiftlet.SwiftletException- Specified by:
shutdownin classcom.swiftmq.swiftlet.Swiftlet- Throws:
com.swiftmq.swiftlet.SwiftletException
-