public abstract class ContainerEvent extends Object implements NotificationListener
| Constructor and Description |
|---|
ContainerEvent() |
| Modifier and Type | Method and Description |
|---|---|
protected Extension |
getReceiver() |
protected void |
checkWithinObserverNotification()
Checks that this event is currently being delivered to an extension.
|
void |
postNotify(Extension extension) |
void |
preNotify(Extension extension) |
public void preNotify(Extension extension)
preNotify in interface NotificationListenerpublic void postNotify(Extension extension)
postNotify in interface NotificationListenerprotected Extension getReceiver()
protected void checkWithinObserverNotification()
IllegalStateException is thrown. This guarantees that methods of
container lifecycle events are not called outside of extension observer method invocations.IllegalStateException - if this method is not called within extension observer method invocationCopyright © 2015. All Rights Reserved.