org.apache.commons.workflow
Class ScopeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.commons.workflow.ScopeEvent
All Implemented Interfaces:
Serializable

public class ScopeEvent
extends EventObject

A ScopeEvent provides notification to a ScopeListener that a specified event has occurred for the specified scope.

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

Field Summary
protected  String key
          The bean key upon which this event occurred.
protected  Scope scope
          The Scope upon which this event occurred.
protected  Object value
          The bean value upon which this event occurred.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ScopeEvent(Scope scope, String key, Object value)
          Construct a new immutable ScopeEvent.
 
Method Summary
 String getKey()
           
 Scope getScope()
           
 Object getValue()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected String key
The bean key upon which this event occurred.


scope

protected Scope scope
The Scope upon which this event occurred.


value

protected Object value
The bean value upon which this event occurred. For beanReplaced events, this will be the previous value.

Constructor Detail

ScopeEvent

public ScopeEvent(Scope scope,
                  String key,
                  Object value)
Construct a new immutable ScopeEvent.

Parameters:
scope - Scope in which this event occurred
key - Bean key on which this event occurred
value - Bean value on which this event occurred
Method Detail

getKey

public String getKey()

getScope

public Scope getScope()

getValue

public Object getValue()


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