EZBStatisticComponent statisticComponent = getComponent(EZBStatisticComponent.class);
if (statisticComponent != null) {
statisticComponent.unregisterJ2EEManagedObject(this);
}
EZBAuditComponent auditComponent = getComponent(EZBAuditComponent.class);
if (auditComponent != null) {
auditComponent.unregisterJ2EEManagedObject(this);
}
// Unregister from jmx component will be done by the mbean itself.
// Unregister from event component.