public interface ConnectionManager
| Modifier and Type | Method and Description |
|---|---|
Object |
getConnection()
Obtain a connection based purely on the configuration.
|
Object |
getConnection(String principal,
String credential)
Obtain a connection based on the configuration but override the
principal and credential.
|
Object getConnection() throws Exception
ExceptionObject getConnection(String principal, String credential) throws Exception
principal - - The principal to use when connecting.credential - - The credential to use when connecting.ExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.