|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextSource
Context Source service interface. A context source advertises of context changes.
Method Summary | |
---|---|
Dictionary |
getContext()
Gets the entire context. |
Object |
getProperty(String property)
Gets the current value of the given property. |
void |
registerContextListener(ContextListener listener,
String[] properties)
Registers a context listener on the given set of properties. |
void |
unregisterContextListener(ContextListener listener)
Unregisters the given context listener. |
Method Detail |
---|
Object getProperty(String property)
property
- property name
null
if unknown)Dictionary getContext()
void registerContextListener(ContextListener listener, 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 |