Package org.dspace.servicemanager
Class DSpaceKernelInit
- java.lang.Object
-
- org.dspace.servicemanager.DSpaceKernelInit
-
public class DSpaceKernelInit extends Object
This class simplifies the handling of lookup, registration, and access of a DSpace Kernel MBean. This class has all static methods.- Author:
- Aaron Zeckoski (azeckoski @ gmail.com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DSpaceKernelImpl
getKernel(String name)
Creates or retrieves a DSpace Kernel with the given name.
-
-
-
Method Detail
-
getKernel
public static DSpaceKernelImpl getKernel(String name)
Creates or retrieves a DSpace Kernel with the given name.- Parameters:
name
- kernel name (or null for default kernel)- Returns:
- a DSpace Kernel
- Throws:
IllegalStateException
- if the Kernel cannot be created
-
-