public class BrooklynAssemblyTemplateInstantiator extends java.lang.Object implements AssemblyTemplateSpecInstantiator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NEVER_UNWRAP_APPS_PROPERTY |
Constructor and Description |
---|
BrooklynAssemblyTemplateInstantiator() |
Modifier and Type | Method and Description |
---|---|
EntitySpec<? extends Application> |
createApplicationSpec(AssemblyTemplate template,
CampPlatform platform,
BrooklynClassLoadingContext loader,
java.util.Set<java.lang.String> encounteredTypeSymbolicNames)
Gets the single item returned by
AssemblyTemplateSpecInstantiator.createServiceSpecs(org.apache.brooklyn.camp.spi.AssemblyTemplate, org.apache.brooklyn.camp.CampPlatform, org.apache.brooklyn.api.mgmt.classloading.BrooklynClassLoadingContext, java.util.Set<java.lang.String>)
and wraps it in an Application if needed, applying top-level
attributes and locations to the root entity. |
java.util.List<EntitySpec<?>> |
createServiceSpecs(AssemblyTemplate template,
CampPlatform platform,
BrooklynClassLoadingContext itemLoader,
java.util.Set<java.lang.String> encounteredRegisteredTypeIds)
Returns specs for each item in the services list
|
Assembly |
instantiate(AssemblyTemplate template,
CampPlatform platform) |
public static final java.lang.String NEVER_UNWRAP_APPS_PROPERTY
public BrooklynAssemblyTemplateInstantiator()
public Assembly instantiate(AssemblyTemplate template, CampPlatform platform)
instantiate
in interface AssemblyTemplateInstantiator
public java.util.List<EntitySpec<?>> createServiceSpecs(AssemblyTemplate template, CampPlatform platform, BrooklynClassLoadingContext itemLoader, java.util.Set<java.lang.String> encounteredRegisteredTypeIds)
AssemblyTemplateSpecInstantiator
createServiceSpecs
in interface AssemblyTemplateSpecInstantiator
public EntitySpec<? extends Application> createApplicationSpec(AssemblyTemplate template, CampPlatform platform, BrooklynClassLoadingContext loader, java.util.Set<java.lang.String> encounteredTypeSymbolicNames)
AssemblyTemplateSpecInstantiator
AssemblyTemplateSpecInstantiator.createServiceSpecs(org.apache.brooklyn.camp.spi.AssemblyTemplate, org.apache.brooklyn.camp.CampPlatform, org.apache.brooklyn.api.mgmt.classloading.BrooklynClassLoadingContext, java.util.Set<java.lang.String>)
and wraps it in an Application if needed, applying top-level
attributes and locations to the root entity.createApplicationSpec
in interface AssemblyTemplateSpecInstantiator