public class MailActionFactory extends java.lang.Object implements com.openexchange.ajax.requesthandler.AJAXActionServiceFactory, com.openexchange.ajax.requesthandler.AJAXStateHandler, MailActionConstants
ALL_LOG_PROPERTIES, PROPERTY_CLOSEABLES, PROPERTY_MAIL_IFACE| Constructor and Description |
|---|
MailActionFactory(com.openexchange.server.ServiceLookup services)
Initializes a new
MailActionFactory. |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp(com.openexchange.ajax.requesthandler.AJAXState state)
Cleans-up specified state.
|
com.openexchange.ajax.requesthandler.AJAXActionService |
createActionService(java.lang.String action)
Creates the action service for performing the request.
|
java.util.Collection<? extends com.openexchange.ajax.requesthandler.AJAXActionService> |
getSupportedServices() |
void |
initialize(com.openexchange.ajax.requesthandler.AJAXState state)
Initializes specified state.
|
public MailActionFactory(com.openexchange.server.ServiceLookup services)
MailActionFactory.services - The service look-uppublic java.util.Collection<? extends com.openexchange.ajax.requesthandler.AJAXActionService> getSupportedServices()
getSupportedServices in interface com.openexchange.documentation.AnnotatedServicespublic com.openexchange.ajax.requesthandler.AJAXActionService createActionService(java.lang.String action)
throws com.openexchange.exception.OXException
com.openexchange.ajax.requesthandler.AJAXActionServiceFactorycreateActionService in interface com.openexchange.ajax.requesthandler.AJAXActionServiceFactoryaction - The name of the actionnull.com.openexchange.exception.OXException - If an action service can not be created for the given name.public void initialize(com.openexchange.ajax.requesthandler.AJAXState state)
throws com.openexchange.exception.OXException
com.openexchange.ajax.requesthandler.AJAXStateHandlerinitialize in interface com.openexchange.ajax.requesthandler.AJAXStateHandlerstate - The statecom.openexchange.exception.OXException - If start-up failspublic void cleanUp(com.openexchange.ajax.requesthandler.AJAXState state)
throws com.openexchange.exception.OXException
com.openexchange.ajax.requesthandler.AJAXStateHandlercleanUp in interface com.openexchange.ajax.requesthandler.AJAXStateHandlerstate - The statecom.openexchange.exception.OXException - If shut-down fails