|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.gilead.core.store.stateless.StatelessProxyStore
public class StatelessProxyStore
Stateless proxy store. The proxy informations is stored on the pojo, by implementing the ILightEntity interface.
ILightEntity
Constructor Summary | |
---|---|
StatelessProxyStore()
Constructor |
Method Summary | |
---|---|
void |
cleanUp()
Clean up the proxy store after a complete serialization process |
protected java.lang.String |
convertMap(java.util.Map<java.lang.String,java.io.Serializable> map)
Convert Map |
protected java.util.Map<java.lang.String,java.io.Serializable> |
convertToSerializable(java.lang.String serialized)
Convert Map |
java.util.Map<java.lang.String,java.io.Serializable> |
getProxyInformations(java.lang.Object pojo,
java.lang.String property)
Get the proxy informations for the argument pojo and properties |
IProxySerialization |
getProxySerializer()
|
protected SerializationThread |
getSerializationThread()
|
boolean |
getUseSerializationThread()
|
void |
removeProxyInformations(java.lang.Object pojo,
java.lang.String property)
Remove the proxy informations from the property of the argument object. |
void |
setProxySerializer(IProxySerialization serializer)
|
void |
setUseSerializationThread(boolean serializationThread)
|
void |
storeProxyInformations(java.lang.Object cloneBean,
java.lang.Object persistentBean,
java.lang.String property,
java.util.Map<java.lang.String,java.io.Serializable> proxyInformations)
Store the argument proxy informations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatelessProxyStore()
Method Detail |
---|
public IProxySerialization getProxySerializer()
public void setProxySerializer(IProxySerialization serializer)
serializer
- the serializer to setpublic boolean getUseSerializationThread()
public void setUseSerializationThread(boolean serializationThread)
serializationThread
- the _useSerializationThread to setpublic void storeProxyInformations(java.lang.Object cloneBean, java.lang.Object persistentBean, java.lang.String property, java.util.Map<java.lang.String,java.io.Serializable> proxyInformations)
IProxyStore
storeProxyInformations
in interface IProxyStore
cloneBean
- the cloned, target beanpersistentBean
- the persistent, source beanproperty
- the proxy property nameproxyInformations
- the associated proxy informationspublic void removeProxyInformations(java.lang.Object pojo, java.lang.String property)
IProxyStore
removeProxyInformations
in interface IProxyStore
property
- the proxy property namepublic java.util.Map<java.lang.String,java.io.Serializable> getProxyInformations(java.lang.Object pojo, java.lang.String property)
IProxyStore
getProxyInformations
in interface IProxyStore
pojo
- the root pojoproperty
- the proxy property name
public void cleanUp()
cleanUp
in interface IProxyStore
protected java.lang.String convertMap(java.util.Map<java.lang.String,java.io.Serializable> map)
protected java.util.Map<java.lang.String,java.io.Serializable> convertToSerializable(java.lang.String serialized)
protected SerializationThread getSerializationThread()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |