|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.SerializationPolicy
public class SerializationPolicy
Configures the serialization policy for meta-object saving and loading globally or on a per-thread basis.
Constructor Summary | |
---|---|
SerializationPolicy()
|
Method Summary | |
---|---|
static SerializationPolicy |
getContextPolicy()
Returns the current policy for this thread or the root policy if none has been defined specifically for this thread. |
boolean |
getFullySerializeObjectMetaClasses()
Returns true if meta-classes should be fully serialized with meta-objects. |
static SerializationPolicy |
getGlobalPolicy()
Returns the global serialization policy. |
void |
setFullySerializeObjectMetaClasses(boolean flag)
Set to true if meta-classes should be fully serialized with meta-objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerializationPolicy()
Method Detail |
---|
public static SerializationPolicy getGlobalPolicy()
public static SerializationPolicy getContextPolicy()
public void setFullySerializeObjectMetaClasses(boolean flag)
public boolean getFullySerializeObjectMetaClasses()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |