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:
Cloneable

public class BrokerValue
extends PluginValue

Custom PluginValue that can efficiently create BrokerImpl instances.

Since:
0.9.7

Field Summary
static String DEFAULT_ALIAS
           
static String KEY
           
static String NON_FINALIZING_ALIAS
           
 
Constructor Summary
BrokerValue()
           
 
Method Summary
 Class<? extends BrokerImpl> getTemplateBrokerType(Configuration c)
           
 Object newInstance(String clsName, Class type, Configuration conf, boolean fatal)
          Allow subclasses to instantiate additional plugins.
 
Methods inherited from class org.apache.openjpa.lib.conf.PluginValue
getClassName, getInternalString, getProperties, getString, getValueType, instantiate, isSingleton, objectChanged, set, setClassName, setInternalString, setProperties, setString
 
Methods inherited from class org.apache.openjpa.lib.conf.ObjectValue
get, instantiate, set, setInternalObject
 
Methods inherited from class org.apache.openjpa.lib.conf.Value
addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getScope, hashCode, isAliasListComprehensive, isDynamic, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, unalias, unalias, valueChanged
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final String KEY
See Also:
Constant Field Values

NON_FINALIZING_ALIAS

public static final String NON_FINALIZING_ALIAS
See Also:
Constant Field Values

DEFAULT_ALIAS

public static final String DEFAULT_ALIAS
See Also:
Constant Field Values
Constructor Detail

BrokerValue

public BrokerValue()
Method Detail

newInstance

public Object newInstance(String clsName,
                          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 Class<? extends BrokerImpl> getTemplateBrokerType(Configuration c)


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.