K
- the type of the registry entry keyV
- the type of the registry entry valuepublic interface Registry<K,V> extends Registrar<RegistryListener<K,V>>, AutoCloseable
Modifier and Type | Interface and Description |
---|---|
static interface |
Registry.Listener<K,V>
Deprecated.
Replaced by
RegistryListener . |
Modifier and Type | Method and Description |
---|---|
default void |
addListener(Registry.Listener<K,V> listener)
Deprecated.
Replaced by
#register(RegistryListener) . |
void |
close()
Removes our entry from the registry.
|
Map<K,V> |
getEntries()
Returns all registry entries in this group.
|
Map.Entry<K,V> |
getEntry(Node node)
Returns the registry entry for the specified node.
|
Group |
getGroup()
Returns the group associated with this factory.
|
default void |
removeListener(Registry.Listener<K,V> listener)
Deprecated.
Replaced by
Registration.close() . |
Group getGroup()
@Deprecated default void addListener(Registry.Listener<K,V> listener)
#register(RegistryListener)
.@Deprecated default void removeListener(Registry.Listener<K,V> listener)
Registration.close()
.Map<K,V> getEntries()
Map.Entry<K,V> getEntry(Node node)
node
- a nodevoid close()
close
in interface AutoCloseable
Copyright © 2019 JBoss by Red Hat. All rights reserved.