Package org.apache.openjpa.conf
Class CacheMarshallersValue
java.lang.Object
org.apache.openjpa.lib.conf.Value
org.apache.openjpa.lib.conf.ObjectValue
org.apache.openjpa.lib.conf.PluginListValue
org.apache.openjpa.conf.CacheMarshallersValue
- All Implemented Interfaces:
Cloneable
A configuration value for handling and accessing cache marshallers.
- Since:
- 1.1.0
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn theCacheMarshallerto use for caching metadata of idid.static CacheMarshallergetMarshallerById(Configuration c, String id) Return theCacheMarshallerto use for caching metadata of idid.protected voidinstantiate(Class<?> elemType, Configuration conf, boolean fatal) Instantiate the plugins as instances of the given class.Methods inherited from class org.apache.openjpa.lib.conf.PluginListValue
getClassNames, getInternalString, getProperties, getString, getValueType, objectChanged, setClassNames, setInternalString, setProperties, setStringMethods inherited from class org.apache.openjpa.lib.conf.ObjectValue
configure, configure, get, instantiate, newInstance, set, set, setInternalObjectMethods 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
-
Constructor Details
-
CacheMarshallersValue
-
-
Method Details
-
instantiate
Description copied from class:PluginListValueInstantiate the plugins as instances of the given class.- Overrides:
instantiatein classPluginListValue
-
getMarshallerById
Return theCacheMarshallerto use for caching metadata of idid. If no marshaller exists for the id, returnsNoOpCacheMarshaller. -
getMarshallerById
Return theCacheMarshallerto use for caching metadata of idid. If no marshaller exists for the id, returnsNoOpCacheMarshaller. -
getInstancesAsMap
-
initialize
protected void initialize()
-