protected Properties getFaultTolerant(Bw bwService) {
		SortedProperties result = new SortedProperties();
		
		String serviceKey = "bw[" + bwService.getName() + "]";
		
		FaultTolerant faultTolerant = getBWFaultTolerant(bwService);
		if (faultTolerant != null) {
			String key;
			// hbInterval
			key = serviceKey + "/faultTolerant/hbInterval";
			result.setProperty(key, faultTolerant.getHbInterval());
			
			// activationInterval
			key = serviceKey + "/faultTolerant/activationInterval";
			result.setProperty(key, faultTolerant.getActivationInterval());
			
			// preparationDelay
			key = serviceKey + "/faultTolerant/preparationDelay";
			result.setProperty(key, faultTolerant.getPreparationDelay());
		}
		
		return result;
	}
protected Properties getFaultTolerant(Bw bwService) {
		SortedProperties result = new SortedProperties();
		
		String serviceKey = "bw[" + bwService.getName() + "]";
		
		FaultTolerant faultTolerant = getBWFaultTolerant(bwService);
		if (faultTolerant != null) {
			String key;
			
			key = serviceKey + "/faultTolerant/hbInterval";
			result.setProperty(key, faultTolerant.getHbInterval());
			
			
			key = serviceKey + "/faultTolerant/activationInterval";
			result.setProperty(key, faultTolerant.getActivationInterval());
			
			
			key = serviceKey + "/faultTolerant/preparationDelay";
			result.setProperty(key, faultTolerant.getPreparationDelay());
		}
		
		return result;
	}
protected Properties getFaultTolerant ( Bw bwService ) { SortedProperties result = new SortedProperties ( ) ; String serviceKey = "bw[" + bwService . getName ( ) + "]" ; FaultTolerant faultTolerant = getBWFaultTolerant ( bwService ) ; if ( faultTolerant != null ) { String key ; // hbInterval key = serviceKey + "/faultTolerant/hbInterval" ; result . setProperty ( key , faultTolerant . getHbInterval ( ) ) ; // activationInterval key = serviceKey + "/faultTolerant/activationInterval" ; result . setProperty ( key , faultTolerant . getActivationInterval ( ) ) ; // preparationDelay key = serviceKey + "/faultTolerant/preparationDelay" ; result . setProperty ( key , faultTolerant . getPreparationDelay ( ) ) ; } return result ; }
<p>
This method focuses on faultTolerant object found in this path :
"/application/services/bw/faultTolerant"
</p>
<p > This method focuses on faultTolerant object found in this path : / application / services / bw / faultTolerant < / p >