|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextSource
Context Source service interface.
Method Summary | |
---|---|
java.util.Dictionary |
getContext()
Get the whole context. |
java.lang.Object |
getProperty(java.lang.String property)
Get the current value of the given property. |
void |
registerContextListener(ContextListener listener,
java.lang.String[] properties)
Register a context listener on the given set of properties. |
void |
unregisterContextListener(ContextListener listener)
Unregister the given context listener. |
Method Detail |
---|
java.lang.Object getProperty(java.lang.String property)
property
- : property name
java.util.Dictionary getContext()
void registerContextListener(ContextListener listener, java.lang.String[] properties)
listener
- : the context listener to register.properties
- : property set monitored by the listener.void unregisterContextListener(ContextListener listener)
listener
- : the listener to unregister.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |