org.apache.commons.workflow
Class ScopeEvent
java.lang.Object
java.util.EventObject
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. |
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.
ScopeEvent
public ScopeEvent(Scope scope,
String key,
Object value)
- Construct a new immutable ScopeEvent.
- Parameters:
scope
- Scope in which this event occurredkey
- Bean key on which this event occurredvalue
- Bean value on which this event occurred
getKey
public String getKey()
getScope
public Scope getScope()
getValue
public Object getValue()
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.