org.openhealthtools.ihe.atna.context.AbstractModuleContext Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.openhealthtools.ihe.atna.context;
import java.io.Serializable;
/**
* Abstract implementation of the Module Context class, for handling
* inter- and intra-module configuration at a global level. A module
* context, upon creation, is registered in the global 'Security Context'
* and should be access through either the SecurityContext's registration
* method OR through the static factory method in each context that allows
* singleton access to the instance via a simplified API.
*
* Module contexts are intended to be singletons and should be handled this way.
* A user or implementor should not instantiate one directly (use the initializer
* classes instead).
*
* @author