
org.beanfabrics.context.ServiceAddedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beanfabrics-core Show documentation
Show all versions of beanfabrics-core Show documentation
Beanfabrics is a component framework for building Java desktop applications according to the Presentation Model Pattern with Swing.
/*
* Beanfabrics Framework Copyright (C) by Michael Karneim, beanfabrics.org
* Use is subject to license terms. See license.txt.
*/
package org.beanfabrics.context;
/**
* An event which indicates that a service entry has been added to the event
* source.
*
* @author Michael Karneim
*/
@SuppressWarnings("serial")
public class ServiceAddedEvent extends ContextEvent {
private final ServiceEntry serviceEntry;
/**
* Constructs a {@link ServiceAddedEvent}.
*
* @param source
* @param serviceEntry
*/
public ServiceAddedEvent(Context source, ServiceEntry serviceEntry) {
super(source);
this.serviceEntry = serviceEntry;
}
/**
* Returns the service entry that has been added to this event's source.
*
* @return the service entry that has been added to this event's source
*/
public ServiceEntry getServiceEntry() {
return serviceEntry;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy