|
||||||||||
| 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.jdbc.conf.MappingFactoryValue
public class MappingFactoryValue
Handles the complex logic of creating a MetaDataFactory for
combined metadata and mapping.
| Field Summary |
|---|
| Fields inherited from class org.apache.openjpa.lib.conf.Value |
|---|
INVISIBLE |
| Constructor Summary | |
|---|---|
MappingFactoryValue(String prop)
|
|
| Method Summary | |
|---|---|
MetaDataFactory |
instantiateMetaDataFactory(org.apache.openjpa.lib.conf.Configuration conf,
org.apache.openjpa.lib.conf.PluginValue metaPlugin,
String mapping)
Intantiate a MetaDataFactory responsible for both metadata and
mapping. |
MetaDataFactory |
instantiateMetaDataFactory(org.apache.openjpa.lib.conf.Configuration conf,
org.apache.openjpa.lib.conf.PluginValue metaPlugin,
String mapping,
boolean fatal)
Intantiate a MetaDataFactory responsible for both metadata and
mapping. |
void |
setMappedMetaDataFactoryDefault(String metaAlias,
String mappingAlias)
If the Mapping property is set, we check these defaults
before checking metadata factory defaults. |
void |
setMetaDataFactoryDefault(String metaAlias,
String mappingAlias)
Default setting for a given MetaDataFactory alias setting. |
| 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, newInstance, 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 |
| Constructor Detail |
|---|
public MappingFactoryValue(String prop)
| Method Detail |
|---|
public void setMetaDataFactoryDefault(String metaAlias,
String mappingAlias)
MetaDataFactory alias setting.
If a MappingFactory value is not supplied, we check these
defaults against the MetaDataFactory setting. If the
MetaDataFactory does not have a default, we assume it
handles both metadata and mapping factory.
public void setMappedMetaDataFactoryDefault(String metaAlias,
String mappingAlias)
Mapping property is set, we check these defaults
before checking metadata factory defaults.
public MetaDataFactory instantiateMetaDataFactory(org.apache.openjpa.lib.conf.Configuration conf,
org.apache.openjpa.lib.conf.PluginValue metaPlugin,
String mapping)
MetaDataFactory responsible for both metadata and
mapping.
public MetaDataFactory instantiateMetaDataFactory(org.apache.openjpa.lib.conf.Configuration conf,
org.apache.openjpa.lib.conf.PluginValue metaPlugin,
String mapping,
boolean fatal)
MetaDataFactory responsible for both metadata and
mapping.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||