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

org.ioc.commons.integration.dataaccess.dao.Subscriptor 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.integration.dataaccess.dao;

/**
 * 
 * @author Jesús Lunar Pérez
 * 
 * @param 
 *            Entity type
 * @param 
 *            Unique entity identifier type
 */
public interface Subscriptor {
	/**
	 * Subscription for being notified on all changes performed on entities of
	 * type T.
	 * 
	 * @return A subscription binder for all the entities of type T
	 */
	SubscriptionChangesBinder subscribeChanges();

	/**
	 * Subscription for being notified on all changes performed on the object.
	 * 
	 * @param object
	 *            Object for watching changes
	 * @return A subscription binder for all changes on the object.
	 */
	SubscriptionChangesBinder subscribeChanges(T object);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy