All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.impl.agent.services.light.FilterSrv
java.lang.Object
|
+----com.sun.jaw.impl.agent.services.light.FilterSrv
- public class FilterSrv
- extends Object
- implements FilterSrvIf
This class provides a simple implementation of a filtering service.
The filtering service makes use of the metadata service registered
within the Common Management Framework.
The implementation can be dynamically loaded into the CMF.
- See Also:
- FilterSrvIf
-
FilterSrv()
-
-
eval(QueryExp, Object)
- Assess a filter on a specific object.
-
getFramework()
- Returns the framework associated to the service.
-
initCmf(Framework, ObjectName, boolean, ModificationList)
- Initialize the Filtering service.
-
setFramework(Framework)
- Set the framework for which the service will be performed.
FilterSrv
public FilterSrv()
initCmf
public void initCmf(Framework cmf,
ObjectName name,
boolean db,
ModificationList list) throws InstanceAlreadyExistException
- Initialize the Filtering service.
The method will declare the object to the Common Management Framework.
For internal use only.
- Parameters:
- agent - The core management framework to register the service with.
- name - Object name.
- db - Indicates if persistent storage is required.
- list - The modification list to use for setting up parameters.
- Throws: InstanceAlreadyExistException
- The m-bean is already
registered in the repository.
eval
public boolean eval(QueryExp query,
Object object)
- Assess a filter on a specific object.
If the service can not assess the filter, the filter should
simply be assessed as being false.
- Parameters:
- query - query to assess.
- object - object to assess
- Returns:
- true or false depending on the result of evaluation
getFramework
public Framework getFramework()
- Returns the framework associated to the service.
setFramework
public void setFramework(Framework cmf)
- Set the framework for which the service will be performed.
All Packages Class Hierarchy This Package Previous Next Index