|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.lib.conf.Value
org.apache.openjpa.lib.conf.ObjectValue
org.apache.openjpa.lib.conf.PluginValue
org.apache.openjpa.conf.BrokerFactoryValue
public class BrokerFactoryValue
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 |
---|
public static final java.lang.String KEY
Constructor Detail |
---|
public BrokerFactoryValue()
Method Detail |
---|
public static void addPropertyPrefix(java.lang.String prefix)
prefix
to the list of prefixes under which configuration
properties may be scoped.
public static void addDefaultAlias(java.lang.String alias, java.lang.String cls)
alias
to cls
to the list
of default aliases for new values created after this invocation.
public static java.lang.Object get(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
public static java.lang.String getKey(org.apache.openjpa.lib.conf.ConfigurationProvider cp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |