org.kuali.rice.ksb.impl.bus
Class ServiceConfigurationSerializationHandler
java.lang.Object
org.kuali.rice.ksb.impl.bus.ServiceConfigurationSerializationHandler
public class ServiceConfigurationSerializationHandler
- extends Object
This class is meant to be a temporary implementation of serialization operations
for ServiceConfiguration
classes. Coming into Rice 2.0, there is not a
"pluggable" spi for dealing with custom service configurations, definitions,
connectors, and exporters. So for now everything is hardcoded and this
class creates a hardcoded JAXBContext to perform marshalling/unmarshalling
of the standard ServiceConfiguration
classes.
NOTE: JAXBContext is thread-safe, but marshaller/unmarshaller are *NOT* thread-safe.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceConfigurationSerializationHandler
public ServiceConfigurationSerializationHandler()
marshallToXml
public static String marshallToXml(ServiceConfiguration serviceConfiguration)
unmarshallFromXml
public static ServiceConfiguration unmarshallFromXml(String xml)
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.