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

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

public class RequestHandlerAdapter
extends XmlAdapter<Object,RequestHandler>

Adapts RequestHandlers bindings found in a ServiceConfiguration.

Author:
Fabio Simeoni

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

Constructor Detail

RequestHandlerAdapter

public RequestHandlerAdapter()
Method Detail

marshal

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

unmarshal

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


Copyright © 2013. All Rights Reserved.