// load the dynamic access handler and invoke it
if (Debug.verboseOn()) Debug.logVerbose("Loading DynamicAccessHandler for -- " + dynamicAccess, module);
DynamicAccessHandler dah = DynamicAccessFactory.getDynamicAccessHandler(delegator, dynamicAccess);
if (dah != null) {
if (Debug.verboseOn()) Debug.logVerbose("Calling DynamicAccessHandler : " + dah.getClass().getName(), module);
return dah.handleDynamicAccess(dynamicAccess, userId, permission, context);
} else {
if (Debug.verboseOn()) {
Debug.logVerbose("No DynamicAccessHandler found for pattern matching -- " + dynamicAccess, module);
}
}