org.apache.jackrabbit.core.security.authorization
Class AccessControlObserver

java.lang.Object
  extended by 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...


Field Summary
static int POLICY_ADDED
           
static int POLICY_MODIFIED
           
static int POLICY_REMOVED
           
 
Constructor Summary
AccessControlObserver()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jcr.observation.EventListener
onEvent
 

Field Detail

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
Constructor Detail

AccessControlObserver

public AccessControlObserver()
Method Detail

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.