mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
[DS-247] [DS-243] [DSB-37] Extraction of complete DSpace 2.0 Kernel, RequestService, SessionService, EventService and CachingServices.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4100 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
52
api/src/main/java/org/dspace/kernel/DSpaceKernel.java
Normal file
52
api/src/main/java/org/dspace/kernel/DSpaceKernel.java
Normal file
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
* $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();
|
||||
|
||||
}
|
Reference in New Issue
Block a user