Package com.gigaspaces.lrmi
Class ProtocolRegistry
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,ProtocolAdapter<?>>
The ProtocolRegistry maps between LRMI Protocol names to Protocol Adapters.
Each Protocol Adapter in an LRMI environment must have a unique name.
A Protocol Adapter must be registered in the Protocol Registry before it can be used by an
application. The Protocol Registry initializes some protocols provided as arguments to init()
with appropriate side
ProtocolAdapter.Side.- Since:
- 4.0
- Author:
- Igor Goldenberg
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMonitoringDetails(ITransportConfig config) intgetPort(ITransportConfig config) voidinit(ITransportConfig config, ProtocolAdapter.Side initSide) Initializes this registry with protocol adapters defined in the supplied properties.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
ProtocolRegistry
public ProtocolRegistry()
-
-
Method Details
-
init
public void init(ITransportConfig config, ProtocolAdapter.Side initSide) throws ConfigurationException Initializes this registry with protocol adapters defined in the supplied properties.- Throws:
ConfigurationException
-
getPort
-
getMonitoringDetails
-