Class LogSwiftletImpl
java.lang.Object
com.swiftmq.swiftlet.Swiftlet
com.swiftmq.swiftlet.log.LogSwiftlet
com.swiftmq.impl.log.standard.LogSwiftletImpl
public class LogSwiftletImpl
extends com.swiftmq.swiftlet.log.LogSwiftlet
-
Field Summary
Fields inherited from class com.swiftmq.swiftlet.Swiftlet
STATE_ACTIVE, STATE_INACTIVE, STATE_STANDBY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.swiftmq.swiftlet.log.LogSinkvoidLog an error messagevoidlogInformation(String source, String message) Log an information messagevoidlogWarning(String source, String message) Log a warning messageprotected voidshutdown()Shutdown the swiftlet.protected voidstartup(com.swiftmq.mgmt.Configuration config) Startup the swiftlet.Methods inherited from class com.swiftmq.swiftlet.Swiftlet
getName, getStartupTime, getState, isSnapshotAvailable, resume, setStartupTime, standby
-
Constructor Details
-
LogSwiftletImpl
public LogSwiftletImpl()
-
-
Method Details
-
logInformation
-
logWarning
-
logError
-
createLogSink
- Specified by:
createLogSinkin classcom.swiftmq.swiftlet.log.LogSwiftlet
-
startup
protected void startup(com.swiftmq.mgmt.Configuration config) throws com.swiftmq.swiftlet.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:
startupin classcom.swiftmq.swiftlet.Swiftlet- Throws:
com.swiftmq.swiftlet.SwiftletException
-
shutdown
protected void shutdown() throws com.swiftmq.swiftlet.SwiftletExceptionShutdown 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:
shutdownin classcom.swiftmq.swiftlet.Swiftlet- Throws:
com.swiftmq.swiftlet.SwiftletException
-