com.continuent.tungsten.replicator.filter
Interface FilterManualProperties

All Superinterfaces:
Filter, ReplicatorPlugin
All Known Implementing Classes:
JavaScriptFilter

public interface FilterManualProperties
extends Filter

This class defines a more raw Filter by the fact that its properties are not automatically set by using setter methods. Implementations must configure their properties manually.

Version:
1.0
Author:
Linas Virbalas

Method Summary
 void setConfigPrefix(java.lang.String configPrefix)
          Set filter's configuration prefix.
 
Methods inherited from interface com.continuent.tungsten.replicator.filter.Filter
filter
 
Methods inherited from interface com.continuent.tungsten.replicator.plugin.ReplicatorPlugin
configure, prepare, release
 

Method Detail

setConfigPrefix

void setConfigPrefix(java.lang.String configPrefix)
Set filter's configuration prefix. This is important in order for the filter to be able to know where its properties are in the configuration file.
Eg. of how filter's properties could be read:
TungstenProperties filterProperties = properties.subset(configPrefix + ".", true);

Parameters:
configPrefix - Configuration prefix.
See Also:
TungstenProperties.subset(String, boolean)