@Deprecated
public final class InstanceSupport
extends java.lang.Object
Constructor and Description |
---|
InstanceSupport(Wrapper wrapper)
Deprecated.
Construct a new InstanceSupport object associated with the specified
Instance component.
|
Modifier and Type | Method and Description |
---|---|
void |
addInstanceListener(InstanceListener listener)
Deprecated.
Add a lifecycle event listener to this component.
|
void |
fireInstanceEvent(java.lang.String type,
Filter filter)
Deprecated.
Notify all lifecycle event listeners that a particular event has
occurred for this Container.
|
void |
fireInstanceEvent(java.lang.String type,
Filter filter,
ServletRequest request,
ServletResponse response)
Deprecated.
Notify all lifecycle event listeners that a particular event has
occurred for this Container.
|
void |
fireInstanceEvent(java.lang.String type,
Filter filter,
ServletRequest request,
ServletResponse response,
java.lang.Throwable exception)
Deprecated.
Notify all lifecycle event listeners that a particular event has
occurred for this Container.
|
void |
fireInstanceEvent(java.lang.String type,
Filter filter,
java.lang.Throwable exception)
Deprecated.
Notify all lifecycle event listeners that a particular event has
occurred for this Container.
|
void |
fireInstanceEvent(java.lang.String type,
Servlet servlet)
Deprecated.
Notify all lifecycle event listeners that a particular event has
occurred for this Container.
|
void |
fireInstanceEvent(java.lang.String type,
Servlet servlet,
ServletRequest request,
ServletResponse response)
Deprecated.
Notify all lifecycle event listeners that a particular event has
occurred for this Container.
|
void |
fireInstanceEvent(java.lang.String type,
Servlet servlet,
ServletRequest request,
ServletResponse response,
java.lang.Throwable exception)
Deprecated.
Notify all lifecycle event listeners that a particular event has
occurred for this Container.
|
void |
fireInstanceEvent(java.lang.String type,
Servlet servlet,
java.lang.Throwable exception)
Deprecated.
Notify all lifecycle event listeners that a particular event has
occurred for this Container.
|
Wrapper |
getWrapper()
Deprecated.
Return the Wrapper with which we are associated.
|
void |
removeInstanceListener(InstanceListener listener)
Deprecated.
Remove a lifecycle event listener from this component.
|
public InstanceSupport(Wrapper wrapper)
wrapper
- The component that will be the source
of events that we firepublic Wrapper getWrapper()
public void addInstanceListener(InstanceListener listener)
listener
- The listener to addpublic void fireInstanceEvent(java.lang.String type, Filter filter)
type
- Event typefilter
- The relevant Filter for this eventpublic void fireInstanceEvent(java.lang.String type, Filter filter, java.lang.Throwable exception)
type
- Event typefilter
- The relevant Filter for this eventexception
- Exception that occurredpublic void fireInstanceEvent(java.lang.String type, Filter filter, ServletRequest request, ServletResponse response)
type
- Event typefilter
- The relevant Filter for this eventrequest
- The servlet request we are processingresponse
- The servlet response we are processingpublic void fireInstanceEvent(java.lang.String type, Filter filter, ServletRequest request, ServletResponse response, java.lang.Throwable exception)
type
- Event typefilter
- The relevant Filter for this eventrequest
- The servlet request we are processingresponse
- The servlet response we are processingexception
- Exception that occurredpublic void fireInstanceEvent(java.lang.String type, Servlet servlet)
type
- Event typeservlet
- The relevant Servlet for this eventpublic void fireInstanceEvent(java.lang.String type, Servlet servlet, java.lang.Throwable exception)
type
- Event typeservlet
- The relevant Servlet for this eventexception
- Exception that occurredpublic void fireInstanceEvent(java.lang.String type, Servlet servlet, ServletRequest request, ServletResponse response)
type
- Event typeservlet
- The relevant Servlet for this eventrequest
- The servlet request we are processingresponse
- The servlet response we are processingpublic void fireInstanceEvent(java.lang.String type, Servlet servlet, ServletRequest request, ServletResponse response, java.lang.Throwable exception)
type
- Event typeservlet
- The relevant Servlet for this eventrequest
- The servlet request we are processingresponse
- The servlet response we are processingexception
- Exception that occurredpublic void removeInstanceListener(InstanceListener listener)
listener
- The listener to removeCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.