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

io.continual.restHttp.AuthListSingleton Maven / Gradle / Ivy

package io.continual.restHttp;

public class AuthListSingleton
{
	@SuppressWarnings("rawtypes")
	public synchronized static AuthList getAuthList ()
	{
		if ( fSingleton == null )
		{
			fSingleton = new AuthList ();
		}
		return fSingleton;
	}

	public synchronized static void initAuthList ( AuthList al )
	{
		if ( fSingleton != null )
		{
			throw new IllegalStateException ( "AuthList already constructed." );
		}
		fSingleton = al;
	}

	private static AuthList fSingleton;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy