org.outerj.xreporter.connectionprovider
Interface ConnectionProviderManager
- All Known Implementing Classes:
- AbstractConnectionProviderManager
- public interface ConnectionProviderManager
Component that creates and manages ConnectionProvider
s.
Field Summary |
static java.lang.String |
ROLE
|
Method Summary |
ConnectionProvider |
createProvider(java.util.Properties properties)
The properties should contain the properties used to create the connection. |
void |
generateStatus(org.xml.sax.ContentHandler contentHandler)
Generates some status information such as pool sizes. |
ROLE
public static final java.lang.String ROLE
- See Also:
- Constant Field Values
createProvider
public ConnectionProvider createProvider(java.util.Properties properties)
- The properties should contain the properties used to create the connection.
It should at least contain "url", and usually also "user" and "password".
This method will always return new instances, even if you call it twice with the
same properties. It is the responsiblity of the caller to keep a reference to
the created ConnectionProvider. Depending on the implementation, ConnectionProviderManager
itself could also keep references to the ConnectionProviders for maintenance purposes.
generateStatus
public void generateStatus(org.xml.sax.ContentHandler contentHandler)
throws org.xml.sax.SAXException
- Generates some status information such as pool sizes.
- Throws:
org.xml.sax.SAXException