|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Filter
Filter is a message processing unit. Filter can receive various message types from binded filters and send messages to binded filters.
| Method Summary | |
|---|---|
MessageSpec[] |
getInputMessageSpecs()
Returns the input message specifications that can be bound to this filter. |
MessageSpec |
getOutputMessageSpec()
Returns the output message specification that can be bound to this filter. |
java.lang.Object |
getProperty(java.lang.String key)
Returns the value of specified property. |
java.util.Set<java.lang.String> |
getPropertyKeys()
Returns a Set of the keys of properties. |
void |
process(Message message)
Process a message object pushed from other filters. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Sets the property. |
void |
unsetProperty(java.lang.String key)
Removes the specified property. |
void |
validateConfiguration()
Validates current configuration of the filter. |
| Method Detail |
|---|
MessageSpec[] getInputMessageSpecs()
MessageSpec getOutputMessageSpec()
void process(Message message)
java.util.Set<java.lang.String> getPropertyKeys()
java.lang.Object getProperty(java.lang.String key)
key - the name of the property
void setProperty(java.lang.String key,
java.lang.Object value)
key - the name of the propertyvalue - the value of the propertyvoid unsetProperty(java.lang.String key)
key - the name of the property
void validateConfiguration()
throws ConfigurationException
ConfigurationException - if failed to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||