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

org.dihedron.patterns.bus.DefaultBusObserver Maven / Gradle / Ivy

/**
 * Copyright (c) 2012-2014, Andrea Funto'. All rights reserved. See LICENSE for details.
 */ 


package org.dihedron.patterns.bus;

import org.dihedron.core.License;

/**
 * A bus observer that provides a default implementation for the callback method
 * with a reference to the sender object.
 * 
 * @author Andrea Funto'
 */
@License
public abstract class DefaultBusObserver implements BusObserver {

	/**
	 * @see org.dihedron.patterns.bus.BusObserver#onMessage(java.lang.Object, java.lang.Object, java.lang.Object[])
	 */
	public void onMessage(Object sender, M message, Object ... args) {
		onMessage(message, args);
	}
}	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy