Nuxeo Enterprise Platform 5.4

org.nuxeo.platform.login.jboss
Class JaasCacheFlusher

java.lang.Object
  extended by org.nuxeo.platform.login.jboss.JaasCacheFlusher
All Implemented Interfaces:
EventListener

public class JaasCacheFlusher
extends java.lang.Object
implements EventListener

Handle JAAS principal cache flushing on principal data edition.

Author:
Olivier Grisel

Constructor Summary
JaasCacheFlusher()
           
 
Method Summary
 boolean aboutToHandleEvent(Event event)
          Notified about an event about to be processed.
static void flushCache()
           
 void handleEvent(Event event)
          An event was received.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaasCacheFlusher

public JaasCacheFlusher()
Method Detail

aboutToHandleEvent

public boolean aboutToHandleEvent(Event event)
Description copied from interface: EventListener
Notified about an event about to be processed. Returns false to cancel the event.

Specified by:
aboutToHandleEvent in interface EventListener
Parameters:
event - the event
Returns:
false to cancel the event or true otherwise

handleEvent

public void handleEvent(Event event)
Description copied from interface: EventListener
An event was received.

Specified by:
handleEvent in interface EventListener

flushCache

public static void flushCache()
                       throws java.lang.Exception
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.