org.gcube.common.ghn.client
Class ClientServiceAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Object,ClientService>
      extended by org.gcube.common.ghn.client.ClientServiceAdapter

public class ClientServiceAdapter
extends XmlAdapter<Object,ClientService>

Adapts ClientService bindings found in a ContainerConfiguration.

Author:
Fabio Simeoni

Constructor Summary
ClientServiceAdapter()
           
 
Method Summary
 Object marshal(ClientService service)
           
 ClientService unmarshal(Object service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientServiceAdapter

public ClientServiceAdapter()
Method Detail

marshal

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

unmarshal

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


Copyright © 2012. All Rights Reserved.