public class DerbySchema extends AbstractEntity implements Schema
AbstractEntity.BasicConfigurationSupport, AbstractEntity.BasicEnricherSupport, AbstractEntity.BasicGroupSupport, AbstractEntity.BasicPolicySupport, AbstractEntity.BasicSensorSupport, AbstractEntity.BasicSubscriptionSupport
EntityInternal.EnricherSupportInternal, EntityInternal.FeedSupport, EntityInternal.GroupSupportInternal, EntityInternal.PolicySupportInternal, EntityInternal.SensorSupportInternal
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Modifier and Type | Field and Description |
---|---|
static AttributeSensor<java.lang.Integer> |
MESSAGE_COUNT |
static AttributeSensor<java.lang.Integer> |
SCHEMA_DEPTH |
CHILD_ADDED, CHILD_REMOVED, CONFIG_KEY_ADDED, CONFIG_KEY_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, GROUP_ADDED, GROUP_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED
SCHEMA_NAME
Constructor and Description |
---|
DerbySchema() |
DerbySchema(Entity parent) |
DerbySchema(java.util.Map properties) |
DerbySchema(java.util.Map properties,
Entity parent) |
Modifier and Type | Method and Description |
---|---|
void |
create() |
void |
destroy()
Should be invoked at end-of-life to clean up the item.
|
java.lang.String |
getConnectionUrl()
Return the JDBC connection URL for the schema.
|
java.lang.String |
getName() |
DerbyDatabase |
getParent()
The parent of this entity, null if no parent.
|
void |
init()
Default entity initialization, just calls
AbstractEntity.initEnrichers() . |
void |
remove() |
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, clearLocations, clearParent, config, configure, configure, configure, configure, configure, configure, emit, emitInternal, enrichers, equals, feeds, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplication, 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, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, groups, hashCode, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, policies, refreshInheritedConfig, relations, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeGroup, removeLocations, removePolicy, requestPersist, resetProxy, sensors, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, toMetadataRecord, toString, unsubscribe, unsubscribe
getCatalogItemId, getId, rebind, setCatalogItemId, tags
setCatalogItemId
getCatalogItemId, tags
public static AttributeSensor<java.lang.Integer> SCHEMA_DEPTH
public static AttributeSensor<java.lang.Integer> MESSAGE_COUNT
public DerbySchema()
public DerbySchema(java.util.Map properties)
public DerbySchema(Entity parent)
public DerbySchema(java.util.Map properties, Entity parent)
public DerbyDatabase getParent()
Entity
getParent
in interface Entity
getParent
in class AbstractEntity
Entity.setParent(Entity)
,
Entity.clearParent()
public java.lang.String getConnectionUrl()
public void init()
AbstractEntity
AbstractEntity.initEnrichers()
.init
in class AbstractEntity
public void destroy()
AbstractEntity
destroy
in interface EntityInternal
destroy
in class AbstractEntity