public void execute() { // remove notification sources for profile table traceMBeanImpl.deregisterNotificationSource(new ProfileTableNotification(profileTableName)); } };
public void execute() { // remove notification sources for profile table final TraceManagement traceMBeanImpl = sleeContainer.getTraceManagement(); traceMBeanImpl.deregisterNotificationSource(new ProfileTableNotification(profileTableName)); // close uncommitted mbeans closeUncommittedProfileMBeans(); } };
public void execute() { // remove notification sources for all sbbs traceMBeanImpl .deregisterNotificationSource(new SbbNotification( serviceComponent.getServiceID(), sbbID)); } };
traceMBeanImpl.deregisterNotificationSource(notificationSource); throw e; traceMBeanImpl.deregisterNotificationSource(notificationSource); throw e; traceMBeanImpl.deregisterNotificationSource(notificationSource); throw e; traceMBeanImpl.deregisterNotificationSource(notificationSource); throw new SLEEException(e.getMessage(),e);
.deregisterNotificationSource(new SbbNotification( serviceComponent.getServiceID(), sbbID));
/** * Removes the entity, it will unconfigure and unset the ra context, the * entity object can not be reused * * @throws InvalidStateException */ public void remove() throws InvalidStateException { if (!this.state.isInactive()) { throw new InvalidStateException("entity " + name + " is in state: " + this.state); } object.raUnconfigure(); if (object.isFaultTolerant()) { object.unsetFaultTolerantResourceAdaptorContext(); ftResourceAdaptorContext.shutdown(); } object.unsetResourceAdaptorContext(); this.sleeContainer.getTraceManagement() .deregisterNotificationSource(this.getNotificationSource()); state = null; }