Overview | Package | Class | Tree | Deprecated | Index | Help
| Compoze Software, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.compoze.mail
Interface IConnectionFactory

public interface IConnectionFactory

This interface is responsible for creating database connections.

Method Summary
`java.sql.Connection` | `getConnection(java.util.Properties props)` Gets a connection from the factory.
`void` | `release(java.sql.Connection conn)` Releases a connection from the factory.

Method Detail

### getConnection

    public java.sql.Connection getConnection(java.util.Properties props)
                                      throws java.sql.SQLException

  Gets a connection from the factory.
  Parameters:
    `props` - the connection props (may not be `null`)
  Returns:
    the database connection

### release

    public void release(java.sql.Connection conn)
                 throws MailException

  Releases a connection from the factory.
  Parameters:
    `conn` - the connection to release

Overview | Package | Class | Tree | Deprecated | Index | Help
| Compoze Software, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.