19202122232425
protected String name; protected String var; public ActiveFeatureTag() { this.featureManager = new LazyResolvingFeatureManager(); }
23242526272829
private final Object inactive; private final FeatureManager featureManager; public FeatureProxyInvocationHandler(Feature feature, Object active, Object inactive) { this(feature, active, inactive, new LazyResolvingFeatureManager()); }
28293031323334
/** * Constructor that will configure the map to lazily lookup the {@link FeatureManager} from the {@link FeatureContext}. */ public FeatureMap() { this(new LazyResolvingFeatureManager()); }
2829303132333435363738
protected FeatureManager featureManager; @Override public void init(ServletConfig config) throws ServletException { featureManager = new LazyResolvingFeatureManager(); servletContext = config.getServletContext(); // build list of request handlers Iterator<RequestHandler> handlerIterator = ServiceLoader.load(RequestHandler.class).iterator();