| java.lang.Object org.apache.catalina.util.InstanceSupport
InstanceSupport | final public class InstanceSupport (Code) | | Support class to assist in firing InstanceEvent notifications to
registered InstanceListeners.
author: Craig R. McClanahan version: $Id: InstanceSupport.java,v 1.5 2001/10/11 23:30:58 craigmcc Exp $ |
Constructor Summary | |
public | InstanceSupport(Wrapper wrapper) Construct a new InstanceSupport object associated with the specified
Instance component. |
Method Summary | |
public void | addInstanceListener(InstanceListener listener) Add a lifecycle event listener to this component. | public void | fireInstanceEvent(String type, Filter filter) Notify all lifecycle event listeners that a particular event has
occurred for this Container. | public void | fireInstanceEvent(String type, Filter filter, Throwable exception) Notify all lifecycle event listeners that a particular event has
occurred for this Container. | public void | fireInstanceEvent(String type, Filter filter, ServletRequest request, ServletResponse response) Notify all lifecycle event listeners that a particular event has
occurred for this Container. | public void | fireInstanceEvent(String type, Filter filter, ServletRequest request, ServletResponse response, Throwable exception) Notify all lifecycle event listeners that a particular event has
occurred for this Container. | public void | fireInstanceEvent(String type, Servlet servlet) Notify all lifecycle event listeners that a particular event has
occurred for this Container. | public void | fireInstanceEvent(String type, Servlet servlet, Throwable exception) Notify all lifecycle event listeners that a particular event has
occurred for this Container. | public void | fireInstanceEvent(String type, Servlet servlet, ServletRequest request, ServletResponse response) Notify all lifecycle event listeners that a particular event has
occurred for this Container. | public void | fireInstanceEvent(String type, Servlet servlet, ServletRequest request, ServletResponse response, Throwable exception) Notify all lifecycle event listeners that a particular event has
occurred for this Container. | public Wrapper | getWrapper() Return the Wrapper with which we are associated. | public void | removeInstanceListener(InstanceListener listener) Remove a lifecycle event listener from this component. |
InstanceSupport | public InstanceSupport(Wrapper wrapper)(Code) | | Construct a new InstanceSupport object associated with the specified
Instance component.
Parameters: lifecycle - The Instance component that will be the sourceof events that we fire |
addInstanceListener | public void addInstanceListener(InstanceListener listener)(Code) | | Add a lifecycle event listener to this component.
Parameters: listener - The listener to add |
fireInstanceEvent | public void fireInstanceEvent(String type, Filter filter)(Code) | | Notify all lifecycle event listeners that a particular event has
occurred for this Container. The default implementation performs
this notification synchronously using the calling thread.
Parameters: type - Event type Parameters: filter - The relevant Filter for this event |
fireInstanceEvent | public void fireInstanceEvent(String type, Filter filter, Throwable exception)(Code) | | Notify all lifecycle event listeners that a particular event has
occurred for this Container. The default implementation performs
this notification synchronously using the calling thread.
Parameters: type - Event type Parameters: filter - The relevant Filter for this event Parameters: exception - Exception that occurred |
fireInstanceEvent | public void fireInstanceEvent(String type, Filter filter, ServletRequest request, ServletResponse response)(Code) | | Notify all lifecycle event listeners that a particular event has
occurred for this Container. The default implementation performs
this notification synchronously using the calling thread.
Parameters: type - Event type Parameters: filter - The relevant Filter for this event Parameters: request - The servlet request we are processing Parameters: response - The servlet response we are processing |
fireInstanceEvent | public void fireInstanceEvent(String type, Filter filter, ServletRequest request, ServletResponse response, Throwable exception)(Code) | | Notify all lifecycle event listeners that a particular event has
occurred for this Container. The default implementation performs
this notification synchronously using the calling thread.
Parameters: type - Event type Parameters: filter - The relevant Filter for this event Parameters: request - The servlet request we are processing Parameters: response - The servlet response we are processing Parameters: exception - Exception that occurred |
fireInstanceEvent | public void fireInstanceEvent(String type, Servlet servlet)(Code) | | Notify all lifecycle event listeners that a particular event has
occurred for this Container. The default implementation performs
this notification synchronously using the calling thread.
Parameters: type - Event type Parameters: servlet - The relevant Servlet for this event |
fireInstanceEvent | public void fireInstanceEvent(String type, Servlet servlet, Throwable exception)(Code) | | Notify all lifecycle event listeners that a particular event has
occurred for this Container. The default implementation performs
this notification synchronously using the calling thread.
Parameters: type - Event type Parameters: servlet - The relevant Servlet for this event Parameters: exception - Exception that occurred |
fireInstanceEvent | public void fireInstanceEvent(String type, Servlet servlet, ServletRequest request, ServletResponse response)(Code) | | Notify all lifecycle event listeners that a particular event has
occurred for this Container. The default implementation performs
this notification synchronously using the calling thread.
Parameters: type - Event type Parameters: servlet - The relevant Servlet for this event Parameters: request - The servlet request we are processing Parameters: response - The servlet response we are processing |
fireInstanceEvent | public void fireInstanceEvent(String type, Servlet servlet, ServletRequest request, ServletResponse response, Throwable exception)(Code) | | Notify all lifecycle event listeners that a particular event has
occurred for this Container. The default implementation performs
this notification synchronously using the calling thread.
Parameters: type - Event type Parameters: servlet - The relevant Servlet for this event Parameters: request - The servlet request we are processing Parameters: response - The servlet response we are processing Parameters: exception - Exception that occurred |
getWrapper | public Wrapper getWrapper()(Code) | | Return the Wrapper with which we are associated.
|
removeInstanceListener | public void removeInstanceListener(InstanceListener listener)(Code) | | Remove a lifecycle event listener from this component.
Parameters: listener - The listener to remove |
|
|