org.apache.jackrabbit.core.security.authorization
Class AccessControlObserver
java.lang.Object
org.apache.jackrabbit.core.security.authorization.AccessControlObserver
- All Implemented Interfaces:
- EventListener, SynchronousEventListener
- Direct Known Subclasses:
- EntryCollector
public abstract class AccessControlObserver
- extends Object
- implements SynchronousEventListener
AccessControlObserver
...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POLICY_ADDED
public static final int POLICY_ADDED
- See Also:
- Constant Field Values
POLICY_REMOVED
public static final int POLICY_REMOVED
- See Also:
- Constant Field Values
POLICY_MODIFIED
public static final int POLICY_MODIFIED
- See Also:
- Constant Field Values
AccessControlObserver
public AccessControlObserver()
close
protected void close()
addListener
public void addListener(AccessControlListener listener)
- Add a listener that needs to be informed about changes made to access
control.
- Parameters:
listener
- EntryListener
to be added.
removeListener
public void removeListener(AccessControlListener listener)
- Remove a listener added before.
- Parameters:
listener
- EntryListener
to be removed.
notifyListeners
protected void notifyListeners(AccessControlModifications modifications)
- Notifies the listeners about AC modifications.
- Parameters:
modifications
-
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.