org.gcube.common.ghn.service.configuration
Class LifetimeHandlerAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Object,LifetimeHandler>
      extended by org.gcube.common.ghn.service.configuration.LifetimeHandlerAdapter

public class LifetimeHandlerAdapter
extends XmlAdapter<Object,LifetimeHandler>

Adapts LifetimeHandler bindings found in a ServiceConfiguration.

Author:
Fabio Simeoni

Nested Class Summary
static class LifetimeHandlerAdapter.UnavailableHandler
          A LifetimeHandler included in a ServiceConfiguration but not available at runtime.
 
Constructor Summary
LifetimeHandlerAdapter()
           
 
Method Summary
 Object marshal(LifetimeHandler handler)
           
 LifetimeHandler unmarshal(Object handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifetimeHandlerAdapter

public LifetimeHandlerAdapter()
Method Detail

marshal

public Object marshal(LifetimeHandler handler)
               throws Exception
Specified by:
marshal in class XmlAdapter<Object,LifetimeHandler>
Throws:
Exception

unmarshal

public LifetimeHandler unmarshal(Object handler)
                          throws Exception
Specified by:
unmarshal in class XmlAdapter<Object,LifetimeHandler>
Throws:
Exception


Copyright © 2013. All Rights Reserved.