logger.info("Skipping listener {} as it has no event types configured.",
eventListener.getClass().getName());
}
}
if (bean instanceof BackgroundAction) {
BackgroundAction backgroundAction = (BackgroundAction) bean;
if (logger.isDebugEnabled()) {
logger.debug(
"Registering Background Action '" + backgroundAction.getName() + "' (" + beanName + ")");
}
templatePackageRegistry.backgroundActions.put(backgroundAction.getName(), backgroundAction);
}
if(bean instanceof WorklowTypeRegistration) {
WorklowTypeRegistration registration = (WorklowTypeRegistration) bean;
workflowService.registerWorkflowType(registration.getType(), registration.getDefinition(), registration.getPermissions());