fulmine.model.container.events
Class RemoteContainerDestroyedEvent

java.lang.Object
  extended by fulmine.event.AbstractEvent
      extended by fulmine.event.system.AbstractSystemEvent
          extended by fulmine.model.container.events.RemoteContainerDestroyedEvent
All Implemented Interfaces:
IEvent, ISystemEvent, IAddressable, IDescriptor, Cloneable

public final class RemoteContainerDestroyedEvent
extends AbstractSystemEvent

Raised when a remote IContainer has been destroyed. This generally occurs when the container in the remote context is destroyed.

This is an ISystemEvent and listeners for these events need to be instances of ISystemEventListener. The listener should be registered against the IEventSource returned from IEventManager.getSystemEventSource(Class).

Author:
Ramon Servadei

Constructor Summary
RemoteContainerDestroyedEvent(String remoteContextIdentity, IEventManager context, IAddressable id)
          Standard constructor
 
Method Summary
protected  String getAdditionalToString()
          Delegate method for subclasses to provide additional toString information.
 String getRemoteContextIdentity()
          Get the identity of the remote context of the remote container that was destroyed
 
Methods inherited from class fulmine.event.system.AbstractSystemEvent
hideSourceFromToString
 
Methods inherited from class fulmine.event.AbstractEvent
clone, equals, getAddress, getDomain, getDrivingFrame, getFrame, getIdentity, getSource, getTriggerEvent, getType, hashCode, setAddress, setDrivingFrame, setFrame, setSource, setTriggerEvent, toDetailedString, toIdentityString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fulmine.event.IEvent
clone, getDrivingFrame, getFrame, getSource, getTriggerEvent, setTriggerEvent
 
Methods inherited from interface fulmine.IDescriptor
toDetailedString, toIdentityString
 
Methods inherited from interface fulmine.IAddressable
getAddress, getDomain, getIdentity, getType
 

Constructor Detail

RemoteContainerDestroyedEvent

public RemoteContainerDestroyedEvent(String remoteContextIdentity,
                                     IEventManager context,
                                     IAddressable id)
Standard constructor

Parameters:
remoteContextIdentity - the identity of the remote context where the remote container was originally created
context - the context the event is handled in
id - the identifiable instance
Method Detail

getRemoteContextIdentity

public String getRemoteContextIdentity()
Get the identity of the remote context of the remote container that was destroyed

Returns:
the identity of the remote context

getAdditionalToString

protected String getAdditionalToString()
Description copied from class: AbstractEvent
Delegate method for subclasses to provide additional toString information. This should be a comma separated string, e.g. "one, two, three"

Overrides:
getAdditionalToString in class AbstractSystemEvent
Returns:
the additional toString information in comma separated format


Copyright © 2007-2009. All Rights Reserved.