org.gcube.common.database.is
Class ISDatabaseProvider

java.lang.Object
  extended by org.gcube.common.database.is.ISDatabaseProvider
All Implemented Interfaces:
DatabaseProvider

@Default
@Singleton
public class ISDatabaseProvider
extends Object
implements DatabaseProvider


Constructor Summary
ISDatabaseProvider()
           
 
Method Summary
 DatabaseEndpoint get(DatabaseEndpointIdentifier endpointIdentifier)
          Retrieve a DatabaseEndpoint by the means of a DatabaseEndpointIdentifier
 DatabaseInstance get(String databaseEngineId)
           
 DatabaseEndpoint get(String databaseInstanceId, String endpointId)
          Retrieves a DatabaseEndpoint by providing a database and endpoint name without the need to instantiate a DatabaseEndpointIdentifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISDatabaseProvider

public ISDatabaseProvider()
Method Detail

get

public DatabaseEndpoint get(String databaseInstanceId,
                            String endpointId)
Description copied from interface: DatabaseProvider
Retrieves a DatabaseEndpoint by providing a database and endpoint name without the need to instantiate a DatabaseEndpointIdentifier.

Specified by:
get in interface DatabaseProvider
Returns:

get

public DatabaseInstance get(String databaseEngineId)
Specified by:
get in interface DatabaseProvider

get

public DatabaseEndpoint get(DatabaseEndpointIdentifier endpointIdentifier)
Description copied from interface: DatabaseProvider
Retrieve a DatabaseEndpoint by the means of a DatabaseEndpointIdentifier

Specified by:
get in interface DatabaseProvider
Returns:


Copyright © 2013. All Rights Reserved.