Files
DSpace/impl/src/main/java/org/dspace/servicemanager/ServiceManagerSystem.java

41 lines
1.1 KiB
Java

/**
* $Id$
* $URL$
* *************************************************************************
* Copyright (c) 2002-2009, DuraSpace. All rights reserved
* Licensed under the DuraSpace Foundation License.
*
* A copy of the DuraSpace License has been included in this
* distribution and is available at: http://scm.dspace.org/svn/repo/licenses/LICENSE.txt
*/
package org.dspace.servicemanager;
import java.util.Map;
import org.dspace.kernel.ServiceManager;
/**
* This interface should be implemented by any service managers that we are using in the system,
* e.g. Spring, Guice
*
* @author Aaron Zeckoski (azeckoski @ gmail.com)
*/
public interface ServiceManagerSystem extends ServiceManager {
/**
* Startup the service manager and initialize all services
*/
public void startup();
/**
* Shuts down the service manager and all services that it is managing
*/
public void shutdown();
/**
* @return a map of name -> bean for all services that are currently known
*/
public Map<String, Object> getServices();
}