Map<String, Object> extraContext, boolean executeResult, boolean cleanupContext) {
String uri = namespace + (namespace.endsWith("/") ? actionName : "/" + actionName);
for (int lastIndex = uri.lastIndexOf('/'); lastIndex > (-1); lastIndex = uri.lastIndexOf('/', lastIndex - 1)) {
String key = uri.substring(0, lastIndex);
ActionProxyFactory actionProxyFactory = actionProxyFactories.get(key);
if (actionProxyFactory != null) {
if (LOG.isDebugEnabled()) {
LOG.debug("Using ActionProxyFactory [#0] for prefix [#1]", actionProxyFactory, key);
}
return actionProxyFactory.createActionProxy(namespace, actionName, methodName, extraContext, executeResult, cleanupContext);
} else if (LOG.isDebugEnabled()) {
LOG.debug("No ActionProxyFactory defined for [#1]", key);
}
}
if (LOG.isDebugEnabled()){