|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that a plugin has to implement to define a new field. Fields
are used by the expression evaluator to extract information from an incoming
EventData
object.
FieldInfo
Method Summary | |
java.lang.Object |
evaluate(EvaluationContext context)
Evaluate the field. |
void |
init(java.lang.String name,
java.lang.String eventDescriptor)
Set the name and event descriptor associated with this field. |
void |
setQualifier(PluginField qualifier)
Set the field qualifier. |
Method Detail |
public void init(java.lang.String name, java.lang.String eventDescriptor) throws PluginException
name
- The field name.eventDescriptor
- The event descriptor.public void setQualifier(PluginField qualifier) throws PluginException
qualifier
- The field qualifier, of the same class as
this
object.public java.lang.Object evaluate(EvaluationContext context) throws PluginException
context
parameter. The
plugin field must take account of any field
qualifiers it has when calculating its value.
context
- The evaluation context. The plugin field can call the
the EvaluationContext.getEventData()
to
access the event datum.context
parameter.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |