Class DecoratedObjectFactory

  • All Implemented Interfaces:
    Iterable<Decorator>

    public class DecoratedObjectFactory
    extends Object
    implements Iterable<Decorator>
    An ObjectFactory enhanced by Decorator instances.

    Consistent single location for all Decorator behavior, with equal behavior in a ServletContext and also for a stand alone client.

    Used by ServletContextHandler, WebAppContext, WebSocketServerFactory, and WebSocketClient.

    Can be found in the ServletContext Attributes at the DecoratedObjectFactory.ATTR key.