org.apache.avalon.fortress.impl.lookup
Class FortressServiceSelector
java.lang.Object
org.apache.avalon.fortress.impl.lookup.FortressServiceSelector
- All Implemented Interfaces:
- org.apache.avalon.framework.service.ServiceSelector
public class FortressServiceSelector
- extends Object
- implements org.apache.avalon.framework.service.ServiceSelector
This is the Default ServiceSelector for the Container. It provides
a very simple abstraction, and makes it easy for the Container to manage
the references.
- Version:
- CVS $Revision: 1.19 $ $Date: 2004/03/13 17:57:59 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FortressServiceSelector
public FortressServiceSelector(Container container,
String key)
- Creation of new service selector.
- Parameters:
container
- the implkey
- a key
select
public Object select(Object hint)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
select
in interface org.apache.avalon.framework.service.ServiceSelector
- Throws:
org.apache.avalon.framework.service.ServiceException
isSelectable
public boolean isSelectable(Object hint)
- Specified by:
isSelectable
in interface org.apache.avalon.framework.service.ServiceSelector
release
public void release(Object component)
- Specified by:
release
in interface org.apache.avalon.framework.service.ServiceSelector
getKey
public String getKey()
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.