mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00

git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4100 9c30dcfa-912a-0410-8fc2-9e0234be79fd
53 lines
1.7 KiB
Java
53 lines
1.7 KiB
Java
/**
|
|
* $Id: DSpaceKernel.java 3221 2008-10-21 16:19:57Z azeckoski $
|
|
* $URL: https://scm.dspace.org/svn/repo/dspace2/core/trunk/api/src/main/java/org/dspace/kernel/DSpaceKernel.java $
|
|
* DSpaceKernel.java - DSpace2 - Oct 6, 2008 2:22:36 AM - azeckoski
|
|
**************************************************************************
|
|
* Copyright (c) 2008 Aaron Zeckoski
|
|
* Licensed under the Apache License, Version 2.0
|
|
*
|
|
* A copy of the Apache License has been included in this
|
|
* distribution and is available at: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
*
|
|
* Aaron Zeckoski (azeckoski @ gmail.com) (aaronz @ vt.edu) (aaron @ caret.cam.ac.uk)
|
|
*/
|
|
|
|
package org.dspace.kernel;
|
|
|
|
import org.dspace.services.ConfigurationService;
|
|
|
|
/**
|
|
* The interface of the Kernel,
|
|
* this is the most core piece of the system and initalizing this will startup the dspace core
|
|
*
|
|
* @author Aaron Zeckoski (azeckoski @ gmail.com)
|
|
*/
|
|
public interface DSpaceKernel {
|
|
|
|
public static final String KERNEL_NAME = "Kernel";
|
|
public static final String MBEAN_PREFIX = "org.dspace:name=";
|
|
public static final String MBEAN_SUFFIX = ",type=DSpaceKernel";
|
|
public static final String MBEAN_NAME = MBEAN_PREFIX+KERNEL_NAME+MBEAN_SUFFIX;
|
|
|
|
/**
|
|
* @return the unique MBean name of this DSpace Kernel
|
|
*/
|
|
public String getMBeanName();
|
|
|
|
/**
|
|
* @return true if this Kernel is started and running
|
|
*/
|
|
public boolean isRunning();
|
|
|
|
/**
|
|
* @return the DSpace service manager instance for this Kernel
|
|
*/
|
|
public ServiceManager getServiceManager();
|
|
|
|
/**
|
|
* @return the DSpace configuration service for this Kernel
|
|
*/
|
|
public ConfigurationService getConfigurationService();
|
|
|
|
}
|