public class DerbySchema extends AbstractEntity implements Schema
AbstractEntity.BasicConfigurationSupport, AbstractEntity.BasicEnricherSupport, AbstractEntity.BasicGroupSupport, AbstractEntity.BasicPolicySupport, AbstractEntity.BasicSensorSupport, AbstractEntity.BasicSubscriptionSupport
EntityInternal.EnricherSupportInternal, EntityInternal.EntitySubscriptionSupportInternal, 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 |
APPLICATION_ID, CATALOG_ID, CHILD_ADDED, CHILD_REMOVED, CONFIG_KEY_ADDED, CONFIG_KEY_REMOVED, DEFAULT_DISPLAY_NAME, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, ENTITY_ID, 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 sets ID sensors and calls
AbstractEntity.initEnrichers() . |
void |
remove() |
addChild, addChild, addFeed, addLocations, addLocationsWithoutPublishing, clearLocations, clearParent, config, configure, configure, enrichers, equals, feeds, firstLocation, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEffector, getEntityType, getExecutionContext, getIconUrl, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getProxy, getProxyIfAvailable, getRebindSupport, groups, hashCode, invalidateReferences, invoke, invoke, invoke, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, policies, relations, removeChild, removeLocations, requestPersist, resetProxy, sensors, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setParent, setProxy, subscriptions, toMetadataRecord, toString
addSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId, tags
addSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId
getCatalogItemId, getCatalogItemIdSearchPath, 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