org.ioc.commons.flowcontrol.eventbus.IsEventBus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ioc-commons Show documentation
Show all versions of ioc-commons Show documentation
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.
package org.ioc.commons.flowcontrol.eventbus;
/**
* Elements which inherite from this interface are considered as event bus.
*
* @author Jesús Lunar Pérez
*
*/
public interface IsEventBus {
/**
* It returns the real native implementation for the event bus under this
* interface.
*
* It will be dependant on the technology (implementation library) which is
* being used.
*
* @return An instance for the real event bus.
*/
Object asEventBus();
}