Enum InstanceEvent.EventType

    • Enum Constant Detail

      • BEFORE_INIT_EVENT

        public static final InstanceEvent.EventType BEFORE_INIT_EVENT
        The event indicating that the init() method is about to be called for this instance.
      • AFTER_INIT_EVENT

        public static final InstanceEvent.EventType AFTER_INIT_EVENT
        The event indicating that the init() method has returned.
      • BEFORE_SERVICE_EVENT

        public static final InstanceEvent.EventType BEFORE_SERVICE_EVENT
        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.
      • AFTER_SERVICE_EVENT

        public static final InstanceEvent.EventType AFTER_SERVICE_EVENT
        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

        public static final InstanceEvent.EventType BEFORE_DESTROY_EVENT
        The event indicating that the destroy method is about to be called for this instance.
      • AFTER_DESTROY_EVENT

        public static final InstanceEvent.EventType AFTER_DESTROY_EVENT
        The event indicating that the destroy() method has returned.
      • BEFORE_DISPATCH_EVENT

        public static final InstanceEvent.EventType BEFORE_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. The wrapper property will contain a reference to the dispatched-to Wrapper.
      • AFTER_DISPATCH_EVENT

        public static final InstanceEvent.EventType AFTER_DISPATCH_EVENT
        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.
      • BEFORE_FILTER_EVENT

        public static final InstanceEvent.EventType BEFORE_FILTER_EVENT
        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.
      • AFTER_FILTER_EVENT

        public static final InstanceEvent.EventType AFTER_FILTER_EVENT
        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.
    • Field Detail

      • value

        public final String value
      • isBefore

        public final boolean isBefore
    • Method Detail

      • values

        public static InstanceEvent.EventType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InstanceEvent.EventType c : InstanceEvent.EventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InstanceEvent.EventType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null