com.talk2object.plum.interaction.AbstractInteraction Maven / Gradle / Ivy
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