|
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 java.lang.String |
SYSTEM_LOADER_COMPONENT
|
Method Summary | |
---|---|
static ContextFactoryBuilderRegistry |
bootstrapContextFactoryBuilders(org.apache.tuscany.common.monitor.MonitorFactory monitorFactory)
Returns a ContextFactoryBuilderRegistry with default builders registered for system contexts. |
static CompositeContext |
bootstrapStaxLoader(SystemCompositeContext parentContext,
org.apache.tuscany.model.assembly.AssemblyContext modelContext)
Bootstrap the StAX-based loader. |
static java.util.List<ContextFactoryBuilder> |
getBuilders(org.apache.tuscany.common.monitor.MonitorFactory monitorFactory)
Returns a default list of configuration builders. |
static ModuleComponentConfigurationLoader |
getConfigurationLoader(SystemCompositeContext systemContext,
org.apache.tuscany.model.assembly.AssemblyContext modelContext)
Returns the default module configuration loader. |
static org.apache.tuscany.model.assembly.AssemblyContext |
getModelContext(java.lang.ClassLoader classLoader)
Returns a default AssemblyModelContext. |
static CompositeContext |
registerModule(CompositeContext parent,
org.apache.tuscany.model.assembly.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 java.lang.String SYSTEM_LOADER_COMPONENT
Method Detail |
---|
public static org.apache.tuscany.model.assembly.AssemblyContext getModelContext(java.lang.ClassLoader classLoader)
classLoader
- the classloader to use for application artifacts
public static java.util.List<ContextFactoryBuilder> getBuilders(org.apache.tuscany.common.monitor.MonitorFactory monitorFactory)
monitorFactory
-
public static ContextFactoryBuilderRegistry bootstrapContextFactoryBuilders(org.apache.tuscany.common.monitor.MonitorFactory monitorFactory)
monitorFactory
- a monitorFactory that will be used to obtain monitors for system components
public static ModuleComponentConfigurationLoader getConfigurationLoader(SystemCompositeContext systemContext, org.apache.tuscany.model.assembly.AssemblyContext modelContext)
systemContext
- the runtime's system contextmodelContext
- the model context the loader will use
public static CompositeContext bootstrapStaxLoader(SystemCompositeContext parentContext, org.apache.tuscany.model.assembly.AssemblyContext modelContext) throws ConfigurationException
parentContext
- the parent system contextmodelContext
-
ConfigurationException
public static CompositeContext registerModule(CompositeContext parent, org.apache.tuscany.model.assembly.ModuleComponent component) throws ConfigurationException
ConfigurationException
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |