net.artima.place
Interface StatusEventGenerator
- public interface StatusEventGenerator
Interface optionally implemented by the object returned by the activate
method of
a Link
to allow the client to receive status updates during the
course of the activation. The object returned by activate
need not
implement this interface.
addStatusListener
public void addStatusListener(StatusListener sl)
- Adds the specified
StatusListener
to receive status events from
this object. If sl
is null
, no exception is thrown and no
action is performed.
removeStatusListener
public void removeStatusListener(StatusListener sl)
- Removes the specified
StatusListener
so that it no longer receives status events from
this object. This method performs no function, nor does it throw an exception, if the listener
specified by the argument was not previously added to this object. If sl
is null
,
no exception is thrown and no action is performed.