Class SrvServiceRegistry

java.lang.Object
org.serviceconnector.registry.Registry<String,SrvService>
org.serviceconnector.api.srv.SrvServiceRegistry
All Implemented Interfaces:
IRegistryMXBean

public class SrvServiceRegistry extends Registry<String,SrvService>
The Class SrvServiceRegistry. Registry of services on backend server. Gives access to registered services and their callback.
Author:
JTraber
  • Constructor Details

    • SrvServiceRegistry

      public SrvServiceRegistry()
  • Method Details

    • addSrvService

      public void addSrvService(String key, SrvService srvService)
      Adds the server service.
      Parameters:
      key - the key
      srvService - the server service
    • getSrvService

      public SrvService getSrvService(String key)
      Gets the server service.
      Parameters:
      key - the server service name
      Returns:
      the server service
    • removeSrvService

      public SrvService removeSrvService(String key)
      Removes the server service.
      Parameters:
      key - the key
      Returns:
      the srv service