|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.core.client.BootstrapHelper
public final class BootstrapHelper
Field Summary | |
---|---|
static String |
SYSTEM_LOADER_COMPONENT
|
Method Summary | |
---|---|
static ContextFactoryBuilderRegistry |
bootstrapContextFactoryBuilders(MonitorFactory monitorFactory)
Returns a ContextFactoryBuilderRegistry with default builders registered for system contexts. |
static CompositeContext |
bootstrapStaxLoader(SystemCompositeContext parentContext,
AssemblyContext modelContext)
Bootstrap the StAX-based loader. |
static List<ContextFactoryBuilder> |
getBuilders(MonitorFactory monitorFactory)
Returns a default list of configuration builders. |
static ModuleComponentConfigurationLoader |
getConfigurationLoader(SystemCompositeContext systemContext,
AssemblyContext modelContext)
Returns the default module configuration loader. |
static AssemblyContext |
getModelContext(ClassLoader classLoader)
Returns a default AssemblyModelContext. |
static CompositeContext |
registerModule(CompositeContext parent,
ModuleComponent component)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SYSTEM_LOADER_COMPONENT
Method Detail |
---|
public static AssemblyContext getModelContext(ClassLoader classLoader)
classLoader
- the classloader to use for application artifacts
public static List<ContextFactoryBuilder> getBuilders(MonitorFactory monitorFactory)
monitorFactory
-
public static ContextFactoryBuilderRegistry bootstrapContextFactoryBuilders(MonitorFactory monitorFactory)
monitorFactory
- a monitorFactory that will be used to obtain monitors for system components
public static ModuleComponentConfigurationLoader getConfigurationLoader(SystemCompositeContext systemContext, AssemblyContext modelContext)
systemContext
- the runtime's system contextmodelContext
- the model context the loader will use
public static CompositeContext bootstrapStaxLoader(SystemCompositeContext parentContext, AssemblyContext modelContext) throws ConfigurationException
parentContext
- the parent system contextmodelContext
-
ConfigurationException
public static CompositeContext registerModule(CompositeContext parent, ModuleComponent component) throws ConfigurationException
ConfigurationException
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |