org.apache.openjpa.conf
Class CacheMarshallersValue
java.lang.Object
   org.apache.openjpa.lib.conf.Value
org.apache.openjpa.lib.conf.Value
       org.apache.openjpa.lib.conf.ObjectValue
org.apache.openjpa.lib.conf.ObjectValue
           org.apache.openjpa.lib.conf.PluginListValue
org.apache.openjpa.lib.conf.PluginListValue
               org.apache.openjpa.conf.CacheMarshallersValue
org.apache.openjpa.conf.CacheMarshallersValue
- All Implemented Interfaces: 
- Cloneable
- public class CacheMarshallersValue 
- extends PluginListValue
A configuration value for handling and accessing cache marshallers.
- Since:
- 1.1.0
 
| Fields inherited from class org.apache.openjpa.lib.conf.Value | 
| INVISIBLE | 
 
 
 
 
 
| 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 | 
 
 
CacheMarshallersValue
public CacheMarshallersValue(Configuration conf)
instantiate
public Object instantiate(Class<?> elemType,
                          Configuration conf,
                          boolean fatal)
- Description copied from class: PluginListValue
- Instantiate the plugins as instances of the given class.
 
- 
- Overrides:
- instantiatein class- PluginListValue
 
- 
 
getMarshallerById
public CacheMarshaller getMarshallerById(String id)
- Return the CacheMarshallerto use for caching metadata of idid. If no marshaller exists for the id, returnsNoOpCacheMarshaller.
 
- 
 
getMarshallerById
public static CacheMarshaller getMarshallerById(Configuration c,
                                                String id)
- Return the CacheMarshallerto use for caching metadata of idid. If no marshaller exists for the id, returnsNoOpCacheMarshaller.
 
- 
 
getInstancesAsMap
public Map<String,CacheMarshaller> getInstancesAsMap()
- 
 
initialize
protected void initialize()
- 
 
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.