File Information
Library: OSP/Web
Package: Web
Header: Poco/OSP/Web/WebFilterFactory.h
Description
A factory for WebFilter objects.
Member Summary
Member Functions: context, createFilter, init, initImpl
Constructors
WebFilterFactory
Creates the WebFilterFactory. The default constructor is called by the classloader (which requires a default constructor) followed by a call to init.
Destructor
~WebFilterFactory
virtual ~WebFilterFactory();
Destroys the WebFilterFactory.
Member Functions
createFilter
virtual WebFilter * createFilter(
const WebFilter::Args & args
) = 0;
Creates a WebFilter using the given arguments.
init
void init(
BundleContext::Ptr pContext
);
Initializes the object with the given BundleContext.
context
BundleContext::Ptr context() const;
Returns the context. The pointer is guaranteed to be valid.
initImpl
virtual void initImpl();
Add extra initialization code by overriding this method in your subclass.