public class GcubeServiceBuilder extends Object implements GcubeServiceBuilderDSL.NameClause, GcubeServiceBuilderDSL.StubClause
GCoreService instances.| Constructor and Description |
|---|
GcubeServiceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
<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.
|
public GcubeServiceBuilderDSL.StubClause withName(QName name)
GcubeServiceBuilderDSL.NameClausewithName in interface GcubeServiceBuilderDSL.NameClausename - the qualified name of the target servicepublic <T> GcubeService<T> andInterface(Class<T> type)
GcubeServiceBuilderDSL.StubClauseandInterface in interface GcubeServiceBuilderDSL.StubClausetype - the interfaceGCoreService that described the target service.Copyright © 2015. All Rights Reserved.