org.kuali.rice.ksb.impl.bus
Class ServiceConfigurationSerializationHandler

java.lang.Object
  extended by 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)

Constructor Summary
ServiceConfigurationSerializationHandler()
           
 
Method Summary
static String marshallToXml(ServiceConfiguration serviceConfiguration)
           
static ServiceConfiguration unmarshallFromXml(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceConfigurationSerializationHandler

public ServiceConfigurationSerializationHandler()
Method Detail

marshallToXml

public static String marshallToXml(ServiceConfiguration serviceConfiguration)

unmarshallFromXml

public static ServiceConfiguration unmarshallFromXml(String xml)


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