All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kero.security.lang.provider.ProviderCacheWrap Maven / Gradle / Ivy

package com.kero.security.lang.provider;

import com.kero.security.lang.collections.RootNodeList;

public class ProviderCacheWrap implements KsdlProvider {

	private KsdlProvider original;
	
	private RootNodeList roots;
	
	public ProviderCacheWrap(KsdlProvider original) {
		
		this.original = original;
	}
	
	@Override
	public RootNodeList getRoots() {
		
		if(roots == null) {
	
			roots = original.getRoots();
		}
		
		return this.roots;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy