org.archive.wayback.util.webapp
Class BeanNameRegistrar
java.lang.Object
org.archive.wayback.util.webapp.BeanNameRegistrar
public class BeanNameRegistrar
- extends Object
Helper static methods to implement registration of a RequestHandler with a
RequestMapper, based on the beanName() method.
- Author:
- brad
|
Method Summary |
static void |
registerHandler(RequestHandler handler,
RequestMapper mapper)
Extract the RequestHandler objects beanName, parse it, and register the
RequestHandler with the RequestMapper according to the beanNames
semantics. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanNameRegistrar
public BeanNameRegistrar()
registerHandler
public static void registerHandler(RequestHandler handler,
RequestMapper mapper)
- Extract the RequestHandler objects beanName, parse it, and register the
RequestHandler with the RequestMapper according to the beanNames
semantics.
- Parameters:
handler - The RequestHandler to registermapper - the RequestMapper where the RequestHandler should be
registered.
Copyright © 2005-2011 Internet Archive. All Rights Reserved.