org.kuali.rice.krad.service.impl
Class SerializerServiceBase
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SerializerServiceBase
public SerializerServiceBase()
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-2012 The Kuali Foundation. All Rights Reserved.