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
           
 
Fields inherited from class org.apache.openjpa.lib.conf.Value
INVISIBLE
 
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
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 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-2011 Apache Software Foundation. All Rights Reserved.