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

org.zdevra.sparrow.Nameable Maven / Gradle / Ivy

package org.zdevra.sparrow;

/**
 * All classes that implements this interface could be named during configuration of messaging system. If you want
 * develop your own channel or actor or any entity and you want identify this entity via his name, you will
 * implement this interface into entity's class.
 *
 * @author Zdenko Vrabel ([email protected])
 */
public interface Nameable
{
	/**
	 * set name for entity
	 * @param name
	 */
	public void setName(String name);


	/**
	 * gets the entity's name
	 * @return
	 */
	public String getName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy