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:
- Disposable, Configurable, LogEnabled, Serviceable, ServiceSelector, ThreadSafe
public class Web3DataSourceSelectorImpl
- extends AbstractLogEnabled
- implements ServiceSelector, Disposable, Serviceable, Configurable, ThreadSafe
TBD
- Since:
- 2.1
- Version:
- CVS $Id: Web3DataSourceSelectorImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- 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-2010 The Apache Software Foundation. All Rights Reserved.