Package com.swiftmq.impl.amqp
Class AMQPSwiftlet
- java.lang.Object
-
- com.swiftmq.swiftlet.Swiftlet
-
- com.swiftmq.impl.amqp.AMQPSwiftlet
-
- All Implemented Interfaces:
MgmtListener
,TimerListener
,java.util.EventListener
public class AMQPSwiftlet extends Swiftlet implements TimerListener, MgmtListener
-
-
Field Summary
-
Fields inherited from class com.swiftmq.swiftlet.Swiftlet
STATE_ACTIVE, STATE_INACTIVE, STATE_STANDBY
-
-
Constructor Summary
Constructors Constructor Description AMQPSwiftlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adminToolActivated()
Will be called from the Mgmt Swiftlet when an admin tool is activated.void
adminToolDeactivated()
Will be called from the Mgmt Swiftlet when an admin tool is deactivated.Entity
getConnectionTemplate(java.lang.String name)
protected Semaphore
getShutdownSemaphore()
void
performTimeAction()
Perform the specific time actionprotected void
shutdown()
Stop this Swiftlet.protected void
startup(Configuration configuration)
Start this Swiftlet.-
Methods inherited from class com.swiftmq.swiftlet.Swiftlet
getName, getStartupTime, getState, isSnapshotAvailable, resume, setStartupTime, standby
-
-
-
-
Method Detail
-
performTimeAction
public void performTimeAction()
Description copied from interface:TimerListener
Perform the specific time action- Specified by:
performTimeAction
in interfaceTimerListener
-
getConnectionTemplate
public Entity getConnectionTemplate(java.lang.String name)
-
getShutdownSemaphore
protected Semaphore getShutdownSemaphore()
-
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 interfaceMgmtListener
-
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 interfaceMgmtListener
-
startup
protected void startup(Configuration configuration) throws SwiftletException
Description copied from class:Swiftlet
Start this Swiftlet. Called from the SwiftletManager during router start. The Swiftlet configuration is passed as parameter.- Specified by:
startup
in classSwiftlet
- Parameters:
configuration
- Swiftlet configuration.- Throws:
SwiftletException
- on error during startup.
-
shutdown
protected void shutdown() throws SwiftletException
Description copied from class:Swiftlet
Stop this Swiftlet. Called from the SwiftletManager during router shutdown.- Specified by:
shutdown
in classSwiftlet
- Throws:
SwiftletException
- on error during shutdown.
-
-