Package org.apache.cxf.extension
Class RegistryImpl<K,T>
- java.lang.Object
-
- org.apache.cxf.extension.RegistryImpl<K,T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RegistryImpl()
protected
RegistryImpl(Map<K,T> e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get(K k)
Returns the object stored under the given key.protected void
loadDynamic()
void
register(K k, T t)
Registers an object of type T with this registry.void
unregister(K k)
Unregisters the object stored under the given key from this registry.
-
-
-
Method Detail
-
loadDynamic
protected void loadDynamic()
-
register
public void register(K k, T t)
Description copied from interface:Registry
Registers an object of type T with this registry.
-
unregister
public void unregister(K k)
Description copied from interface:Registry
Unregisters the object stored under the given key from this registry.- Specified by:
unregister
in interfaceRegistry<K,T>
- Parameters:
k
- the key
-
-