org.apache.commons.workflow
Interface ScopeListener

All Superinterfaces:
EventListener

public interface ScopeListener
extends EventListener

A ScopeListener registers its interest in receiving ScopeEvent notifications when the occur on a particular Scope of interest.

Version:
$Revision: 155475 $ $Date: 2005-02-26 13:31:11 +0000 (Sat, 26 Feb 2005) $
Author:
Craig R. McClanahan

Method Summary
 void beanAdded(ScopeEvent event)
          Invoked when a new bean was added to this scope.
 void beanRemoved(ScopeEvent event)
          Invoked when an existing bean was removed in this scope.
 void beanReplaced(ScopeEvent event)
          Invoked when an existing bean was replaced in this scope.
 void scopeCleared(ScopeEvent event)
          Invoked when the entire Scope is cleared.
 

Method Detail

beanAdded

void beanAdded(ScopeEvent event)
Invoked when a new bean was added to this scope.

Parameters:
event - The ScopeEvent that has occurred

beanRemoved

void beanRemoved(ScopeEvent event)
Invoked when an existing bean was removed in this scope.

Parameters:
event - The ScopeEvent that has occurred

beanReplaced

void beanReplaced(ScopeEvent event)
Invoked when an existing bean was replaced in this scope.

Parameters:
event - The ScopeEvent that has occurred

scopeCleared

void scopeCleared(ScopeEvent event)
Invoked when the entire Scope is cleared.

Parameters:
event - The ScopeEvent that has occurred


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.