|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.coin.service.internal.provider.ConfigSwitch
public class ConfigSwitch
TODO Add JavaDoc
| Constructor Summary | |
|---|---|
ConfigSwitch(java.lang.String groupId,
ConfigSelector configSelector)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Configuration switches are equal if the group id are equal. |
java.lang.String |
getGroupId()
Getter. |
int |
hashCode()
|
void |
registered(ConfigProvider configProvider)
|
void |
registered(ConfigTarget target)
Signals that a configuration target has been registered. |
void |
unregistered(ConfigProvider configProvider)
|
void |
unregistered(ConfigTarget target)
Signals that a configuration target has been unregistered. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigSwitch(java.lang.String groupId,
ConfigSelector configSelector)
groupId - persistent identifierconfigSelector - configuration selector
org.ops4j.lang.NullArgumentException - - if group id is null or empty
- If configuration selector is null| Method Detail |
|---|
public java.lang.String getGroupId()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void registered(ConfigTarget target)
target - registered configuration target
org.ops4j.lang.NullArgumentException - - If target is null
java.lang.IllegalArgumentException - - If registered target does not have an group that is equal with switch grouppublic void unregistered(ConfigTarget target)
target - unregistered configuration targetpublic void registered(ConfigProvider configProvider)
registered in interface Listener<ConfigProvider>Listener.registered(Object)public void unregistered(ConfigProvider configProvider)
unregistered in interface Listener<ConfigProvider>Listener.unregistered(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||