/** * $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(); }