fulmine.model.container.events
Class RemoteContainerCreatedEvent
java.lang.Object
fulmine.event.AbstractEvent
fulmine.event.system.AbstractSystemEvent
fulmine.model.container.events.RemoteContainerCreatedEvent
- All Implemented Interfaces:
- IEvent, ISystemEvent, IAddressable, IDescriptor, Cloneable
public final class RemoteContainerCreatedEvent
- extends AbstractSystemEvent
Raised when a remote IContainer
has been created. The container is
created in this local context but represents a container in a remote context.
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
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 |
RemoteContainerCreatedEvent
public RemoteContainerCreatedEvent(String remoteContextIdentity,
IEventManager context,
IContainer container)
- Standard constructor
- Parameters:
remoteContextIdentity
- the identity of the remote context that the remote container
originates fromcontext
- the context for event operationscontainer
- the remote container that has been created
getContainer
public IContainer getContainer()
- Get the container that has been created
- Returns:
- the
IContainer
that has been created
getRemoteContextIdentity
public String getRemoteContextIdentity()
- Get the identity of the remote context of the remote container that has
been created
- 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.