/**
* Set the default action class
*/
public void setDefaultActionClass(Class clazz) throws ConfigException {
if (defaultActionClass != initialDefaultActionClass) {
throw new ConfigException("Default action class already set");
}
if (clazz.isInterface() || !Action.class.isAssignableFrom(clazz)) {
throw new ConfigException("Bad action class '" + clazz.getName() + "'");
}
defaultActionClass = clazz;
}