|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.conf.NoOpCacheMarshaller
public class NoOpCacheMarshaller
Implementation of CacheMarshaller
that does nothing.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.openjpa.conf.CacheMarshaller |
---|
CacheMarshaller.ValidationPolicy |
Constructor Summary | |
---|---|
NoOpCacheMarshaller()
|
Method Summary | |
---|---|
String |
getId()
The id that this marshaller is responsible for. |
Object |
load()
Load and return an instance of the type handled by this marshaller. |
void |
setId(String id)
The id that this marshaller is responsible for. |
void |
setValidationPolicy(String policy)
The CacheMarshaller.ValidationPolicy that this marshaller should use. |
void |
store(Object o)
Store o into the cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoOpCacheMarshaller()
Method Detail |
---|
public Object load()
CacheMarshaller
Configurable
, then this method will invoke
Configurable.setConfiguration(org.apache.openjpa.lib.conf.Configuration)
,
Configurable.startConfiguration()
, and
Configurable.endConfiguration()
on the instance before returning.
load
in interface CacheMarshaller
public void setId(String id)
CacheMarshaller
setId
in interface CacheMarshaller
public String getId()
CacheMarshaller
getId
in interface CacheMarshaller
public void setValidationPolicy(String policy)
CacheMarshaller
CacheMarshaller.ValidationPolicy
that this marshaller should use.
A value for this parameter is required. The class will be instantiated
via the Configurations
mechanism,
ensuring that if the class implements Configurable
or
GenericConfigurable
, it will be taken
through the appropriate lifecycle.
setValidationPolicy
in interface CacheMarshaller
public void store(Object o)
CacheMarshaller
o
into the cache.
store
in interface CacheMarshaller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |