Package com.google.cloud
Interface ServiceFactory<ServiceT extends Service,ServiceOptionsT extends ServiceOptions>
-
- Type Parameters:
ServiceT
- the service subclassServiceOptionsT
- theServiceOptions
subclass corresponding to the service
public interface ServiceFactory<ServiceT extends Service,ServiceOptionsT extends ServiceOptions>
A base interface for all service factories.Implementation must provide a public no-arg constructor. Loading of a factory implementation is done via
ServiceLoader
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceT
create(ServiceOptionsT serviceOptions)
-
-
-
Method Detail
-
create
ServiceT create(ServiceOptionsT serviceOptions)
-
-