|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.kernel.config.ConfigurationUtil
public final class ConfigurationUtil
| Method Summary | |
|---|---|
static ConfigurationMarshaler |
createConfigurationMarshaler(String marshalerClass)
|
static ConfigurationManager |
getConfigurationManager(Kernel kernel)
Gets a reference or proxy to the ConfigurationManager running in the specified kernel. |
static AbstractName |
getConfigurationManagerName(Kernel kernel)
Gets the name of the ConfigurationManager running in the specified kernel. |
static EditableConfigurationManager |
getEditableConfigurationManager(Kernel kernel)
Gets a reference or proxy to an EditableConfigurationManager running in the specified kernel, if there is one. |
static AbstractName |
loadBootstrapConfiguration(Kernel kernel,
ConfigurationData configurationData,
org.osgi.framework.BundleContext bundleContext)
|
static AbstractName |
loadBootstrapConfiguration(Kernel kernel,
ConfigurationData configurationData,
org.osgi.framework.BundleContext bundleContext,
boolean enableBootRepo)
|
static AbstractName |
loadBootstrapConfiguration(Kernel kernel,
InputStream in,
org.osgi.framework.BundleContext bundleContext)
|
static AbstractName |
loadBootstrapConfiguration(Kernel kernel,
InputStream in,
org.osgi.framework.BundleContext bundleContext,
boolean enableBootRepo)
|
static GBeanState |
newGBeanState(Collection gbeans)
|
static ConfigurationData |
readConfigurationData(InputStream in)
|
static ConfigurationInfo |
readConfigurationInfo(InputStream in,
AbstractName storeName,
File inPlaceLocation)
|
static void |
releaseConfigurationManager(Kernel kernel,
ConfigurationManager configurationManager)
|
static List<GBeanData> |
sortGBeanDataByDependency(Collection<GBeanData> gbeanDatas)
|
static void |
writeConfigInfo(PrintWriter writer,
ConfigurationData configurationData)
|
static void |
writeConfigurationData(ConfigurationData configurationData,
OutputStream out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConfigurationMarshaler createConfigurationMarshaler(String marshalerClass)
throws Exception
Exceptionpublic static GBeanState newGBeanState(Collection gbeans)
public static AbstractName loadBootstrapConfiguration(Kernel kernel,
InputStream in,
org.osgi.framework.BundleContext bundleContext)
throws Exception
Exception
public static AbstractName loadBootstrapConfiguration(Kernel kernel,
InputStream in,
org.osgi.framework.BundleContext bundleContext,
boolean enableBootRepo)
throws Exception
Exception
public static AbstractName loadBootstrapConfiguration(Kernel kernel,
ConfigurationData configurationData,
org.osgi.framework.BundleContext bundleContext)
throws Exception
Exception
public static AbstractName loadBootstrapConfiguration(Kernel kernel,
ConfigurationData configurationData,
org.osgi.framework.BundleContext bundleContext,
boolean enableBootRepo)
throws Exception
Exception
public static void writeConfigurationData(ConfigurationData configurationData,
OutputStream out)
throws IOException
IOException
public static ConfigurationData readConfigurationData(InputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public static void writeConfigInfo(PrintWriter writer,
ConfigurationData configurationData)
public static ConfigurationInfo readConfigurationInfo(InputStream in,
AbstractName storeName,
File inPlaceLocation)
throws IOException
IOExceptionpublic static AbstractName getConfigurationManagerName(Kernel kernel)
IllegalStateException - Occurs if a ConfigurationManager cannot be identified
public static ConfigurationManager getConfigurationManager(Kernel kernel)
throws GBeanNotFoundException
IllegalStateException - Occurs if a ConfigurationManager cannot be identified
GBeanNotFoundExceptionpublic static EditableConfigurationManager getEditableConfigurationManager(Kernel kernel)
IllegalStateException - Occurs if there are multiple EditableConfigurationManagers in the kernel.
public static void releaseConfigurationManager(Kernel kernel,
ConfigurationManager configurationManager)
public static List<GBeanData> sortGBeanDataByDependency(Collection<GBeanData> gbeanDatas)
throws IllegalNodeConfigException,
CircularReferencesException
IllegalNodeConfigException
CircularReferencesException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||