mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix main entry point for the interpreters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -67,7 +67,6 @@ import org.alfresco.service.namespace.NamespaceService;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.service.transaction.TransactionService;
|
||||
import org.alfresco.util.GUID;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
|
||||
@@ -219,11 +218,11 @@ public class WorkflowInterpreter extends BaseInterpreter
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Main entry point.
|
||||
*/
|
||||
public static BaseInterpreter getConsoleBean(ApplicationContext context)
|
||||
public static void main(String[] args)
|
||||
{
|
||||
return (WorkflowInterpreter)context.getBean("workflowInterpreter");
|
||||
runMain("workflowInterpreter");
|
||||
}
|
||||
|
||||
protected boolean hasAuthority(String username)
|
||||
|
Reference in New Issue
Block a user