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

org.ioc.commons.flowcontrol.HasFlowControl Maven / Gradle / Ivy

Go to download

This project defines a set of useful java interfaces for helping you in the definition of the structure of your developments in Java-projects which are designed using a Inversion-Of-Control (IOC) pattern. Useful for MVP-Pattern designs in applications coded on GWT, SWT, Android, etc.

There is a newer version: 1.2.1
Show newest version
package org.ioc.commons.flowcontrol;

import org.ioc.commons.flowcontrol.actioncontroller.ActionController;
import org.ioc.commons.flowcontrol.actioncontroller.IsExternalAction;
import org.ioc.commons.flowcontrol.eventbus.EventBus;
import org.ioc.commons.flowcontrol.eventbus.IsEvent;
import org.ioc.commons.flowcontrol.operationmanager.IsOperation;
import org.ioc.commons.flowcontrol.operationmanager.OperationManager;

/**
 * It represents elements which have the three main components for managing the
 * flow control: Event bus, operation manager and action controller.
 * 
 * @author Jesús Lunar Pérez
 * 
 * @param 	Event type
 * @param 	Operation type
 * @param 	Action type
 */
public interface HasFlowControl, O extends Enum, A extends Enum> {
	/**
	 * 
	 * @return An event bus
	 */
	EventBus eventBus();

	/**
	 * 
	 * @return An operation manager
	 */
	OperationManager operationManager();

	/**
	 * 
	 * @return An action controller
	 */
	ActionController actionController();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy