public abstract class OwEvent extends Object
Utility class to manage a collection of listeners through one single instance.
The instance will automatically dispatch event to the subscribed listeners.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Class and Description |
---|---|
static class |
OwEvent.EmptyIterator
Simple empty iterator.
|
Constructor and Description |
---|
OwEvent() |
Modifier and Type | Method and Description |
---|---|
void |
addEventListener(EventListener listener_p)
add a event listener to be notified
|
protected Iterator |
getIterator()
get a iterator that iterates the subscribed listeners
|
void |
removeEventListener(EventListener listener_p)
add a config change event listener to be notified about config changes
|
public void addEventListener(EventListener listener_p)
listener_p
- public void removeEventListener(EventListener listener_p)
listener_p
- protected Iterator getIterator()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.