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

com.payneteasy.superfly.jira.SuperflyContextLocator Maven / Gradle / Ivy

package com.payneteasy.superfly.jira;

import com.payneteasy.superfly.common.singleton.SingletonHolder;

/**
 * Locator for a Superfly context.
 * 
 * @author Roman Puchkovskiy
 */
public class SuperflyContextLocator {
	private static final SingletonHolder superflyContextHolder = new SingletonHolder() {
		@Override
		protected SuperflyContext createInstance() {
			return createSuperflyContext();
		}
	};

	protected static SuperflyContext createSuperflyContext() {
		return new SuperflyContext();
	}
	
	public static SuperflyContext getSuperflyContext() {
		return superflyContextHolder.getInstance();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy