public abstract class SerializerServiceBase extends Object implements SerializerService
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.Modifier and Type | Class and Description |
---|---|
class |
SerializerServiceBase.AutoPopulatingListConverter |
class |
SerializerServiceBase.ProxyAndStateAwareJavaReflectionProvider |
class |
SerializerServiceBase.ProxyConverter |
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<PropertySerializabilityEvaluator> |
evaluators |
protected PersistenceService |
persistenceService |
protected ThreadLocal<SerializationState> |
serializationStates |
protected XmlObjectSerializerService |
xmlObjectSerializerService |
protected com.thoughtworks.xstream.XStream |
xstream |
Constructor and Description |
---|
SerializerServiceBase() |
Modifier and Type | Method and Description |
---|---|
protected SerializationState |
createNewDocumentSerializationState(Document document) |
PersistenceService |
getPersistenceService() |
XmlObjectSerializerService |
getXmlObjectSerializerService() |
void |
setPersistenceService(PersistenceService persistenceService) |
void |
setXmlObjectSerializerService(XmlObjectSerializerService xmlObjectSerializerService) |
protected PersistenceService persistenceService
protected XmlObjectSerializerService xmlObjectSerializerService
protected com.thoughtworks.xstream.XStream xstream
protected ThreadLocal<SerializationState> serializationStates
protected ThreadLocal<PropertySerializabilityEvaluator> evaluators
public SerializerServiceBase()
public PersistenceService getPersistenceService()
public void setPersistenceService(PersistenceService persistenceService)
public XmlObjectSerializerService getXmlObjectSerializerService()
public void setXmlObjectSerializerService(XmlObjectSerializerService xmlObjectSerializerService)
protected SerializationState createNewDocumentSerializationState(Document document)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.