public interface Registry<K,T>
Modifier and Type | Method and Description |
---|---|
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.
|
void register(K k, T t)
k
- the key under which rto register the objectt
- the object to registervoid unregister(K k)
k
- the keyCopyright © 2019 JBoss by Red Hat. All rights reserved.