container/components/components/src/main/java/org/mobicents/slee/container/component/EventTypeComponentImpl.java
public void deactivatedServiceWhichDefineEventAsInitial(ServiceComponent serviceComponent) {
		// create new ordered set
		SortedSet<ServiceComponent> activeServicesWhichDefineEventAsInitial = new TreeSet<ServiceComponent>(new ActiveServicesWhichDefineEventAsInitialComparator());
		// add all existent active services, except one deactivated
		for (ServiceComponent existentServiceComponent : this.activeServicesWhichDefineEventAsInitial) {
			if(!existentServiceComponent.equals(serviceComponent)) {
				activeServicesWhichDefineEventAsInitial.add(existentServiceComponent);				
			}
		}
		// replace old set
		this.activeServicesWhichDefineEventAsInitial = activeServicesWhichDefineEventAsInitial;
	}
public void deactivatedServiceWhichDefineEventAsInitial(ServiceComponent serviceComponent) {
		// create new ordered set
		SortedSet<ServiceComponent> activeServicesWhichDefineEventAsInitial = new TreeSet<ServiceComponent>(new ActiveServicesWhichDefineEventAsInitialComparator());
		// add all existent active services, except one deactivated
		for (ServiceComponent existentServiceComponent : this.activeServicesWhichDefineEventAsInitial) {
			if(!existentServiceComponent.equals(serviceComponent)) {
				activeServicesWhichDefineEventAsInitial.add(existentServiceComponent);				
			}
		}
		// replace old set
		this.activeServicesWhichDefineEventAsInitial = activeServicesWhichDefineEventAsInitial;
	}
public void deactivatedServiceWhichDefineEventAsInitial ( ServiceComponent serviceComponent ) { // create new ordered set
 SortedSet < ServiceComponent > activeServicesWhichDefineEventAsInitial = new TreeSet < ServiceComponent > ( new ActiveServicesWhichDefineEventAsInitialComparator ( ) ) ; // add all existent active services, except one deactivated
 for ( ServiceComponent existentServiceComponent : this . activeServicesWhichDefineEventAsInitial ) { if ( ! existentServiceComponent . equals ( serviceComponent ) ) { activeServicesWhichDefineEventAsInitial . add ( existentServiceComponent ) ; } } // replace old set
 this . activeServicesWhichDefineEventAsInitial = activeServicesWhichDefineEventAsInitial ; }
Signals that the specified {@link ServiceComponentImpl} which define this event as initial was deactivated
@param serviceComponent
Signals that the specified {