org.gcube.common.clients
Interface ServiceProvider<S,E>

Type Parameters:
S - the type of the service
E - the type of the endpoints

public interface ServiceProvider<S,E>

Provides services at given endpoints.

Author:
Fabio Simeoni

Method Summary
 String name()
          Returns the name of the service
 S service(E endpoint)
          Returns a service at an endpoint.
 

Method Detail

name

String name()
Returns the name of the service

Returns:
the name

service

S service(E endpoint)
Returns a service at an endpoint.

Parameters:
endpoint - the endpoint
Returns:
the service


Copyright © 2012. All Rights Reserved.