public static class ContainerServices.ComponentReleaseCallbackWithLogging extends ContainerServices.ComponentReleaseCallback
ContainerServices.ComponentReleaseCallback which logs all errors.| Constructor and Description |
|---|
ComponentReleaseCallbackWithLogging(java.util.logging.Logger logger,
java.util.logging.Level level) |
| Modifier and Type | Method and Description |
|---|---|
void |
componentReleased(AcsJComponentDeactivationUncleanEx deactivationUncleanEx)
Called when the component reference has been successfully released.
|
void |
errorCommunicationFailure(java.lang.Throwable thr)
Called when a CORBA or other communication error occurred.
|
void |
errorComponentReleaseFailed(AcsJComponentDeactivationFailedEx deactivationFailureEx)
Called when the target component deactivation failed.
|
void |
errorNoPermission(java.lang.String reason)
Called when the client cannot legally release the component, e.g.
|
awaitComponentReleasepublic ComponentReleaseCallbackWithLogging(java.util.logging.Logger logger,
java.util.logging.Level level)
public void errorCommunicationFailure(java.lang.Throwable thr)
ContainerServices.ComponentReleaseCallbackerrorCommunicationFailure in class ContainerServices.ComponentReleaseCallbackpublic void errorNoPermission(java.lang.String reason)
ContainerServices.ComponentReleaseCallbackerrorNoPermission in class ContainerServices.ComponentReleaseCallbackpublic void componentReleased(AcsJComponentDeactivationUncleanEx deactivationUncleanEx)
ContainerServices.ComponentReleaseCallbackcomponentReleased in class ContainerServices.ComponentReleaseCallbackdeactivationUncleanEx - If the component was deactivated with problems, this exception will be forwarded; otherwise null for clean deactivation.public void errorComponentReleaseFailed(AcsJComponentDeactivationFailedEx deactivationFailureEx)
ContainerServices.ComponentReleaseCallbackerrorComponentReleaseFailed in class ContainerServices.ComponentReleaseCallbackdeactivationFailureEx - to provide details about the failure.