|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a service that creates ConnectionManager implementations on demand. This is used to interface custom ConnectionManagers with OpenEJB. The exact method of identifying and loading ConnectionManagerFactory instances depends on the Assembler implementation you're using.
Method Summary | |
OpenEJBConnectionManager |
createConnectionManager(String name,
ConnectionManagerConfig config,
javax.resource.spi.ManagedConnectionFactory factory)
Create a ConnectionManager to use for the specified ManagedConnectionFactory. |
void |
setLogWriter(PrintWriter logger)
Provides logging capabilities, which should be passed on to ConnectionManager instances created by this factory. |
void |
setProperties(Properties props)
Configures the factory itself. |
Method Detail |
public void setLogWriter(PrintWriter logger)
Note: This method will go away once Logging is made a primary service of OpenEJB.
public void setProperties(Properties props)
public OpenEJBConnectionManager createConnectionManager(String name, ConnectionManagerConfig config, javax.resource.spi.ManagedConnectionFactory factory) throws OpenEJBException
name
- The deployment ID of the connector, which may be used
for logging, etc.config
- configurationfactory
- The ManagedConnectionFactory to configure a
ConnectionManager for.
OpenEJBException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |