brooklyn.enricher.basic
[Java] Class AbstractEnricher
java.lang.Object
brooklyn.policy.basic.AbstractEntityAdjunct
brooklyn.enricher.basic.AbstractEnricher
- All Implemented Interfaces:
- Enricher
public abstract class AbstractEnricher
extends AbstractEntityAdjunct
Base Enricher implementation; all enrichers should extend this or its children
Method Summary |
protected void
|
configure(java.util.Map properties)
will set fields from flags, and put the remaining ones into the 'leftovers' map.
|
Methods inherited from class AbstractEntityAdjunct
|
check, destroy, getAllSubscriptions, getId, getManagementContext, getName, getSubscriptionTracker, isDestroyed, isRunning, setEntity, setId, setName, subscribe, subscribeToChildren, subscribeToMembers, unsubscribe, unsubscribe |
leftoverProperties
protected java.util.Map leftoverProperties
-
AbstractEnricher
public AbstractEnricher()
-
AbstractEnricher
public AbstractEnricher(java.util.Map flags)
-
configure
protected void configure(java.util.Map properties)
- will set fields from flags, and put the remaining ones into the 'leftovers' map.
can be subclassed for custom initialization but note the following.
if you require fields to be initialized you must do that in this method. You must
*not* rely on field initializers because they may not run until *after* this method
(this method is invoked by the constructor in this class, so initializers
in subclasses will not have run when this overridden method is invoked.)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.