org.apache.openjpa.conf
Class BrokerValue

java.lang.Object
  extended by org.apache.openjpa.lib.conf.Value
      extended by org.apache.openjpa.lib.conf.ObjectValue
          extended by org.apache.openjpa.lib.conf.PluginValue
              extended by org.apache.openjpa.conf.BrokerValue
All Implemented Interfaces:
java.lang.Cloneable

public class BrokerValue
extends PluginValue

Custom PluginValue that can efficiently create BrokerImpl instances.

Since:
0.9.7

Field Summary
static java.lang.String DEFAULT_ALIAS
           
static java.lang.String KEY
           
static java.lang.String NON_FINALIZING_ALIAS
           
 
Fields inherited from class org.apache.openjpa.lib.conf.Value
INVISIBLE
 
Constructor Summary
BrokerValue()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

BrokerValue

public BrokerValue()
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 class ObjectValue

getTemplateBrokerType

public java.lang.Class<? extends BrokerImpl> getTemplateBrokerType(Configuration c)