| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| private Class | |
| private String | |
| private T | |
| private final AutoLock | |
| private ServletHandler | |
| private final Source | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected T | |
| public void | doStart()
Overrides org. |
| public void | doStop()
Overrides org. |
| public void | dump(Appendable
The appendable to dump to out, String The indent to apply after any new lines. indent)Implements org. |
| public String | |
| public String | |
| public Class | |
| protected T | |
| public ServletContext | |
| public ServletContextHandler | |
| public ServletHandler | |
| public Source | |
| protected void | |
| public void | |
| public boolean | |
| pack-priv AutoLock | |
| pack-priv boolean | |
| public void | |
| public void | |
| protected void | |
| public void | setServletHandler(ServletHandler
The servletHandler)ServletHandler that will handle requests dispatched to this servlet.
|
| protected T | |
| protected < the "wrapper function" implementation. (eg: W> TServletHolder.WrapperFunction or FilterHolder.WrapperFunction, etc) | Returns: the component that has passed through all Wrapper Function beans found.the component to optionally wrap component, final Class<W> the bean class type to look for in the wrapperFunctionType, final BiFunction<W, T, T> ServletContextHandlerthe BiFunction to execute for each function)wrapperFunctionType Bean found (passing in the component and component type)Wrap component using component specific Wrapper Function beans. |
| _class | back to summary |
|---|---|
| private Class<? extends T> _class | |
| _className | back to summary |
|---|---|
| private String _className | |
| _instance | back to summary |
|---|---|
| private T _instance | |
| _lock | back to summary |
|---|---|
| private final AutoLock _lock Hides org. | |
| _servletHandler | back to summary |
|---|---|
| private ServletHandler _servletHandler | |
| _source | back to summary |
|---|---|
| private final Source _source | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| BaseHolder | back to summary |
|---|---|
| protected BaseHolder(Source source) | |
| createInstance | back to summary |
|---|---|
| protected T createInstance() throws Exception | |
| doStart | back to summary |
|---|---|
| public void doStart() throws Exception Overrides org. Doc from org. Method to override to start the lifecycle
| |
| doStop | back to summary |
|---|---|
| public void doStop() throws Exception Overrides org. Doc from org. Method to override to stop the lifecycle | |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Implements org. Doc from org. Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| dump | back to summary |
|---|---|
| public String dump() Overrides default org.
| |
| getClassName | back to summary |
|---|---|
public String getClassName()
| |
| getHeldClass | back to summary |
|---|---|
| public Class | |
| getInstance | back to summary |
|---|---|
| protected T getInstance() | |
| getServletContext | back to summary |
|---|---|
| public ServletContext getServletContext() | |
| getServletContextHandler | back to summary |
|---|---|
| public ServletContextHandler getServletContextHandler() | |
| getServletHandler | back to summary |
|---|---|
public ServletHandler getServletHandler()
| |
| getSource | back to summary |
|---|---|
| public Source getSource() | |
| illegalStateIfContextStarted | back to summary |
|---|---|
| protected void illegalStateIfContextStarted() | |
| initialize | back to summary |
|---|---|
| public void initialize() throws Exception Do any setup necessary after starting
| |
| isInstance | back to summary |
|---|---|
public boolean isInstance()
| |
| lock | back to summary |
|---|---|
| pack-priv AutoLock lock() | |
| lockIsHeldByCurrentThread | back to summary |
|---|---|
| pack-priv boolean lockIsHeldByCurrentThread() | |
| setClassName | back to summary |
|---|---|
public void setClassName(String className)
| |
| setHeldClass | back to summary |
|---|---|
public void setHeldClass(Class<? extends T> held)
| |
| setInstance | back to summary |
|---|---|
| protected void setInstance(T instance) | |
| setServletHandler | back to summary |
|---|---|
public void setServletHandler(ServletHandler servletHandler)
| |
| unwrap | back to summary |
|---|---|
| protected T unwrap(final T component) | |
| wrap | back to summary |
|---|---|
| protected <W> T wrap(final T component, final Class<W> wrapperFunctionType, final BiFunction<W, T, T> function) Wrap component using component specific Wrapper Function beans.
| |
| Modifier and Type | Method and Description |
|---|---|
| public C |
| getWrapped | back to summary |
|---|---|
| public C getWrapped() | |