Java Doc for InstanceEvent.java in  » Sevlet-Container » tomcat-catalina » org » apache » catalina » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Sevlet Container » tomcat catalina » org.apache.catalina 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.util.EventObject
      org.apache.catalina.InstanceEvent

InstanceEvent
final public class InstanceEvent extends EventObject (Code)
General event for notifying listeners of significant events related to a specific instance of a Servlet, or a specific instance of a Filter, as opposed to the Wrapper component that manages it.
author:
   Craig R. McClanahan
version:
   $Revision: 1.2 $ $Date: 2004/02/27 14:58:38 $


Field Summary
final public static  StringAFTER_DESTROY_EVENT
     The event indicating that the destroy() method has returned.
final public static  StringAFTER_DISPATCH_EVENT
     The event indicating that the service() method of a servlet accessed via a request dispatcher has returned.
final public static  StringAFTER_FILTER_EVENT
     The event indicating that the doFilter() method of a Filter has returned.
final public static  StringAFTER_INIT_EVENT
     The event indicating that the init() method has returned.
final public static  StringAFTER_SERVICE_EVENT
     The event indicating that the service() method has returned.
final public static  StringBEFORE_DESTROY_EVENT
     The event indicating that the destroy method is about to be called for this instance.
final public static  StringBEFORE_DISPATCH_EVENT
     The event indicating that the service() method of a servlet accessed via a request dispatcher is about to be called. The servlet property contains a reference to the dispatched-to servlet instance, and the request and response properties contain the current request and response being processed.
final public static  StringBEFORE_FILTER_EVENT
     The event indicating that the doFilter() method of a Filter is about to be called.
final public static  StringBEFORE_INIT_EVENT
     The event indicating that the init() method is about to be called for this instance.
final public static  StringBEFORE_SERVICE_EVENT
     The event indicating that the service() method is about to be called on a servlet.

Constructor Summary
public  InstanceEvent(Wrapper wrapper, Filter filter, String type)
     Construct a new InstanceEvent with the specified parameters.
public  InstanceEvent(Wrapper wrapper, Filter filter, String type, Throwable exception)
     Construct a new InstanceEvent with the specified parameters.
public  InstanceEvent(Wrapper wrapper, Filter filter, String type, ServletRequest request, ServletResponse response)
     Construct a new InstanceEvent with the specified parameters.
public  InstanceEvent(Wrapper wrapper, Filter filter, String type, ServletRequest request, ServletResponse response, Throwable exception)
     Construct a new InstanceEvent with the specified parameters.
public  InstanceEvent(Wrapper wrapper, Servlet servlet, String type)
     Construct a new InstanceEvent with the specified parameters.
public  InstanceEvent(Wrapper wrapper, Servlet servlet, String type, Throwable exception)
     Construct a new InstanceEvent with the specified parameters.
public  InstanceEvent(Wrapper wrapper, Servlet servlet, String type, ServletRequest request, ServletResponse response)
     Construct a new InstanceEvent with the specified parameters.
public  InstanceEvent(Wrapper wrapper, Servlet servlet, String type, ServletRequest request, ServletResponse response, Throwable exception)
     Construct a new InstanceEvent with the specified parameters.

Method Summary
public  ThrowablegetException()
     Return the exception that occurred during the processing that was reported by this event.
public  FiltergetFilter()
     Return the filter instance for which this event occurred.
public  ServletRequestgetRequest()
     Return the servlet request for which this event occurred.
public  ServletResponsegetResponse()
     Return the servlet response for which this event occurred.
public  ServletgetServlet()
     Return the servlet instance for which this event occurred.
public  StringgetType()
     Return the event type of this event.
public  WrappergetWrapper()
     Return the Wrapper managing the servlet instance for which this event occurred.

Field Detail
AFTER_DESTROY_EVENT
final public static String AFTER_DESTROY_EVENT(Code)
The event indicating that the destroy() method has returned.



AFTER_DISPATCH_EVENT
final public static String AFTER_DISPATCH_EVENT(Code)
The event indicating that the service() method of a servlet accessed via a request dispatcher has returned. The servlet property contains a reference to the dispatched-to servlet instance, and the request and response properties contain the current request and response being processed. The wrapper property will contain a reference to the dispatched-to Wrapper.



AFTER_FILTER_EVENT
final public static String AFTER_FILTER_EVENT(Code)
The event indicating that the doFilter() method of a Filter has returned. The filter property contains a reference to the relevant filter instance, and the request and response properties contain the current request and response being processed.



AFTER_INIT_EVENT
final public static String AFTER_INIT_EVENT(Code)
The event indicating that the init() method has returned.



AFTER_SERVICE_EVENT
final public static String AFTER_SERVICE_EVENT(Code)
The event indicating that the service() method has returned. The servlet property contains the servlet that was called, and the request and response properties contain the current request and response being processed.



BEFORE_DESTROY_EVENT
final public static String BEFORE_DESTROY_EVENT(Code)
The event indicating that the destroy method is about to be called for this instance.



BEFORE_DISPATCH_EVENT
final public static String BEFORE_DISPATCH_EVENT(Code)
The event indicating that the service() method of a servlet accessed via a request dispatcher is about to be called. The servlet property contains a reference to the dispatched-to servlet instance, and the request and response properties contain the current request and response being processed. The wrapper property will contain a reference to the dispatched-to Wrapper.



BEFORE_FILTER_EVENT
final public static String BEFORE_FILTER_EVENT(Code)
The event indicating that the doFilter() method of a Filter is about to be called. The filter property contains a reference to the relevant filter instance, and the request and response properties contain the current request and response being processed.



BEFORE_INIT_EVENT
final public static String BEFORE_INIT_EVENT(Code)
The event indicating that the init() method is about to be called for this instance.



BEFORE_SERVICE_EVENT
final public static String BEFORE_SERVICE_EVENT(Code)
The event indicating that the service() method is about to be called on a servlet. The servlet property contains the servlet being called, and the request and response properties contain the current request and response being processed.




Constructor Detail
InstanceEvent
public InstanceEvent(Wrapper wrapper, Filter filter, String type)(Code)
Construct a new InstanceEvent with the specified parameters. This constructor is used for filter lifecycle events.
Parameters:
  wrapper - Wrapper managing this servlet instance
Parameters:
  filter - Filter instance for which this event occurred
Parameters:
  type - Event type (required)



InstanceEvent
public InstanceEvent(Wrapper wrapper, Filter filter, String type, Throwable exception)(Code)
Construct a new InstanceEvent with the specified parameters. This constructor is used for filter lifecycle events.
Parameters:
  wrapper - Wrapper managing this servlet instance
Parameters:
  filter - Filter instance for which this event occurred
Parameters:
  type - Event type (required)
Parameters:
  exception - Exception that occurred



InstanceEvent
public InstanceEvent(Wrapper wrapper, Filter filter, String type, ServletRequest request, ServletResponse response)(Code)
Construct a new InstanceEvent with the specified parameters. This constructor is used for filter processing events.
Parameters:
  wrapper - Wrapper managing this servlet instance
Parameters:
  filter - Filter instance for which this event occurred
Parameters:
  type - Event type (required)
Parameters:
  request - Servlet request we are processing
Parameters:
  response - Servlet response we are processing



InstanceEvent
public InstanceEvent(Wrapper wrapper, Filter filter, String type, ServletRequest request, ServletResponse response, Throwable exception)(Code)
Construct a new InstanceEvent with the specified parameters. This constructor is used for filter processing events.
Parameters:
  wrapper - Wrapper managing this servlet instance
Parameters:
  filter - Filter instance for which this event occurred
Parameters:
  type - Event type (required)
Parameters:
  request - Servlet request we are processing
Parameters:
  response - Servlet response we are processing
Parameters:
  exception - Exception that occurred



InstanceEvent
public InstanceEvent(Wrapper wrapper, Servlet servlet, String type)(Code)
Construct a new InstanceEvent with the specified parameters. This constructor is used for processing servlet lifecycle events.
Parameters:
  wrapper - Wrapper managing this servlet instance
Parameters:
  servlet - Servlet instance for which this event occurred
Parameters:
  type - Event type (required)



InstanceEvent
public InstanceEvent(Wrapper wrapper, Servlet servlet, String type, Throwable exception)(Code)
Construct a new InstanceEvent with the specified parameters. This constructor is used for processing servlet lifecycle events.
Parameters:
  wrapper - Wrapper managing this servlet instance
Parameters:
  servlet - Servlet instance for which this event occurred
Parameters:
  type - Event type (required)
Parameters:
  exception - Exception that occurred



InstanceEvent
public InstanceEvent(Wrapper wrapper, Servlet servlet, String type, ServletRequest request, ServletResponse response)(Code)
Construct a new InstanceEvent with the specified parameters. This constructor is used for processing servlet processing events.
Parameters:
  wrapper - Wrapper managing this servlet instance
Parameters:
  servlet - Servlet instance for which this event occurred
Parameters:
  type - Event type (required)
Parameters:
  request - Servlet request we are processing
Parameters:
  response - Servlet response we are processing



InstanceEvent
public InstanceEvent(Wrapper wrapper, Servlet servlet, String type, ServletRequest request, ServletResponse response, Throwable exception)(Code)
Construct a new InstanceEvent with the specified parameters. This constructor is used for processing servlet processing events.
Parameters:
  wrapper - Wrapper managing this servlet instance
Parameters:
  servlet - Servlet instance for which this event occurred
Parameters:
  type - Event type (required)
Parameters:
  request - Servlet request we are processing
Parameters:
  response - Servlet response we are processing
Parameters:
  exception - Exception that occurred




Method Detail
getException
public Throwable getException()(Code)
Return the exception that occurred during the processing that was reported by this event.



getFilter
public Filter getFilter()(Code)
Return the filter instance for which this event occurred.



getRequest
public ServletRequest getRequest()(Code)
Return the servlet request for which this event occurred.



getResponse
public ServletResponse getResponse()(Code)
Return the servlet response for which this event occurred.



getServlet
public Servlet getServlet()(Code)
Return the servlet instance for which this event occurred.



getType
public String getType()(Code)
Return the event type of this event.



getWrapper
public Wrapper getWrapper()(Code)
Return the Wrapper managing the servlet instance for which this event occurred.



Fields inherited from java.util.EventObject
protected transient Object source(Code)(Java Doc)

Methods inherited from java.util.EventObject
public Object getSource()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.