org.apache.openjpa.conf
Class BrokerFactoryValue

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.BrokerFactoryValue
All Implemented Interfaces:
java.lang.Cloneable

public class BrokerFactoryValue
extends org.apache.openjpa.lib.conf.PluginValue

Value type used to represent the BrokerFactory. This type is defined separately so that it can be used both in the global configuration and in Bootstrap with the same encapsulated configuration.


Field Summary
static java.lang.String KEY
           
 
Constructor Summary
BrokerFactoryValue()
           
 
Method Summary
static void addDefaultAlias(java.lang.String alias, java.lang.String cls)
          Add a mapping from alias to cls to the list of default aliases for new values created after this invocation.
static void addPropertyPrefix(java.lang.String prefix)
          Add prefix to the list of prefixes under which configuration properties may be scoped.
static java.lang.Object get(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
          Extract the value of this property if set in the given provider.
static java.lang.String getKey(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
          Return the key to use for this property.
 
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, newInstance, set, setInternalObject
 
Methods inherited from class org.apache.openjpa.lib.conf.Value
alias, alias, clone, equals, getAliases, getDefault, getInstantiatingGetter, getListener, getLoadKey, getProperty, getScope, hashCode, isAliasListComprehensive, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setInstantiatingGetter, setListener, 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 java.lang.String KEY
See Also:
Constant Field Values
Constructor Detail

BrokerFactoryValue

public BrokerFactoryValue()
Method Detail

addPropertyPrefix

public static void addPropertyPrefix(java.lang.String prefix)
Add prefix to the list of prefixes under which configuration properties may be scoped.


addDefaultAlias

public static void addDefaultAlias(java.lang.String alias,
                                   java.lang.String cls)
Add a mapping from alias to cls to the list of default aliases for new values created after this invocation.


get

public static java.lang.Object get(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
Extract the value of this property if set in the given provider.


getKey

public static java.lang.String getKey(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
Return the key to use for this property.



Copyright © 2006 Apache Software Foundation. All Rights Reserved.