com.artima.place.attribute
Interface LinkChangeEventGenerator


public interface LinkChangeEventGenerator

Interface that enables a client to register interest in receiving progress updates of some activity. This interface may optionally be implemented by Link objects, to enable their clients to receive progress updates during the course of a Link activation. Link objects need not implement this interface.


Method Summary
 void addLinkChangeListener(LinkChangeListener listener)
          Adds the specified LinkChangeListener to receive progress events from this object.
 void removeLinkChangeListener(LinkChangeListener listener)
          Removes the specified LinkChangeListener so that it no longer receives progress events from this object.
 

Method Detail

addLinkChangeListener

public void addLinkChangeListener(LinkChangeListener listener)
Adds the specified LinkChangeListener to receive progress events from this object. If pl is null, no exception is thrown and no action is performed.
Parameters:
listener - the LinkChangeListener to add
Throws:
NullPointerException - if passed listener is null

removeLinkChangeListener

public void removeLinkChangeListener(LinkChangeListener listener)
Removes the specified LinkChangeListener so that it no longer receives progress 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 pl is null, no exception is thrown and no action is performed.
Parameters:
listener - the LinkChangeListener to remove
Throws:
NullPointerException - if passed listener is null