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. key.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ATTR
ServletContext attribute for the active DecoratedObjectFactory |
| private static final ThreadLocal | |
| private final List | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static void | |
| public void | |
| public <T> T | |
| public <T> T | |
| public void | |
| public static void | |
| public static Object | |
| public List | |
| public Iterator | |
| public boolean | |
| public void | |
| public String |
| ATTR | back to summary |
|---|---|
| public static final String ATTR ServletContext attribute for the active DecoratedObjectFactory | |
| decoratorInfo | back to summary |
|---|---|
| private static final ThreadLocal<Object> decoratorInfo | |
| decorators | back to summary |
|---|---|
| private final List<Decorator> decorators | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| DecoratedObjectFactory | back to summary |
|---|---|
| public DecoratedObjectFactory() | |
| addDecorator | back to summary |
|---|---|
| public void addDecorator(Decorator decorator) | |
| associateInfo | back to summary |
|---|---|
| public static void associateInfo(Object info) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| createInstance | back to summary |
|---|---|
| public <T> T createInstance(Class<T> clazz) throws InstantiationException, IllegalAccessException, NoSuchMethodException, InvocationTargetException | |
| decorate | back to summary |
|---|---|
| public <T> T decorate(T obj) Implements org. | |
| destroy | back to summary |
|---|---|
| public void destroy(Object obj) Implements org. | |
| disassociateInfo | back to summary |
|---|---|
| public static void disassociateInfo() | |
| getAssociatedInfo | back to summary |
|---|---|
| public static Object getAssociatedInfo() | |
| getDecorators | back to summary |
|---|---|
| public List | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| removeDecorator | back to summary |
|---|---|
| public boolean removeDecorator(Decorator decorator) | |
| setDecorators | back to summary |
|---|---|
| public void setDecorators(List<? extends Decorator> decorators) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |