package nl.nikhef.safaripark;

import javax.inject.Inject;

import nl.nikhef.sfp.SFPManager;
import nl.nikhef.sfp.ddmi.DDMILoader;

public class AppContext {

	public final SFPManager sfpMgr;
	public final DDMILoader ddmiLdr;
	public final OverlayManager ovlMgr;
	public final ContextCache ctxCache;
	
	@Inject
	public AppContext(SFPManager sfpMgr, DDMILoader ddmiLdr, OverlayManager ovlMgr) {
		this.sfpMgr = sfpMgr;
		this.ddmiLdr = ddmiLdr;
		this.ovlMgr = ovlMgr;
		this.ctxCache = new ContextCache(sfpMgr, ddmiLdr);
	}

}
