|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.krakenapps.filter.DefaultFilter
public class DefaultFilter
This class provides default implementations for the Filter interface.
| Constructor Summary | |
|---|---|
DefaultFilter()
Creates a new default filter instance. |
|
| Method Summary | |
|---|---|
MessageSpec[] |
getInputMessageSpecs()
No input message specifications are supported by default. |
MessageSpec |
getOutputMessageSpec()
No output message specification is supported by default. |
java.lang.Object |
getProperty(java.lang.String key)
Returns the value of the specified property. |
java.util.Set<java.lang.String> |
getPropertyKeys()
Returns a key set of properties. |
void |
process(Message message)
Empty message processing by default. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Sets a property. |
void |
unsetProperty(java.lang.String key)
Removes the property. |
void |
validateConfiguration()
Validates current configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFilter()
| Method Detail |
|---|
public MessageSpec[] getInputMessageSpecs()
getInputMessageSpecs in interface Filterpublic MessageSpec getOutputMessageSpec()
getOutputMessageSpec in interface Filterpublic void process(Message message)
process in interface Filterpublic java.lang.Object getProperty(java.lang.String key)
getProperty in interface Filterkey - the name of the property
public java.util.Set<java.lang.String> getPropertyKeys()
getPropertyKeys in interface Filter
public void setProperty(java.lang.String key,
java.lang.Object value)
setProperty in interface Filterkey - the name of the propertyvalue - the value of the propertypublic void unsetProperty(java.lang.String key)
unsetProperty in interface Filterkey - the name of the property
public void validateConfiguration()
throws ConfigurationException
validateConfiguration in interface FilterConfigurationException - if failed to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||