Class ServletContextBeanFinder

  • All Implemented Interfaces:
    BeanFinder

    public class ServletContextBeanFinder
    extends Object
    implements 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 Detail

      • ServletContextBeanFinder

        public ServletContextBeanFinder()