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

		List<Adapter> adapters = getAdapterServices();

		String key;

		for (Adapter adapter : adapters) {
			String serviceKey = "adapter[" + adapter.getName() + "]";

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

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

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

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

			// monitor

			// plugins
			// not supported (too complex)
		}
		
		return result;
	}
protected Properties getAdapterArchives() {
		SortedProperties result = new SortedProperties();

		List<Adapter> adapters = getAdapterServices();

		String key;

		for (Adapter adapter : adapters) {
			String serviceKey = "adapter[" + adapter.getName() + "]";

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

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

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

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

			

			
			
		}
		
		return result;
	}
protected Properties getAdapterArchives ( ) { SortedProperties result = new SortedProperties ( ) ; List < Adapter > adapters = getAdapterServices ( ) ; String key ; for ( Adapter adapter : adapters ) { String serviceKey = "adapter[" + adapter . getName ( ) + "]" ; /// "ServiceType" complexType // enabled key = serviceKey + "/enabled" ; result . setProperty ( key , adapter . isEnabled ( ) ) ; // bindings result . putAll ( getBindings ( adapter ) ) ; // NVPairs result . putAll ( getNVPairs ( adapter ) ) ; // failureCount key = serviceKey + "/failureCount" ; result . setProperty ( key , adapter . getFailureCount ( ) ) ; // failureInterval key = serviceKey + "/failureInterval" ; result . setProperty ( key , adapter . getFailureInterval ( ) ) ; // monitor // plugins // not supported (too complex) } return result ; }
<p>
This method focuses on all child elements of <adapter name="aar">. These
elements are defined in the "ServiceType" complexType of the XSD schema.
</p>
<p > This method focuses on all child elements of <adapter name = aar > . These elements are defined in the ServiceType complexType of the XSD schema . < / p >