FallbackBeanLocator.java :  » Web-Framework » RSF » uk » org » ponder » beanutil » Java Open Source

Java Open Source » Web Framework » RSF 
RSF » uk » org » ponder » beanutil » FallbackBeanLocator.java
/*
 * Created on 09-Jan-2006
 */
package uk.org.ponder.beanutil;

/** A tag interface implemented by a BeanLocator indicating that it 
 * puts itself forward as a "fallback" resolver of bean requests. If 
 * a bean definition is not found in the main request container, all
 * bean of type "FallbackBeanLocator" will be queried in turn for a bean
 * of the required name. Their behaviour for a not found bean will be to
 * return <code>null</code> rather than throw a BeanDefinitionNotFound exception.
 * <p>The first FallbackBeanLocator that returns an object will terminate the
 * search. Otherwise, location will continue in the parent locator.
 * <p>NB - this mechanism will probably be replaced once we support "proper"
 * Spring parent containers.
 * @author Antranig Basman (amb26@ponder.org.uk)
 *
 */

public interface FallbackBeanLocator extends BeanLocator {

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.