public class BrokerValue extends PluginValue
PluginValue
that can efficiently create BrokerImpl
instances.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ALIAS |
static String |
KEY |
static String |
NON_FINALIZING_ALIAS |
Constructor and Description |
---|
BrokerValue() |
Modifier and Type | Method and Description |
---|---|
Class<? extends BrokerImpl> |
getTemplateBrokerType(Configuration c) |
Object |
newInstance(String clsName,
Class type,
Configuration conf,
boolean fatal)
Allow subclasses to instantiate additional plugins.
|
configure, getClassName, getInternalString, getProperties, getString, getValueType, instantiate, isSingleton, objectChanged, set, setClassName, setInternalString, setProperties, setString
configure, get, instantiate, set, setInternalObject
addEquivalentKey, addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, hashCode, hide, isAliasListComprehensive, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, toString, unalias, unalias, valueChanged
public static final String KEY
public static final String NON_FINALIZING_ALIAS
public static final String DEFAULT_ALIAS
public Object newInstance(String clsName, Class type, Configuration conf, boolean fatal)
ObjectValue
newInstance
in class ObjectValue
public Class<? extends BrokerImpl> getTemplateBrokerType(Configuration c)
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.