Package de.xima.fc.ms
Class MSHandlerProvider
- java.lang.Object
-
- de.xima.fc.handler.interfaces.AHandlerProvider
-
- de.xima.fc.ms.MSHandlerProvider
-
- All Implemented Interfaces:
IHandlerProvider
,Serializable
public class MSHandlerProvider extends AHandlerProvider implements IHandlerProvider
Implementation ofIHandlerProvider
for the master server. This implementation creates and registers and instance for eachIAPIHandler
is registered.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.interfaces.AHandlerProvider
HANDLERMAP
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends IAPIHandler>
TgetHandler(Class<T> handlerInterface)
static MSHandlerProvider
getInstance()
boolean
isRemote()
-
Methods inherited from class de.xima.fc.handler.interfaces.AHandlerProvider
getAktionHandler, getAppointmentHandler, getAppointmentSlotHandler, getAppointmentTemplateHandler, getAppointmentTypeHandler, getAttachmentHandler, getAuthenticatorHandler, getBeanHandler, getBenutzergruppeHandler, getBenutzerHandler, getClientCounterHandler, getDatenbankzugriffHandler, getDatenquelleHandler, getEntityberechtigungHandler, getFileHandler, getFormDataHandler, getFormEingangHandler, getFormElementHandler, getFormHandler, getFormVersionHandler, getFrontendServerHandler, getFSConnectionHandler, getGenericCacheHandler, getGenericHandler, getHandlerMap, getLDAPAbfrageHandler, getLDAPGruppeHandler, getLDAPZugriffHandler, getLicenseFileHandler, getLicenseHandler, getMailHandler, getMandantFrontendServerHandler, getMandantHandler, getMandantLdapDataHandler, getMandantMailDataHandler, getMandantRessourcenHandler, getModulHandler, getPlaceholderHandler, getPluginHandler, getPostfachHandler, getProjectDOIDataHandler, getProjectIdentityCheckDataHandler, getProjektHandler, getProjektRessourcenHandler, getProjektZaehlerDatenHandler, getProjektZaehlerHander, getProtocolHandler, getRolleHandler, getSetupHandler, getStatisticsHandler, getStatusHandler, getSystemHandler, getSystemPropertyHandler, getTextbausteinHandler, getVorgangHandler, getWorkflowHandler, getWorkflowNodeHandler, getWorkflowStateHandler, getWorkflowTaskHandler, getWorkflowTriggerHandler, getWorkflowVersionHandler, getXfcSettsionHandler, registerHandler, releaseHandler, reset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.handler.interfaces.IHandlerProvider
getAktionHandler, getAppointmentHandler, getAppointmentSlotHandler, getAppointmentTemplateHandler, getAppointmentTypeHandler, getAttachmentHandler, getAuthenticatorHandler, getBeanHandler, getBenutzergruppeHandler, getBenutzerHandler, getClientCounterHandler, getDatenbankzugriffHandler, getDatenquelleHandler, getEntityberechtigungHandler, getFileHandler, getFormDataHandler, getFormEingangHandler, getFormElementHandler, getFormHandler, getFormVersionHandler, getFrontendServerHandler, getFSConnectionHandler, getGenericCacheHandler, getGenericHandler, getHandlerMap, getLDAPAbfrageHandler, getLDAPGruppeHandler, getLDAPZugriffHandler, getLicenseFileHandler, getLicenseHandler, getMailHandler, getMandantFrontendServerHandler, getMandantHandler, getMandantLdapDataHandler, getMandantMailDataHandler, getMandantRessourcenHandler, getModulHandler, getPlaceholderHandler, getPluginHandler, getPostfachHandler, getProjectDOIDataHandler, getProjectIdentityCheckDataHandler, getProjektHandler, getProjektRessourcenHandler, getProjektZaehlerDatenHandler, getProjektZaehlerHander, getProtocolHandler, getRolleHandler, getSetupHandler, getStatisticsHandler, getStatusHandler, getSystemHandler, getSystemPropertyHandler, getTextbausteinHandler, getVorgangHandler, getWorkflowHandler, getWorkflowNodeHandler, getWorkflowStateHandler, getWorkflowTaskHandler, getWorkflowTriggerHandler, getWorkflowVersionHandler, getXfcSettsionHandler, registerHandler, releaseHandler, reset
-
-
-
-
Method Detail
-
getInstance
public static MSHandlerProvider getInstance()
- Returns:
- The singleton instance of the master server handler provider.
-
getHandler
public <T extends IAPIHandler> T getHandler(Class<T> handlerInterface)
- Specified by:
getHandler
in interfaceIHandlerProvider
- Specified by:
getHandler
in classAHandlerProvider
- Type Parameters:
T
- Type of the handler to find.- Parameters:
handlerInterface
- Interface of the handler to find.- Returns:
- The remote handler of the given type for remote calls between different servers.
-
isRemote
public boolean isRemote()
- Specified by:
isRemote
in interfaceIHandlerProvider
- Returns:
- Whether the server where this provider is running is a remote (frontend) server or a main (master) server.
-
-