public interface ContextSource
| Modifier and Type | Method and Description |
|---|---|
java.util.Dictionary |
getContext()
Gets the entire context.
|
java.lang.Object |
getProperty(java.lang.String property)
Gets the current value of the given property.
|
void |
registerContextListener(ContextListener listener,
java.lang.String[] properties)
Registers a context listener on the given set of properties.
|
void |
unregisterContextListener(ContextListener listener)
Unregisters the given context listener.
|
java.lang.Object getProperty(java.lang.String property)
property - property namenull if unknown)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.Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.