org.beanfabrics.context
Class ServiceAddedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.beanfabrics.context.ContextEvent
          extended by org.beanfabrics.context.ServiceAddedEvent
All Implemented Interfaces:
java.io.Serializable

public class ServiceAddedEvent
extends ContextEvent

An event which indicates that a service entry has been added to the event source.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ServiceAddedEvent(Context source, ServiceEntry serviceEntry)
          Constructs a ServiceAddedEvent.
 
Method Summary
 ServiceEntry getServiceEntry()
          Returns the service entry that has been added to this event's source.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceAddedEvent

public ServiceAddedEvent(Context source,
                         ServiceEntry serviceEntry)
Constructs a ServiceAddedEvent.

Parameters:
source -
serviceEntry -
Method Detail

getServiceEntry

public ServiceEntry getServiceEntry()
Returns the service entry that has been added to this event's source.

Returns:
the service entry that has been added to this event's source