Class BaseJavaDelegate
java.lang.Object
org.alfresco.repo.workflow.activiti.BaseJavaDelegate
- All Implemented Interfaces:
org.activiti.engine.delegate.JavaDelegate
- Direct Known Subclasses:
AbstractInvitationDelegate,AbstractResetPasswordDelegate
public abstract class BaseJavaDelegate
extends Object
implements org.activiti.engine.delegate.JavaDelegate
Base class for all
JavaDelegate used in Alfresco-context.- Author:
- Frederik Heremans
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetName()Defaults to the fullClassName.protected ServiceRegistryGet the service-registry from the current Activiti-context.voidsetBeanRegistry(Map<Object, Object> beanRegistry) voidsetServiceRegistry(ServiceRegistry serviceRegistry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.activiti.engine.delegate.JavaDelegate
execute
-
Constructor Details
-
BaseJavaDelegate
public BaseJavaDelegate()
-
-
Method Details
-
getServiceRegistry
Get the service-registry from the current Activiti-context.- Returns:
- service registry
-
setServiceRegistry
- Parameters:
serviceRegistry- the serviceRegistry to set
-
setBeanRegistry
-
getName
Defaults to the fullClassName.- Returns:
- String
-