Package io.inugami.commons.marshaling
Class DefaultXmlJaxbMarshallerSpi
- java.lang.Object
-
- io.inugami.commons.marshaling.DefaultXmlJaxbMarshallerSpi
-
- All Implemented Interfaces:
ApplicationLifecycleSPI
,XmlJaxbMarshallerSpi
public class DefaultXmlJaxbMarshallerSpi extends Object implements XmlJaxbMarshallerSpi, ApplicationLifecycleSPI
-
-
Constructor Summary
Constructors Constructor Description DefaultXmlJaxbMarshallerSpi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
convertFromXml(String value)
String
convertToXml(Object value)
void
onContextRefreshed(Object event)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.inugami.api.listeners.ApplicationLifecycleSPI
onApplicationContextInitialized, onApplicationFail, onApplicationPrepared, onApplicationReady, onApplicationStarted, onApplicationStarting, onAvailabilityChange, onbWebServerInitialized, onConfigurationReady, onEnvironmentPrepared
-
-
-
-
Method Detail
-
onContextRefreshed
public void onContextRefreshed(Object event)
- Specified by:
onContextRefreshed
in interfaceApplicationLifecycleSPI
-
convertToXml
public String convertToXml(Object value)
- Specified by:
convertToXml
in interfaceXmlJaxbMarshallerSpi
-
convertFromXml
public <T> T convertFromXml(String value)
- Specified by:
convertFromXml
in interfaceXmlJaxbMarshallerSpi
-
-