Class ContainerEvent

    • Constructor Detail

      • ContainerEvent

        public ContainerEvent()
    • Method Detail

      • getReceiver

        protected Extension getReceiver()
      • checkWithinObserverNotification

        protected void checkWithinObserverNotification()
        Checks that this event is currently being delivered to an extension. Otherwise, IllegalStateException is thrown. This guarantees that methods of container lifecycle events are not called outside of extension observer method invocations.
        Throws:
        IllegalStateException - if this method is not called within extension observer method invocation