public class CumulusRDFApplication extends AbstractApplication
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Startable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody
EntityInternal.FeedSupport
BrooklynObjectInternal.ConfigurationSupportInternal
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.lang.Integer> |
CASSANDRA_CLUSTER_SIZE |
static ConfigKey<java.lang.Integer> |
CASSANDRA_THRIFT_PORT |
static ConfigKey<java.lang.String> |
CUMULUS_RDF_CONFIG_URL |
static java.lang.String |
DEFAULT_LOCATIONS |
static ConfigKey<java.lang.Boolean> |
MULTI_REGION_FABRIC |
CHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED
RESTART, SERVICE_UP, START, STOP
Constructor and Description |
---|
CumulusRDFApplication() |
Modifier and Type | Method and Description |
---|---|
void |
initApp()
Create the application entities:
A
CassandraFabric of CassandraDatacenter s containing CassandraNode s
A TomcatServer
|
static void |
main(java.lang.String[] argv) |
void |
start(java.util.Collection<? extends Location> locations)
Controls the startup locations for the webapp and the cassandra fabric.
|
getApplication, init, onManagementStopped, postStart, preStart, restart, setParent, stop
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, addTag, clearLocations, clearParent, config, configure, configure, configure, configure, configure, containsTag, destroy, emit, emitInternal, equals, feeds, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityType, getExecutionContext, getFeedSupport, getGroups, getIconUrl, getLocalConfigBag, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getTags, hashCode, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeGroup, removeLocations, removePolicy, removeTag, requestPersist, resetProxy, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, unsubscribe, unsubscribe
getCatalogItemId, getId, getTagSupport, rebind, setCatalogItemId, tags
getManagementContext
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag
getCatalogItemId, getTagSupport, tags
config, setConfig
setCatalogItemId
public static final ConfigKey<java.lang.String> CUMULUS_RDF_CONFIG_URL
public static final ConfigKey<java.lang.Integer> CASSANDRA_THRIFT_PORT
public static final ConfigKey<java.lang.Integer> CASSANDRA_CLUSTER_SIZE
public static final ConfigKey<java.lang.Boolean> MULTI_REGION_FABRIC
public static final java.lang.String DEFAULT_LOCATIONS
public void initApp()
CassandraFabric
of CassandraDatacenter
s containing CassandraNode
s
TomcatServer
public void start(java.util.Collection<? extends Location> locations)
start
in interface Startable
start
in class AbstractApplication
AbstractApplication.start(Collection)
public static void main(java.lang.String[] argv)