protected Properties getProcessArchives() {
		SortedProperties result = new SortedProperties();

		List<Bw> bwServices = getBWServices();

		String key;
		
		for (Bw bwService : bwServices) {
			String serviceKey = "bw[" + bwService.getName() + "]";

			/// "ServiceType" complexType
			// enabled
			key = serviceKey + "/enabled";
			result.setProperty(key, bwService.isEnabled());

			// bindings
			result.putAll(getBindings(bwService));
			// NVPairs
			result.putAll(getNVPairs(bwService));

			// failureCount
			key = serviceKey + "/failureCount";
			result.setProperty(key, bwService.getFailureCount());

			// failureInterval
			key = serviceKey + "/failureInterval";
			result.setProperty(key, bwService.getFailureInterval());
			
			// monitor

			/// "BWServiceType" complexType
			// bwprocesses
			result.putAll(getProcesses(bwService));

			// checkpoints
			result.putAll(getCheckpoints(bwService));

			// isFt
			key = serviceKey + "/isFt";
			result.setProperty(key, isIsFt(bwService));
			
			// faultTolerant
			result.putAll(getFaultTolerant(bwService));
			
			// plugins
			// not supported (too complex)
		}
		
		return result;
	}
protected Properties getProcessArchives() {
		SortedProperties result = new SortedProperties();

		List<Bw> bwServices = getBWServices();

		String key;
		
		for (Bw bwService : bwServices) {
			String serviceKey = "bw[" + bwService.getName() + "]";

			
			
			key = serviceKey + "/enabled";
			result.setProperty(key, bwService.isEnabled());

			
			result.putAll(getBindings(bwService));
			
			result.putAll(getNVPairs(bwService));

			
			key = serviceKey + "/failureCount";
			result.setProperty(key, bwService.getFailureCount());

			
			key = serviceKey + "/failureInterval";
			result.setProperty(key, bwService.getFailureInterval());
			
			

			
			
			result.putAll(getProcesses(bwService));

			
			result.putAll(getCheckpoints(bwService));

			
			key = serviceKey + "/isFt";
			result.setProperty(key, isIsFt(bwService));
			
			
			result.putAll(getFaultTolerant(bwService));
			
			
			
		}
		
		return result;
	}
protected Properties getProcessArchives ( ) { SortedProperties result = new SortedProperties ( ) ; List < Bw > bwServices = getBWServices ( ) ; String key ; for ( Bw bwService : bwServices ) { String serviceKey = "bw[" + bwService . getName ( ) + "]" ; /// "ServiceType" complexType // enabled key = serviceKey + "/enabled" ; result . setProperty ( key , bwService . isEnabled ( ) ) ; // bindings result . putAll ( getBindings ( bwService ) ) ; // NVPairs result . putAll ( getNVPairs ( bwService ) ) ; // failureCount key = serviceKey + "/failureCount" ; result . setProperty ( key , bwService . getFailureCount ( ) ) ; // failureInterval key = serviceKey + "/failureInterval" ; result . setProperty ( key , bwService . getFailureInterval ( ) ) ; // monitor /// "BWServiceType" complexType // bwprocesses result . putAll ( getProcesses ( bwService ) ) ; // checkpoints result . putAll ( getCheckpoints ( bwService ) ) ; // isFt key = serviceKey + "/isFt" ; result . setProperty ( key , isIsFt ( bwService ) ) ; // faultTolerant result . putAll ( getFaultTolerant ( bwService ) ) ; // plugins // not supported (too complex) } return result ; }
<p>
This method focuses on all child elements of <bw name="par">. These
elements are defined in the "ServiceType" & "BWServiceType" complexTypes
of the XSD schema.
</p>
<p > This method focuses on all child elements of <bw name = par > . These elements are defined in the ServiceType & BWServiceType complexTypes of the XSD schema . < / p >