All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.talk2object.plum.interaction.AbstractInteraction Maven / Gradle / Ivy

There is a newer version: 0.1.22
Show newest version
package com.talk2object.plum.interaction;

import com.talk2object.plum.interaction.context.InteractionContextUtils;

/**
 * base class for interactions that eventually will invoke method on target
 * model.
 * 
 * @author jack
 *
 */
public abstract class AbstractInteraction implements Interaction {

	/**
	 * biz model
	 */
	protected Object model;

	public AbstractInteraction(Object model) {
		this.model = model;
	}

	protected InteractionManager getInteractionManager() {
		return InteractionContextUtils.getInteractionManager();
	}

	@Override
	public abstract void start();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy