P
- the type of the class containing the parameters of the filterpublic abstract class AbstractBeanFilterStreamFactory<P> extends AbstractFilterStreamFactory implements FilterStreamFactory, Initializable
Modifier and Type | Field and Description |
---|---|
protected BeanManager |
beanManager
The
BeanManager component. |
descriptor, type
Constructor and Description |
---|
AbstractBeanFilterStreamFactory(FilterStreamType type) |
Modifier and Type | Method and Description |
---|---|
protected P |
createPropertiesBean(Map<String,Object> properties) |
String |
getDescription() |
String |
getName() |
Class<P> |
getPropertiesBeanClass() |
void |
initialize() |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setPropertiesBeanClass(Class<P> propertiesBeanClass) |
getDescriptor, getType, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescriptor, getFilterInterfaces, getType
@Inject protected BeanManager beanManager
BeanManager
component.public AbstractBeanFilterStreamFactory(FilterStreamType type)
public void initialize() throws InitializationException
initialize
in interface Initializable
InitializationException
protected P createPropertiesBean(Map<String,Object> properties) throws FilterException
FilterException
public void setName(String name)
name
- the name to setpublic String getName()
public void setDescription(String description)
description
- the description to setpublic String getDescription()
public void setPropertiesBeanClass(Class<P> propertiesBeanClass)
propertiesBeanClass
- the parametersBeanClass to setCopyright © 2004–2022 XWiki. All rights reserved.