|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.util.InstanceSupport
public final class InstanceSupport
Support class to assist in firing InstanceEvent notifications to registered InstanceListeners.
Constructor Summary | |
---|---|
InstanceSupport(Wrapper wrapper)
Construct a new InstanceSupport object associated with the specified Instance component. |
Method Summary | |
---|---|
void |
addInstanceListener(InstanceListener listener)
Add a lifecycle event listener to this component. |
void |
fireInstanceEvent(java.lang.String type,
javax.servlet.Filter filter)
Notify all lifecycle event listeners that a particular event has occurred for this Container. |
void |
fireInstanceEvent(java.lang.String type,
javax.servlet.Filter filter,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Notify all lifecycle event listeners that a particular event has occurred for this Container. |
void |
fireInstanceEvent(java.lang.String type,
javax.servlet.Filter filter,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
java.lang.Throwable exception)
Notify all lifecycle event listeners that a particular event has occurred for this Container. |
void |
fireInstanceEvent(java.lang.String type,
javax.servlet.Filter filter,
java.lang.Throwable exception)
Notify all lifecycle event listeners that a particular event has occurred for this Container. |
void |
fireInstanceEvent(java.lang.String type,
javax.servlet.Servlet servlet)
Notify all lifecycle event listeners that a particular event has occurred for this Container. |
void |
fireInstanceEvent(java.lang.String type,
javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Notify all lifecycle event listeners that a particular event has occurred for this Container. |
void |
fireInstanceEvent(java.lang.String type,
javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
java.lang.Throwable exception)
Notify all lifecycle event listeners that a particular event has occurred for this Container. |
void |
fireInstanceEvent(java.lang.String type,
javax.servlet.Servlet servlet,
java.lang.Throwable exception)
Notify all lifecycle event listeners that a particular event has occurred for this Container. |
Wrapper |
getWrapper()
Return the Wrapper with which we are associated. |
void |
removeInstanceListener(InstanceListener listener)
Remove a lifecycle event listener from this component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstanceSupport(Wrapper wrapper)
wrapper
- The component that will be the source
of events that we fireMethod Detail |
---|
public Wrapper getWrapper()
public void addInstanceListener(InstanceListener listener)
listener
- The listener to addpublic void fireInstanceEvent(java.lang.String type, javax.servlet.Filter filter)
type
- Event typefilter
- The relevant Filter for this eventpublic void fireInstanceEvent(java.lang.String type, javax.servlet.Filter filter, java.lang.Throwable exception)
type
- Event typefilter
- The relevant Filter for this eventexception
- Exception that occurredpublic void fireInstanceEvent(java.lang.String type, javax.servlet.Filter filter, javax.servlet.ServletRequest request, javax.servlet.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, javax.servlet.Filter filter, javax.servlet.ServletRequest request, javax.servlet.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, javax.servlet.Servlet servlet)
type
- Event typeservlet
- The relevant Servlet for this eventpublic void fireInstanceEvent(java.lang.String type, javax.servlet.Servlet servlet, java.lang.Throwable exception)
type
- Event typeservlet
- The relevant Servlet for this eventexception
- Exception that occurredpublic void fireInstanceEvent(java.lang.String type, javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.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, javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.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 remove
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |