org.jacorb.notification.filter.bsh
Class BSHFilter
java.lang.Object
org.jacorb.notification.filter.AbstractFilter
org.jacorb.notification.filter.bsh.BSHFilter
- All Implemented Interfaces:
- AbstractFilterMBean, GCDisposable, JMXManageable, NotifyingDisposable, IServantLifecyle, FilterOperations, org.picocontainer.Disposable
public class BSHFilter
- extends AbstractFilter
This is an example of an custom Filter plugin.
to make this grammar available to the FilterFactory you have
to add an entry with the prefix jacorb.notification.filter.plugin to jacorb.properties.
The entry must have the following form:
jacorb.notification.filter.plugin.GRAMMAR_NAME=CLASSNAME
to make this grammar available one had to add the following entry to jacorb.properties:
jacorb.notification.filter.plugin.BSH=org.jacorb.notification.filter.bsh.BSHFilter
- Author:
- Alphonse Bendt
| Methods inherited from class org.jacorb.notification.filter.AbstractFilter |
activate, add_constraints, attach_callback, attemptDispose, deactivate, destroy, detach_callback, dispose, get_all_constraints, get_callbacks, get_constraints, getCreationDate, getIterator, getJMXNotificationTypes, getJMXObjectName, getLastUsage, getMatchCount, getMatchStructuredCount, getMatchTypedCount, getPOA, listContraints, match_internal, match_structured_internal, match_structured, match_typed_internal, match_typed, match, modify_constraints, newConstraintId, newServant, registerDisposable, remove_all_constraints, setJMXCallback |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONSTRAINT_GRAMMAR
public static final String CONSTRAINT_GRAMMAR
- See Also:
- Constant Field Values
BSHFilter
public BSHFilter(Configuration config,
EvaluationContextFactory evaluationContextFactory,
MessageFactory messageFactory,
POA poa)
throws ConfigurationException
- as instances of this class will be created using picocontainer the class
can specify its dependencies in the constructor. picocontainer will fill
in the appropiate values (as long as they are registered).
- Throws:
ConfigurationException
constraint_grammar
public String constraint_grammar()
newFilterConstraint
public FilterConstraint newFilterConstraint(ConstraintExp constraintExp)
- Description copied from class:
AbstractFilter
- create a new FilterConstraint based on the provided ConstraintExp
- Specified by:
newFilterConstraint in class AbstractFilter
Copyright © 2015 JacORB. All rights reserved.