@Managed @KeyList(keys=@Key(name="ByGroupKind",ordered=false,unique=true,fields="groupKind")) public class GroupKind extends java.lang.Object
Navigable representation of a configuration type.
Each configuration type can have one or more named configurations associated with it.
Configuration listeners register with a type to receive notifications of configuration lifecycle events.
This class is named GroupKind for historical reasons. The documentation refers to this concept as a configuration type.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
groupKind
groupkind.
|
Constructor and Description |
---|
GroupKind(java.lang.String groupKind)
Create a new GroupKind
|
Modifier and Type | Method and Description |
---|---|
Group[] |
getNames()
Returns the named configurations that are
associated with this type.
|
void |
registerNotifier(InOutParameter<Notifier> notifier)
Deprecated.
Notifier has been replaced by
ConfigurationListener.
|
java.lang.String |
toString()
Returns the configuration type identifier.
|
void |
unregisterNotifier(InOutParameter<Notifier> notifier)
Deprecated.
Notifier has been replaced by
ConfigurationListener.
|
public final java.lang.String groupKind
groupkind. Should be set only at creation time.
public GroupKind(java.lang.String groupKind)
groupKind
- groupkind. Should be set only at creation time.@Deprecated public final void registerNotifier(InOutParameter<Notifier> notifier)
Register a group kind notifier
notifier
- Notifier to register
Register a group kind notifier. Multiple notifiers may be registered for a single group kind. A particular notifier instance can be registered at most once. Attempts to register a notifier instance more than once will be ignored.
This notifier will be invoked for all groups associated with this group kind.
@Deprecated public final void unregisterNotifier(InOutParameter<Notifier> notifier)
Unregister a group kind notifier
notifier
- Notifier to unregister
Unregister a group kind notifier. No action if notifier was not already registered.
public final java.lang.String toString()
Returns the configuration type identifier.
toString
in class java.lang.Object