
org.yestech.event.multicaster.BaseServiceContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yesevent Show documentation
Show all versions of yesevent Show documentation
Java Based Event framework that can be used with a Dependency Injection system or without. Currently
Spring and Guice are supported. The Framework is pluggable with implementation that support direct routing and integration
of apache camel to handle the routing of events.
The newest version!
/*
* Copyright LGPL3
* YES Technology Association
* http://yestech.org
*
* http://www.opensource.org/licenses/lgpl-3.0.html
*/
package org.yestech.event.multicaster;
import org.yestech.event.event.IEvent;
import javax.annotation.Resource;
/**
* Represents a base class for a service that wishes to integrate a {@link org.yestech.event.multicaster.IEventMulticaster}.
* By default it is configured to be {@link Resource} named "eventMulticaster" by Spring.
*
*/
public abstract class BaseServiceContainer {
private IEventMulticaster eventMulticaster;
protected BaseServiceContainer() {
super();
}
public IEventMulticaster getEventMulticaster() {
return eventMulticaster;
}
@Resource(name = "eventMulticaster")
public void setEventMulticaster(IEventMulticaster eventMulticaster) {
this.eventMulticaster = eventMulticaster;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy