org.archive.wayback.util.webapp
Class BeanNameRegistrar

java.lang.Object
  extended by 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

Constructor Summary
BeanNameRegistrar()
           
 
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
 

Constructor Detail

BeanNameRegistrar

public BeanNameRegistrar()
Method Detail

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 register
mapper - the RequestMapper where the RequestHandler should be registered.


Copyright © 2005-2011 Internet Archive. All Rights Reserved.