public class DuccAdmin extends AbstractDuccComponent implements DuccRemoteLauncher.ProcessCompletionCallback
| Modifier and Type | Class and Description |
|---|---|
static class |
DuccAdmin.DuccCommands |
AbstractDuccComponent.AdminEventProcessor, AbstractDuccComponent.ErrorProcessor| Modifier and Type | Field and Description |
|---|---|
static String |
FileSeparator |
| Constructor and Description |
|---|
DuccAdmin(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(DuccRemoteLauncher.ProcessCompletionResult result) |
void |
dispatch(String serializedEvent)
Sends the DuccAdminEvent (serialized as String) to the admin endpoint
|
DuccLogger |
getLogger() |
org.apache.commons.cli.Options |
getPosixOptions() |
static void |
main(String[] args) |
void |
parseWithPosixParser(String[] args) |
void |
process()
Interprets and executes Admin command
|
String |
serializeAdminEvent(DuccAdminEvent event)
Serializes DuccAdminEvent using XStream
|
adjustTransportEndpoint, cleanup, getContext, getLogLevel, getProcessJmxUrl, handleAdminEvent, handleUncaughtException, handleUncaughtException, isStopping, loadProperties, onDuccAdminKillEvent, reloadProperties, setContext, setLogLevel, setLogLevel, start, start, startJmxAgent, stop, uncaughtException, validateAdministratorpublic static final String FileSeparator
public DuccLogger getLogger()
getLogger in interface DuccComponentpublic void dispatch(String serializedEvent) throws Exception
serializedEvent - - serialized DuccAdminEventExceptionpublic String serializeAdminEvent(DuccAdminEvent event)
event - - instance of DuccAdminEventpublic org.apache.commons.cli.Options getPosixOptions()
public void parseWithPosixParser(String[] args)
public void process()
throws Exception
Exceptionpublic static void main(String[] args)
public void completed(DuccRemoteLauncher.ProcessCompletionResult result)
completed in interface DuccRemoteLauncher.ProcessCompletionCallbackCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.