Package org.gcube.common.calls.jaxws
Class StubFactory<T>
- java.lang.Object
-
- 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Tat(jakarta.xml.ws.EndpointReference endpoint)Tat(String address)Returns a stub for a service endpoint at a given address.static <T> StubFactory<T>stubFor(GcubeService<T> target)
-
-
-
Method Detail
-
stubFor
public static <T> StubFactory<T> stubFor(GcubeService<T> target)
-
at
public T at(String address)
Description copied from interface:StubFactoryDSL.AtClauseReturns a stub for a service endpoint at a given address.- Specified by:
atin interfaceStubFactoryDSL.AtClause<T>- Parameters:
address- the address- Returns:
- the stub
-
at
public T at(jakarta.xml.ws.EndpointReference endpoint)
-
-