/*
 *  GeoSDI ERA - The new era of webGIS
 *  http://code.google.com/p/geosdiera/
 * ====================================================================
 *
 * Copyright (C) 2008-2009 GeoSDI Group (CNR IMAA).
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. 
 *
 * ====================================================================
 *
 * This software consists of voluntary contributions made by developers
 * of GeoSDI Group.  For more information on GeoSDI, please see
 * &lt;http://www.geosdi.org/&gt;.
 *
 */

package it.geosdi.era.server.service;

import it.geosdi.era.exception.DAOException;

/**
 * @author Giuseppe La Scaleia
 * @author Francesco Izzi
 */

public interface IStartupService
{
	//----
	// Constant
	//----
	/**
	 * The IoC name
	 */
	public static final String NAME = "startupService";
	
	//-------------------------------------------------------------------------
	//
	// Public interface
	//
	//-------------------------------------------------------------------------
	/**
	 * Indicates if the needed data has been initialized
	 */
	public boolean isInitialized() throws DAOException;

	/**
	 * Initialize the underlying data
	 */
	public void initialize() throws DAOException;

}