org.apache.cocoon.components
Class ComponentContext.ComponentSelectorWrapper
java.lang.Object
org.apache.cocoon.components.ComponentContext.ComponentSelectorWrapper
- All Implemented Interfaces:
- ServiceSelector
- Enclosing class:
- ComponentContext
public static final class ComponentContext.ComponentSelectorWrapper
- extends Object
- implements ServiceSelector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selector
protected final ComponentSelector selector
ComponentContext.ComponentSelectorWrapper
public ComponentContext.ComponentSelectorWrapper(ComponentSelector s)
isSelectable
public boolean isSelectable(Object role)
- Specified by:
isSelectable
in interface ServiceSelector
release
public void release(Object role)
- Specified by:
release
in interface ServiceSelector
select
public Object select(Object role)
throws ServiceException
- Specified by:
select
in interface ServiceSelector
- Throws:
ServiceException
getComponent
public ComponentSelector getComponent()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.