Package org.togglz.servlet.spi
Class ServletContextBeanFinder
java.lang.Object
org.togglz.servlet.spi.ServletContextBeanFinder
- All Implemented Interfaces:
BeanFinder
This implementation of
BeanFinder allows to register implementations of a given interface by setting a servlet
context parameter. See the following configuration for an example how to register the implementation of TogglzConfig
so that this class is able to find it.
<context-param>
<param-name>org.togglz.core.config.TogglzConfig</param-name>
<param-value>com.example.myapp.TogglzConfigImpl</param-value>
</context-param>
- Author:
- Christian Kaltepoth
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServletContextBeanFinder
public ServletContextBeanFinder()
-
-
Method Details
-
find
- Specified by:
findin interfaceBeanFinder
-