Package de.xima.fc.ms

Class MSHandlerProvider

    • 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 interface IHandlerProvider
        Specified by:
        getHandler in class AHandlerProvider
        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 interface IHandlerProvider
        Returns:
        Whether the server where this provider is running is a remote (frontend) server or a main (master) server.