org.kuali.rice.krad.service.impl
Class SerializerServiceBase

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.SerializerServiceBase
All Implemented Interfaces:
SerializerService
Direct Known Subclasses:
BusinessObjectSerializerServiceImpl, DocumentSerializerServiceImpl

public abstract class SerializerServiceBase
extends Object
implements SerializerService

Default implementation of the DocumentSerializerService. If no <workflowProperties> have been defined in the data dictionary for a document type (i.e. Document.getDocumentPropertySerizabilityEvaluator() returns an instance of AlwaysTruePropertySerializibilityEvaluator), then this service will revert to using the XmlObjectSerializerService bean, which was the old way of serializing a document for routing. If workflowProperties are defined, then this implementation will selectively serialize items.


Nested Class Summary
 class SerializerServiceBase.AutoPopulatingListConverter
           
 class SerializerServiceBase.ProxyAndStateAwareJavaReflectionProvider
           
 class SerializerServiceBase.ProxyConverter
           
 
Field Summary
protected  ThreadLocal<PropertySerializabilityEvaluator> evaluators
           
protected  PersistenceService persistenceService
           
protected  ThreadLocal<SerializationState> serializationStates
           
protected  XmlObjectSerializerService xmlObjectSerializerService
           
protected  com.thoughtworks.xstream.XStream xstream
           
 
Constructor Summary
SerializerServiceBase()
           
 
Method Summary
protected  SerializationState createNewDocumentSerializationState(Document document)
           
 PersistenceService getPersistenceService()
           
 XmlObjectSerializerService getXmlObjectSerializerService()
           
 void setPersistenceService(PersistenceService persistenceService)
           
 void setXmlObjectSerializerService(XmlObjectSerializerService xmlObjectSerializerService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

persistenceService

protected PersistenceService persistenceService

xmlObjectSerializerService

protected XmlObjectSerializerService xmlObjectSerializerService

xstream

protected com.thoughtworks.xstream.XStream xstream

serializationStates

protected ThreadLocal<SerializationState> serializationStates

evaluators

protected ThreadLocal<PropertySerializabilityEvaluator> evaluators
Constructor Detail

SerializerServiceBase

public SerializerServiceBase()
Method Detail

getPersistenceService

public PersistenceService getPersistenceService()

setPersistenceService

public void setPersistenceService(PersistenceService persistenceService)

getXmlObjectSerializerService

public XmlObjectSerializerService getXmlObjectSerializerService()

setXmlObjectSerializerService

public void setXmlObjectSerializerService(XmlObjectSerializerService xmlObjectSerializerService)

createNewDocumentSerializationState

protected SerializationState createNewDocumentSerializationState(Document document)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.