public abstract class AccessControlObserver extends Object implements SynchronousEventListener
AccessControlObserver
...Modifier and Type | Field and Description |
---|---|
static int |
MOVE |
static int |
POLICY_ADDED |
static int |
POLICY_MODIFIED |
static int |
POLICY_REMOVED |
Constructor and Description |
---|
AccessControlObserver() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(AccessControlListener listener)
Add a listener that needs to be informed about changes made to access
control.
|
protected void |
close() |
protected void |
notifyListeners(AccessControlModifications modifications)
Notifies the listeners about AC modifications.
|
void |
removeListener(AccessControlListener listener)
Remove a listener added before.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onEvent
public static final int POLICY_ADDED
public static final int POLICY_REMOVED
public static final int POLICY_MODIFIED
public static final int MOVE
protected void close()
public void addListener(AccessControlListener listener)
listener
- EntryListener
to be added.public void removeListener(AccessControlListener listener)
listener
- EntryListener
to be removed.protected void notifyListeners(AccessControlModifications modifications)
modifications
- Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.