Package org.gcube.common.calls.jaxws
Class GcubeServiceBuilder
java.lang.Object
org.gcube.common.calls.jaxws.GcubeServiceBuilder
- All Implemented Interfaces:
GcubeServiceBuilderDSL.NameClause,GcubeServiceBuilderDSL.StubClause
public class GcubeServiceBuilder
extends Object
implements GcubeServiceBuilderDSL.NameClause, GcubeServiceBuilderDSL.StubClause
Builds
GcubeService instances.- Author:
- Fabio Simeoni
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> GcubeService<T>andInterface(Class<T> type) Sets the stub interface of the target service.Sets the qualified name of the target service.
-
Constructor Details
-
GcubeServiceBuilder
public GcubeServiceBuilder()
-
-
Method Details
-
withName
Description copied from interface:GcubeServiceBuilderDSL.NameClauseSets the qualified name of the target service.- Specified by:
withNamein interfaceGcubeServiceBuilderDSL.NameClause- Parameters:
name- the qualified name of the target service- Returns:
- the next clause
-
andInterface
Description copied from interface:GcubeServiceBuilderDSL.StubClauseSets the stub interface of the target service.- Specified by:
andInterfacein interfaceGcubeServiceBuilderDSL.StubClause- Type Parameters:
T- the service interface type- Parameters:
type- the interface- Returns:
- the
GcubeServicethat described the target service.
-