Package org.serviceconnector.api.srv
Class SrvServiceRegistry
java.lang.Object
org.serviceconnector.registry.Registry<String,SrvService>
org.serviceconnector.api.srv.SrvServiceRegistry
- All Implemented Interfaces:
IRegistryMXBean
The Class SrvServiceRegistry. Registry of services on backend server. Gives access to registered services and their callback.
- Author:
- JTraber
-
Field Summary
Fields inherited from class org.serviceconnector.registry.Registry
registryMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSrvService(String key, SrvService srvService) Adds the server service.getSrvService(String key) Gets the server service.removeSrvService(String key) Removes the server service.Methods inherited from class org.serviceconnector.registry.Registry
containsKey, get, getEntries, getSize, keySet, keySetArray, put, remove, toString
-
Constructor Details
-
SrvServiceRegistry
public SrvServiceRegistry()
-
-
Method Details
-
addSrvService
Adds the server service.- Parameters:
key- the keysrvService- the server service
-
getSrvService
Gets the server service.- Parameters:
key- the server service name- Returns:
- the server service
-
removeSrvService
Removes the server service.- Parameters:
key- the key- Returns:
- the srv service
-