package org.jboss.seam.example.contactlist.session;

import javax.ejb.Stateless;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.log.Log;
import org.jboss.seam.faces.FacesMessages;

@Stateless
@Name("newAction")
public class NewActionBean implements NewAction {
	
    @Logger private Log log;
	
    @In FacesMessages facesMessages;
    
    public void newAction()
    {
        //implement your business logic here
        log.info("newAction.newAction() action called");
        facesMessages.add("newAction");
    }
    
    //add additional action methods
    
}
