org.smallmind.quorum.pool.connection
Interface ConnectionInstanceFactory<R,C>

All Known Implementing Classes:
AbstractConnectionInstanceFactory

public interface ConnectionInstanceFactory<R,C>


Method Summary
 ConnectionInstance<C> createInstance(ConnectionPool<C> connectionPool)
           
 void deconstruct()
           
 void initialize()
           
 R rawInstance()
           
 void shutdown()
           
 void startup()
           
 

Method Detail

rawInstance

R rawInstance()
              throws Exception
Throws:
Exception

createInstance

ConnectionInstance<C> createInstance(ConnectionPool<C> connectionPool)
                                     throws Exception
Throws:
Exception

initialize

void initialize()
                throws Exception
Throws:
Exception

startup

void startup()
             throws Exception
Throws:
Exception

shutdown

void shutdown()
              throws Exception
Throws:
Exception

deconstruct

void deconstruct()
                 throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.