|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.remotemanager.RemoteManagerHandler
public class RemoteManagerHandler
Provides a console-based administration interface covering most of the management functionality found in the classes from package org.apache.james.management TODO: -improve protocol -much more...
Constructor Summary | |
---|---|
RemoteManagerHandler()
|
Method Summary | |
---|---|
void |
errorHandler(java.lang.RuntimeException e)
Provides errorHandling |
void |
handleProtocol()
Handle the protocol |
void |
resetHandler()
Resets the handler data to a basic state. |
void |
setConfigurationData(java.lang.Object theData)
Set the configuration data for the handler. |
void |
setProtocolHandlerHelper(ProtocolHandlerHelper phh)
Injects the ProtocolHandlerHelper service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteManagerHandler()
Method Detail |
---|
public void setConfigurationData(java.lang.Object theData)
setConfigurationData
in interface ProtocolHandler
theData
- the configuration datapublic void handleProtocol() throws java.io.IOException
ProtocolHandler
handleProtocol
in interface ProtocolHandler
java.io.IOException
- get thrown if an IO error is detectedConnectionHandler.handleConnection(Socket)
public void errorHandler(java.lang.RuntimeException e)
ProtocolHandler
errorHandler
in interface ProtocolHandler
e
- exceptionAbstractJamesHandler.errorHandler(java.lang.RuntimeException)
public void resetHandler()
resetHandler
in interface ProtocolHandler
public void setProtocolHandlerHelper(ProtocolHandlerHelper phh)
ProtocolHandler
setProtocolHandlerHelper
in interface ProtocolHandler
phh
- service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |