|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.cornerstone.services.connection.AbstractHandlerFactory
org.apache.james.socket.AbstractJamesService
org.apache.james.remotemanager.RemoteManager
public class RemoteManager
Provides a really rude network interface to administer James. Allow to add accounts. TODO: -improve protocol -add remove user -much more...
| Field Summary |
|---|
| Fields inherited from class org.apache.james.socket.AbstractJamesService |
|---|
backlog, BACKLOG_NAME, bindTo, connectionLimit, connectionName, DEFAULT_BACKLOG, DEFAULT_TIMEOUT, HELLO_NAME, helloName, port, serverSocket, serverSocketType, theHandlerPool, theWatchdogFactory, threadGroup, threadPool, timeout, TIMEOUT_NAME |
| Constructor Summary | |
|---|---|
RemoteManager()
|
|
| Method Summary | |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
protected java.lang.Object |
getConfigurationData()
|
protected int |
getDefaultPort()
Get the default port for this server type. |
java.lang.String |
getServiceType()
This method returns the type of service provided by this server. |
ProtocolHandler |
newProtocolHandlerInstance()
|
void |
service(org.apache.avalon.framework.service.ServiceManager componentManager)
|
void |
setBayesianAnalyzerManagement(BayesianAnalyzerManagementService bayesianAnalyzerManagement)
Set the BayesianAnalyzerManagementService |
void |
setDomainListManagement(DomainListManagementService domListManagement)
Set the DomainListManagementService |
void |
setMailServer(MailServer mailServer)
Set the MailServer |
void |
setProcessorManagement(ProcessorManagementService processorManagement)
Set the ProcessorManagementService |
void |
setSpoolManagement(SpoolManagementService spoolManagement)
Set the SpoolManagementService |
void |
setStore(org.apache.avalon.cornerstone.services.store.Store store)
Set the Store |
void |
setUsers(UsersRepository users)
Set the UsersRepository |
void |
setUsersStore(UsersStore usersStore)
Set the UserStore |
void |
setVirtualUserTableManagement(VirtualUserTableManagementService vutManagement)
Set the VirtualUserTableManagementService |
| Methods inherited from class org.apache.james.socket.AbstractJamesService |
|---|
createConnectionHandler, decommission, dispose, getCreatedClass, getLocalHostName, getNetworkInterface, getPort, getSocketType, getWatchdogFactory, initialize, isDefaultTLSEnabled, isEnabled, newHandler, newInstance, releaseConnectionHandler, setConnectionManager, setStreamDumpDir |
| Methods inherited from class org.apache.avalon.cornerstone.services.connection.AbstractHandlerFactory |
|---|
contextualize |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.james.remotemanager.RemoteManagerMBean |
|---|
getNetworkInterface, getPort, getSocketType, isEnabled |
| Constructor Detail |
|---|
public RemoteManager()
| Method Detail |
|---|
public void setUsersStore(UsersStore usersStore)
usersStore - the UserStorepublic void setUsers(UsersRepository users)
users - the UsersRepositorypublic void setSpoolManagement(SpoolManagementService spoolManagement)
spoolManagement - the SpoolManagementServicepublic void setMailServer(MailServer mailServer)
mailServer - the MailServerpublic void setStore(org.apache.avalon.cornerstone.services.store.Store store)
store - the Storepublic void setBayesianAnalyzerManagement(BayesianAnalyzerManagementService bayesianAnalyzerManagement)
bayesianAnalyzerManagement - the BayesianAnalyzerManagementServicepublic void setProcessorManagement(ProcessorManagementService processorManagement)
processorManagement - the ProcessorManagementServicepublic void setVirtualUserTableManagement(VirtualUserTableManagementService vutManagement)
vutManagement - the VirtualUserTableManagementServicepublic void setDomainListManagement(DomainListManagementService domListManagement)
domListManagement - the DomainListManagementService
public void service(org.apache.avalon.framework.service.ServiceManager componentManager)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableservice in class AbstractJamesServiceorg.apache.avalon.framework.service.ServiceExceptionServiceable.service(ServiceManager)
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableconfigure in class AbstractJamesServiceorg.apache.avalon.framework.configuration.ConfigurationExceptionConfigurable.configure(Configuration)protected int getDefaultPort()
AbstractJamesService
getDefaultPort in class AbstractJamesServiceAbstractJamesService.getDefaultPort()public java.lang.String getServiceType()
AbstractJamesService
getServiceType in class AbstractJamesServiceAbstractJamesService.getServiceType()public ProtocolHandler newProtocolHandlerInstance()
newProtocolHandlerInstance in class AbstractJamesServiceAbstractJamesService.newProtocolHandlerInstance()protected java.lang.Object getConfigurationData()
getConfigurationData in class AbstractJamesServiceAbstractJamesService.getConfigurationData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||