* Registers action with provided action signature.
*/
public ActionConfig register(String actionSignature, String actionPath) {
int ndx = actionSignature.indexOf('#');
if (ndx == -1) {
throw new MadvocException("Madvoc action signature syntax error: " + actionSignature);
}
String actionClassName = actionSignature.substring(0, ndx);
String actionMethodName = actionSignature.substring(ndx + 1);
Class actionClass;
try {
actionClass = ClassLoaderUtil.loadClass(actionClassName);
} catch (ClassNotFoundException cnfex) {
throw new MadvocException("Madvoc action class not found: " + actionClassName, cnfex);
}
return register(actionClass, actionMethodName, actionPath);
}