// Created May 3, 2005 9:46:24 AM

/********************************************************************
 * Copyright © 2005 VHA. All rights reserved
 ********************************************************************/

package gov.va.med.esr.service.trigger;

import gov.va.med.fw.service.ServiceException;
import gov.va.med.fw.service.trigger.TriggerEvent;
import gov.va.med.fw.service.trigger.TriggerableService;

/**
 * Initial javadoc for class MockTriggerableService.
 * 
 * @author DNS   BOHMEG
 */
public class MockTriggerableService implements TriggerableService {
	private String name;
	
	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name The name to set.
	 */
	public void setName(String name) {
		this.name = name;
	}

	public void trigger(TriggerEvent triggerEvent) throws ServiceException {
		System.out.println("TriggerableService for [" + name + "] dealing with: " +
				triggerEvent);
	}

}
