Brooklyn

brooklyn.entity.webapp
[Java] Interface ControlledDynamicWebAppCluster

brooklyn.entity.java.UsesJava
  brooklyn.entity.trait.Startable
      brooklyn.entity.rebind.Rebindable
          brooklyn.entity.webapp.WebAppService
              brooklyn.entity.Entity
                  brooklyn.entity.webapp.ControlledDynamicWebAppCluster
                      brooklyn.entity.webapp.WebAppServiceConstants
                          brooklyn.entity.webapp.ElasticJavaWebAppService
                              brooklyn.entity.trait.Identifiable
                                  brooklyn.entity.webapp.JavaWebAppService
                                      brooklyn.entity.trait.Resizable
All Superinterfaces:
UsesJava, Startable, Rebindable, WebAppService, Entity, WebAppServiceConstants, ElasticJavaWebAppService, Identifiable, JavaWebAppService, Resizable

@ImplementedBy(ControlledDynamicWebAppClusterImpl.class)
public interface ControlledDynamicWebAppCluster
extends ElasticJavaWebAppService, Entity, Resizable, Startable

This entity contains the sub-groups and entities that go in to a single location (e.g. datacenter) to provide web-app cluster functionality, viz load-balancer (controller) and webapp software processes.

You can customise the web server by customising the factory (by reference in calling code) or supplying your own factory (as a config flag).

The contents of this group entity are:


Nested Class Summary
static class ControlledDynamicWebAppCluster.Spec

@deprecated since v0.6.0; use EntitySpec#create(Class)#create(Class) as well

 
Field Summary
static AttributeSensor CLUSTER

static BasicAttributeSensorAndConfigKey CONTROLLER

static BasicAttributeSensorAndConfigKey CONTROLLER_SPEC

static BasicAttributeSensorAndConfigKey FACTORY

factory (or closure) to create the web server, given flags

static AttributeSensor HOSTNAME

static ConfigKey INITIAL_SIZE

static BasicAttributeSensorAndConfigKey MEMBER_SPEC

Spec for web server entiites to be created

static BasicAttributeSensorAndConfigKey WEB_CLUSTER_SPEC

 
Fields inherited from interface Resizable
RESIZE
 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
Method Summary
DynamicWebAppCluster getCluster()

LoadBalancer getController()

ConfigurableEntityFactory getFactory()

 
Methods inherited from interface Startable
restart, start, stop
 
Methods inherited from interface Entity
addChild, addChild, addEnricher, addGroup, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removePolicy, setParent
 
Methods inherited from interface Resizable
getCurrentSize, resize
 

Field Detail

CLUSTER

public static AttributeSensor CLUSTER


CONTROLLER

@SetFromFlag("controller")
public static BasicAttributeSensorAndConfigKey CONTROLLER


CONTROLLER_SPEC

@SetFromFlag("controllerSpec")
public static BasicAttributeSensorAndConfigKey CONTROLLER_SPEC


FACTORY

@SetFromFlag("factory")
public static BasicAttributeSensorAndConfigKey FACTORY
factory (or closure) to create the web server, given flags


HOSTNAME

public static final AttributeSensor HOSTNAME


INITIAL_SIZE

@SetFromFlag("initialSize")
public static ConfigKey INITIAL_SIZE


MEMBER_SPEC

@SetFromFlag("memberSpec")
public static BasicAttributeSensorAndConfigKey MEMBER_SPEC
Spec for web server entiites to be created


WEB_CLUSTER_SPEC

@SetFromFlag("webClusterSpec")
public static BasicAttributeSensorAndConfigKey WEB_CLUSTER_SPEC


 
Method Detail

getCluster

public DynamicWebAppCluster getCluster()


getController

public LoadBalancer getController()


getFactory

public ConfigurableEntityFactory getFactory()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.