org.apache.cocoon.forms.util
Class SimpleServiceSelector
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.forms.util.SimpleServiceSelector
- All Implemented Interfaces:
- Configurable, Contextualizable, Disposable, LogEnabled, Serviceable, ServiceSelector
- public class SimpleServiceSelector
- extends AbstractLogEnabled
- implements ServiceSelector, Configurable, Serviceable, Disposable, Contextualizable
A very simple ServiceSelector for ThreadSafe services.
- Version:
- $Id: SimpleServiceSelector.java 449149 2006-09-23 03:58:05Z crossley $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleServiceSelector
public SimpleServiceSelector(String hintShortHand,
Class componentClass)
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize in interface Contextualizable
- Throws:
ContextException
service
public void service(ServiceManager serviceManager)
throws ServiceException
- Specified by:
service in interface Serviceable
- Throws:
ServiceException
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Specified by:
configure in interface Configurable
- Throws:
ConfigurationException
dispose
public void dispose()
- Specified by:
dispose in interface Disposable
select
public Object select(Object hint)
throws ServiceException
- Specified by:
select in interface ServiceSelector
- Throws:
ServiceException
isSelectable
public boolean isSelectable(Object hint)
- Specified by:
isSelectable in interface ServiceSelector
release
public void release(Object o)
- Specified by:
release in interface ServiceSelector
Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.