org.apache.cocoon.components.web3.impl
Class Web3DataSourceSelectorImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.web3.impl.Web3DataSourceSelectorImpl
- All Implemented Interfaces:
- Configurable, Disposable, LogEnabled, Serviceable, ServiceSelector, ThreadSafe
- public class Web3DataSourceSelectorImpl
- extends AbstractLogEnabled
- implements ServiceSelector, Disposable, Serviceable, Configurable, ThreadSafe
The Default implementation for R3DataSources in Web3. This uses the
normal com.sap.mw.jco.JCO
classes.
- Since:
- 2.1
- Version:
- CVS $Id: Web3DataSourceSelectorImpl.java 54572 2004-10-11 12:26:29Z antonio $
- Author:
- Michael Gerzabek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected ServiceManager manager
- The service manager instance
configuration
protected Configuration configuration
Web3DataSourceSelectorImpl
public Web3DataSourceSelectorImpl()
service
public void service(ServiceManager manager)
throws ServiceException
- Set the current
ServiceManager
instance used by this
Serviceable
.
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
isSelectable
public boolean isSelectable(Object obj)
- Specified by:
isSelectable
in interface ServiceSelector
select
public Object select(Object obj)
throws ServiceException
- Specified by:
select
in interface ServiceSelector
- Throws:
ServiceException
release
public void release(Object object)
- Specified by:
release
in interface ServiceSelector
dispose
public void dispose()
- Dispose properly of the pool
- Specified by:
dispose
in interface Disposable
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.