public class FilterEmbed
extends java.lang.Object
ResinEmbed resin = new ResinEmbed();
WebAppEmbed webApp = new WebAppEmbed("/foo", "/var/resin/foo");
FilterEmbed myFilter = new FilterEmbed("my-filter", "qa.MyFilter");
webApp.addFilter(myFilter);
resin.addWebApp(webApp);
Constructor and Description |
---|
FilterEmbed()
Creates a new embedded filter
|
FilterEmbed(java.lang.String filterClass)
Creates a new embedded filter
|
FilterEmbed(java.lang.String filterClass,
java.lang.String filterName)
Creates a new embedded filter
|
Modifier and Type | Method and Description |
---|---|
void |
addProperty(java.lang.String name,
java.lang.Object value)
Adds a property.
|
protected void |
configure(FilterConfigImpl filterConfig) |
java.lang.String |
getFilterClass()
The filter-class
|
java.lang.String |
getFilterName()
The filter-name
|
void |
setFilterClass(java.lang.String filterClass)
The filter-class
|
void |
setFilterName(java.lang.String filterName)
The filter-name
|
void |
setInitParam(java.lang.String name,
java.lang.String value)
Sets an init-param.
|
public FilterEmbed()
public FilterEmbed(java.lang.String filterClass)
filterClass
- the filter-classpublic FilterEmbed(java.lang.String filterClass, java.lang.String filterName)
filterClass
- the filter-classfilterName
- the filter-namepublic void setFilterName(java.lang.String filterName)
public java.lang.String getFilterName()
public void setFilterClass(java.lang.String filterClass)
public java.lang.String getFilterClass()
public void setInitParam(java.lang.String name, java.lang.String value)
public void addProperty(java.lang.String name, java.lang.Object value)
protected void configure(FilterConfigImpl filterConfig)