Code example for AbstractDelegatingSmartContextLoader

0
 * @see SmartContextLoader 
 * @see AbstractDelegatingSmartContextLoader 
 * @see YarnClusterInjectingXmlContextLoader 
 * @see YarnClusterInjectingAnnotationConfigContextLoader 
 */ 
public class YarnDelegatingSmartContextLoader extends AbstractDelegatingSmartContextLoader { 
 
	private final SmartContextLoader xmlLoader = new YarnClusterInjectingXmlContextLoader(); 
	private final SmartContextLoader annotationConfigLoader = new YarnClusterInjectingAnnotationConfigContextLoader(); 
 
	@Override 
	protected SmartContextLoader getXmlLoader() { 
		return this.xmlLoader; 
	} 
 
	@Override 
	protected SmartContextLoader getAnnotationConfigLoader() { 
		return this.annotationConfigLoader; 
	}