Package org.apache.openjpa.conf
Class BrokerValue
- java.lang.Object
-
- org.apache.openjpa.lib.conf.Value
-
- org.apache.openjpa.lib.conf.ObjectValue
-
- org.apache.openjpa.lib.conf.PluginValue
-
- org.apache.openjpa.conf.BrokerValue
-
- All Implemented Interfaces:
java.lang.Cloneable
public class BrokerValue extends PluginValue
CustomPluginValue
that can efficiently createBrokerImpl
instances.- Since:
- 0.9.7
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_ALIAS
static java.lang.String
KEY
static java.lang.String
NON_FINALIZING_ALIAS
-
Constructor Summary
Constructors Constructor Description BrokerValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends BrokerImpl>
getTemplateBrokerType(Configuration c)
java.lang.Object
newInstance(java.lang.String clsName, java.lang.Class type, Configuration conf, boolean fatal)
Allow subclasses to instantiate additional plugins.-
Methods inherited from class org.apache.openjpa.lib.conf.PluginValue
configure, getClassName, getInternalString, getProperties, getString, getValueType, instantiate, isSingleton, objectChanged, set, setClassName, setInternalString, setProperties, setString
-
Methods inherited from class org.apache.openjpa.lib.conf.ObjectValue
configure, get, instantiate, set, setInternalObject
-
Methods inherited from class org.apache.openjpa.lib.conf.Value
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
-
-
-
-
Field Detail
-
KEY
public static final java.lang.String KEY
- See Also:
- Constant Field Values
-
NON_FINALIZING_ALIAS
public static final java.lang.String NON_FINALIZING_ALIAS
- See Also:
- Constant Field Values
-
DEFAULT_ALIAS
public static final java.lang.String DEFAULT_ALIAS
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
public java.lang.Object newInstance(java.lang.String clsName, java.lang.Class type, Configuration conf, boolean fatal)
Description copied from class:ObjectValue
Allow subclasses to instantiate additional plugins. This method does not perform configuration.- Overrides:
newInstance
in classObjectValue
-
getTemplateBrokerType
public java.lang.Class<? extends BrokerImpl> getTemplateBrokerType(Configuration c)
-
-