Home » apache-tomcat-6.0.26-src » org.apache » catalina » util » [javadoc | source]
org.apache.catalina.util
public final class: InstanceSupport [javadoc | source]
java.lang.Object
   org.apache.catalina.util.InstanceSupport
Support class to assist in firing InstanceEvent notifications to registered InstanceListeners.
Constructor:
 public InstanceSupport(Wrapper wrapper) 
    Construct a new InstanceSupport object associated with the specified Instance component.
    Parameters:
    wrapper - The component that will be the source of events that we fire
Method from org.apache.catalina.util.InstanceSupport Summary:
addInstanceListener,   fireInstanceEvent,   fireInstanceEvent,   fireInstanceEvent,   fireInstanceEvent,   fireInstanceEvent,   fireInstanceEvent,   fireInstanceEvent,   fireInstanceEvent,   getWrapper,   removeInstanceListener
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.util.InstanceSupport Detail:
 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. The default implementation performs this notification synchronously using the calling thread.
 public  void fireInstanceEvent(String type,
    Servlet servlet) 
    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.
 public  void fireInstanceEvent(String type,
    Filter filter,
    Throwable exception) 
    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.
 public  void fireInstanceEvent(String type,
    Servlet servlet,
    Throwable exception) 
    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.
 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. The default implementation performs this notification synchronously using the calling thread.
 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. The default implementation performs this notification synchronously using the calling thread.
 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. The default implementation performs this notification synchronously using the calling thread.
 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. The default implementation performs this notification synchronously using the calling thread.
 public Wrapper getWrapper() 
    Return the Wrapper with which we are associated.
 public  void removeInstanceListener(InstanceListener listener) 
    Remove a lifecycle event listener from this component.