vishnu.life.single
Class SingleRelationalDatabaseService

java.lang.Object
  extended by vishnu.life.single.SingleRelationalDatabaseService
All Implemented Interfaces:
RelationalDatabaseService

public class SingleRelationalDatabaseService
extends java.lang.Object
implements RelationalDatabaseService

TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Author:
Hernan Rancati
 

Constructor Summary
SingleRelationalDatabaseService(RelationalServiceContext c)
           
 
Method Summary
 void add(UserContext context)
          Setea todos los parametros de sesion que se usaran implicitamente en todos los comandos que se envien.
 Database getDatabase(java.lang.String databaseName)
          Ddevuelve la base de datos con el nombre especificado.
 java.util.concurrent.Future<Response> perform(Command c)
           
 Session session(java.lang.Thread t)
           
 void stop()
          Termina el ciclo de vida.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleRelationalDatabaseService

public SingleRelationalDatabaseService(RelationalServiceContext c)
Method Detail

add

public void add(UserContext context)
Description copied from interface: RelationalDatabaseService
Setea todos los parametros de sesion que se usaran implicitamente en todos los comandos que se envien.

Specified by:
add in interface RelationalDatabaseService
Parameters:
context - - el contexto de usuario

stop

public void stop()
Description copied from interface: RelationalDatabaseService
Termina el ciclo de vida.

Specified by:
stop in interface RelationalDatabaseService

getDatabase

public Database getDatabase(java.lang.String databaseName)
Description copied from interface: RelationalDatabaseService
Ddevuelve la base de datos con el nombre especificado.

Specified by:
getDatabase in interface RelationalDatabaseService
Returns:
- la base de datos de referencia.

session

public Session session(java.lang.Thread t)
Specified by:
session in interface RelationalDatabaseService

perform

public java.util.concurrent.Future<Response> perform(Command c)
Specified by:
perform in interface RelationalDatabaseService