|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.extension.RegistryImpl<K,T>
public class RegistryImpl<K,T>
Field Summary | |
---|---|
protected java.util.Map<K,T> |
entries
|
Constructor Summary | |
---|---|
protected |
RegistryImpl()
|
protected |
RegistryImpl(java.util.Map<K,T> e)
|
Method Summary | |
---|---|
T |
get(K k)
Returns the object stored under the given key. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.util.Map<K,T> entries
Constructor Detail |
---|
protected RegistryImpl()
protected RegistryImpl(java.util.Map<K,T> e)
Method Detail |
---|
public void register(K k, T t)
Registry
register
in interface Registry<K,T>
k
- the key under which rto register the objectt
- the object to registerpublic void unregister(K k)
Registry
unregister
in interface Registry<K,T>
k
- the keypublic T get(K k)
Registry
get
in interface Registry<K,T>
k
- the key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |