protected Properties getProcesses(Bw bwService) {
		SortedProperties result = new SortedProperties();

		String serviceKey = "bw[" + bwService.getName() + "]";
		
		Bwprocesses bwProcesses = getBWProcesses(bwService);
		if (bwProcesses != null) {			
			for (Bwprocess process : bwProcesses.getBwprocess()) {
				String processKey = serviceKey + "/bwprocesses/bwprocess[" + process.getName() + "]";
				String key;

				// starter
				key = processKey + "/starter";
				result.setProperty(key, process.getStarter());

				// enabled
				key = processKey + "/enabled";
				result.setProperty(key, process.isEnabled());

				// maxJob
				key = processKey + "/maxJob";
				result.setProperty(key, process.getMaxJob());

				// activation
				key = processKey + "/activation";
				result.setProperty(key, process.isActivation());

				// flowLimit
				key = processKey + "/flowLimit";
				result.setProperty(key, process.getFlowLimit());
			}
		}
		
		return result;
	}
protected Properties getProcesses(Bw bwService) {
		SortedProperties result = new SortedProperties();

		String serviceKey = "bw[" + bwService.getName() + "]";
		
		Bwprocesses bwProcesses = getBWProcesses(bwService);
		if (bwProcesses != null) {			
			for (Bwprocess process : bwProcesses.getBwprocess()) {
				String processKey = serviceKey + "/bwprocesses/bwprocess[" + process.getName() + "]";
				String key;

				
				key = processKey + "/starter";
				result.setProperty(key, process.getStarter());

				
				key = processKey + "/enabled";
				result.setProperty(key, process.isEnabled());

				
				key = processKey + "/maxJob";
				result.setProperty(key, process.getMaxJob());

				
				key = processKey + "/activation";
				result.setProperty(key, process.isActivation());

				
				key = processKey + "/flowLimit";
				result.setProperty(key, process.getFlowLimit());
			}
		}
		
		return result;
	}
protected Properties getProcesses ( Bw bwService ) { SortedProperties result = new SortedProperties ( ) ; String serviceKey = "bw[" + bwService . getName ( ) + "]" ; Bwprocesses bwProcesses = getBWProcesses ( bwService ) ; if ( bwProcesses != null ) { for ( Bwprocess process : bwProcesses . getBwprocess ( ) ) { String processKey = serviceKey + "/bwprocesses/bwprocess[" + process . getName ( ) + "]" ; String key ; // starter key = processKey + "/starter" ; result . setProperty ( key , process . getStarter ( ) ) ; // enabled key = processKey + "/enabled" ; result . setProperty ( key , process . isEnabled ( ) ) ; // maxJob key = processKey + "/maxJob" ; result . setProperty ( key , process . getMaxJob ( ) ) ; // activation key = processKey + "/activation" ; result . setProperty ( key , process . isActivation ( ) ) ; // flowLimit key = processKey + "/flowLimit" ; result . setProperty ( key , process . getFlowLimit ( ) ) ; } } return result ; }
<p>
This method focuses on processes found in this path :
"/application/services/bw/bwprocesses/bwprocess"
</p>
<p > This method focuses on processes found in this path : / application / services / bw / bwprocesses / bwprocess < / p >