org.gcube.common.calls.jaxws
Class StubFactory<T>

java.lang.Object
  extended by org.gcube.common.calls.jaxws.StubFactory<T>
All Implemented Interfaces:
StubFactoryDSL.AtClause<T>

public class StubFactory<T>
extends Object
implements StubFactoryDSL.AtClause<T>


Method Summary
 T at(EndpointReference endpoint)
           
 T at(String address)
          Returns a stub for a service endpoint at a given address.
static
<T> StubFactory<T>
stubFor(GcubeService<T> target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

stubFor

public static <T> StubFactory<T> stubFor(GcubeService<T> target)

at

public T at(String address)
Description copied from interface: StubFactoryDSL.AtClause
Returns a stub for a service endpoint at a given address.

Specified by:
at in interface StubFactoryDSL.AtClause<T>
Parameters:
address - the address
Returns:
the stub

at

public T at(EndpointReference endpoint)


Copyright © 2014. All Rights Reserved.