Package org.kuali.rice.ksb.impl.bus
Class ServiceConfigurationSerializationHandler
java.lang.Object
org.kuali.rice.ksb.impl.bus.ServiceConfigurationSerializationHandler
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringmarshallToXml(org.kuali.rice.ksb.api.bus.ServiceConfiguration serviceConfiguration) static org.kuali.rice.ksb.api.bus.ServiceConfigurationunmarshallFromXml(String xml)
-
Constructor Details
-
ServiceConfigurationSerializationHandler
public ServiceConfigurationSerializationHandler()
-
-
Method Details
-
marshallToXml
public static String marshallToXml(org.kuali.rice.ksb.api.bus.ServiceConfiguration serviceConfiguration) -
unmarshallFromXml
-