}
Class getActionInterfaceType(Class controllerClass, Class actionBeanClass)
{
@SuppressWarnings("unchecked")
ActionInterface actionInterface = (ActionInterface) controllerClass.getAnnotation(ActionInterface.class);
if (actionInterface == null)
{
throw new ApplicationConfigurationException("The controller class " + controllerClass + " declared from "
+ actionBeanClass + " does not have an " + ActionInterface.class + " annnotation");
}
Class actionInterfaceType = actionInterface.name();
// check that actionInterfaceType is an interface
if (!actionInterfaceType.isInterface())
{
throw new ApplicationConfigurationException("The controller class " + controllerClass + " declared from "