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 GCoreService instances.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GcubeServiceBuilder
public GcubeServiceBuilder()
withName
public GcubeServiceBuilderDSL.StubClause withName(QName name)
- Description copied from interface:
GcubeServiceBuilderDSL.NameClause
- Sets the qualified name of the target service.
- Specified by:
withName in interface GcubeServiceBuilderDSL.NameClause
- Parameters:
name - the qualified name of the target service
- Returns:
- the next clause
andInterface
public <T> GcubeService<T> andInterface(Class<T> type)
- Description copied from interface:
GcubeServiceBuilderDSL.StubClause
- Sets the stub interface of the target service.
- Specified by:
andInterface in interface GcubeServiceBuilderDSL.StubClause
- Parameters:
type - the interface
- Returns:
- the
GCoreService that described the target service.
Copyright © 2014. All Rights Reserved.