public class ServletContextBeanFinder extends Object implements BeanFinder
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>
| Constructor and Description |
|---|
ServletContextBeanFinder() |
public <E> Collection<E> find(Class<E> clazz, Object context)
find in interface BeanFinderCopyright © 2022. All rights reserved.