org.gcube.common.calls.jaxws
Class GcubeServiceBuilder

java.lang.Object
  extended by 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

Constructor Summary
GcubeServiceBuilder()
           
 
Method Summary
<T> GcubeService<T>
andInterface(Class<T> type)
          Sets the stub interface of the target service.
 GcubeServiceBuilderDSL.StubClause withName(QName name)
          Sets the qualified name of the target service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GcubeServiceBuilder

public GcubeServiceBuilder()
Method Detail

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.