Class FsRpcHandlerProducer

  • All Implemented Interfaces:
    RpcHandlerProducer

    public class FsRpcHandlerProducer
    extends Object
    implements RpcHandlerProducer
    Implementation of the RpcHandlerProducer on the frontend server.

    This class is responsible for producing instances of RPC handlers on the frontend server.

    Since:
    8.5.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • FsRpcHandlerProducer

        public FsRpcHandlerProducer()
    • Method Detail

      • getHandler

        public <THandler extends RpcHandler> THandler getHandler​(Class<THandler> rpcHandler)
        Description copied from interface: RpcHandlerProducer
        Returns the RPC handler for the given class.
        Specified by:
        getHandler in interface RpcHandlerProducer
        Type Parameters:
        THandler - The type of the RPC handler.
        Parameters:
        rpcHandler - The class of the RPC handler to get.
        Returns:
        The RPC handler for the given class.
      • resetHandlerCache

        public void resetHandlerCache()
        Description copied from interface: RpcHandlerProducer
        Resets the cache of RPC handlers. This method is called when the server is reloaded, and should be used to clear any cached RPC handler instances.
        Specified by:
        resetHandlerCache in interface RpcHandlerProducer