org.nuxeo.ecm.core.storage.sql.reload
Class RepositoryReloader
java.lang.Object
org.nuxeo.ecm.core.storage.sql.reload.RepositoryReloader
- All Implemented Interfaces:
- EventListener
public class RepositoryReloader
- extends java.lang.Object
- implements EventListener
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryReloader
public RepositoryReloader()
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
getRepositories
public static java.util.List<Repository> getRepositories()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
closeRepositories
public static void closeRepositories()
throws java.lang.Exception
- Throws:
java.lang.Exception
locateJBoss
public static javax.management.MBeanServer locateJBoss()
flushJCAPool
public static void flushJCAPool()
throws java.lang.Exception
- Throws:
java.lang.Exception
reloadRepositories
public static void reloadRepositories()
throws java.lang.Exception
- Reload core repositories.
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.