Class FeatureManagerObjectFactory

  • All Implemented Interfaces:
    ObjectFactory

    public class FeatureManagerObjectFactory
    extends Object
    implements ObjectFactory

    Implementation of ObjectFactory that creates a FeatureManager.

    The method getConfiguration(Object) is used to obtain the TogglzConfig instance to use for building the manager. The default implementation assumes that the supplied object is a Reference with an RefAddr element with the name togglzConfig. This behavior can be changed by overwriting this method.

    Author:
    Christian Kaltepoth
    See Also:
    "http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#Adding_Custom_Resource_Factories"