// Dispatch lifecycle event.
this.dispatcher.dispatch(new EventContainerStopped(this.j2eeManagedObjectId, getArchive(), this.configuration));
this.dispatcher.dispatch(new EventLifeCycleStopped(this.j2eeManagedObjectId));
// Unregister from statistic component.
EZBStatisticComponent statisticComponent = getComponent(EZBStatisticComponent.class);
if (statisticComponent != null) {
statisticComponent.unregisterJ2EEManagedObject(this);
}
// Unregister from audit component.
EZBAuditComponent auditComponent = getComponent(EZBAuditComponent.class);
if (auditComponent != null) {