public interface IScopeDestructionAware
| Modifier and Type | Method and Description |
|---|---|
default void |
onBeforeScopeDestruction(IScope aScopeToBeDestroyed)
Called before the owning scope is destroyed.
|
default void |
onScopeDestruction(IScope aScopeInDestruction)
Called when the owning scope is destroyed.
|
default void onBeforeScopeDestruction(@Nonnull IScope aScopeToBeDestroyed) throws Exception
IScope.preDestroy() callback is invoked and before the
scope is set as being "in destruction".aScopeToBeDestroyed - The scope that will be destroyed. Never null.Exception - in case of an errordefault void onScopeDestruction(@Nonnull IScope aScopeInDestruction) throws Exception
aScopeInDestruction - The scope in destruction. Never null.Exception - in case of an errorCopyright © 2014–2016 Philip Helger. All rights reserved.