org.codehaus.waffle.registrar
Class RegistrarAssistant

java.lang.Object
  extended by org.codehaus.waffle.registrar.RegistrarAssistant

public class RegistrarAssistant
extends java.lang.Object

Instantiates the Registrar defined in the application web.xml and executes the method(s) annotated according to the ContextLevel being handled.

Author:
Michael Ward, Mauro Talevi

Constructor Summary
RegistrarAssistant(java.lang.Class<?> registrarClass, MessageResources messageResources)
           
 
Method Summary
 void executeDelegatingRegistrar(Registrar delegateRegistrar, ContextLevel contextLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrarAssistant

public RegistrarAssistant(java.lang.Class<?> registrarClass,
                          MessageResources messageResources)
Method Detail

executeDelegatingRegistrar

public void executeDelegatingRegistrar(Registrar delegateRegistrar,
                                       ContextLevel contextLevel)
                                throws WaffleException
Throws:
WaffleException


Copyright © 2008. All Rights Reserved.