Hi - I have the following code in a jar file under lib folder of tomcat that hosts activiti-app.war (Alfresco 1.3)
When I login into Alfresco Activiti, I do not see the log messages (I could/should have used log4j logger or something else ).
This is what the documentation says on Hook Points:A hook point is a place where you can add custom logic. You do this by writing a class implementing a specific interface and putting that class on the classpath, where it can be found by the classpath component scanning package, com.activiti.extension.bean.
Please help.
——————————————————————————
package com.activiti.extension.bean;
import org.springframework.stereotype.Component;
import com.vaadin.ui.LoginForm.LoginEvent;
import com.vaadin.ui.LoginForm.LoginListener;
@Component
public class MyLoginListener implements LoginListener {
/**
*
*/
private static final long serialVersionUID = 4329802742677178360L;
/**
*
*/
@Override
public void onLogin(LoginEvent event) {
// TODO Auto-generated method stub
System.out.println("MyLoginListener User has logged in");
}
}
———————————————————————–