org.qi4j.library.sql.ds
Class PGSQLDataSourceServiceMixin

java.lang.Object
  extended by org.qi4j.library.sql.ds.PGSQLDataSourceServiceMixin
All Implemented Interfaces:
Activatable, DataSourceService

public class PGSQLDataSourceServiceMixin
extends Object
implements DataSourceService, Activatable


Constructor Summary
PGSQLDataSourceServiceMixin()
           
 
Method Summary
 void activate()
          This is invoked on the service when the instance is being activated
 DataSource getDataSource()
           
 void passivate()
          This is invoked on the service when the instance is being passivated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGSQLDataSourceServiceMixin

public PGSQLDataSourceServiceMixin()
Method Detail

activate

public void activate()
              throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being activated

Specified by:
activate in interface Activatable
Throws:
Exception - if service could not be activated

passivate

public void passivate()
               throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being passivated

Specified by:
passivate in interface Activatable
Throws:
Exception - if the service could not be passivated

getDataSource

public DataSource getDataSource()
Specified by:
getDataSource in interface DataSourceService