AnsweredAssumed Answered

ActionExecuterAbstractBase not found

Question asked by mangar on Dec 4, 2012
Latest reply on Dec 5, 2012 by afaust
I havve done several actions in Explorer, but this is my first time in Share. I am trying a simple action to write hello world to the log file.  I have my action like this:

import org.alfresco.repo.action.executer.ActionExecuterAbstractBase;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.action.ParameterDefinition;
import org.alfresco.service.cmr.repository.NodeRef;

public class WriteToLogExecuter extends ActionExecuterAbstractBase {

    protected void addParameterDefinitions(List<ParameterDefinition> paramList) {

    public void executeImpl(Action ruleAction, NodeRef actionedUponNodeRef) {
       System.out.println("Hello World!");

in my custom-slingshot-application-context.xml I have the bean deff:
<bean id="write-to-log" class="com.sammy.share.action.executer.WriteToLogExecuter">

when I start alfresco, I get Caused by: java.lang.ClassNotFoundException: org.alfresco.repo.action.executer.ActionExecuterAbstractBase

So It's finding MY class just fine, just not the BaseClass. 

Does this bean need to be in alfresco (ie. some-action-context.xml)   instead of share?