ome.services.util
Class NamespaceCheck

java.lang.Object
  extended by ome.tools.spring.OnContextRefreshedEventListener
      extended by ome.services.util.NamespaceCheck
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>

public class NamespaceCheck
extends OnContextRefreshedEventListener

Hook run by the context. This hook checks for certain well-defined namespaces on OnContextRefreshedEventListener.onApplicationEvent(ContextRefreshedEvent).

Since:
4.2.1
Author:
Josh Moore, josh at glencoesoftwarecom

Field Summary
static String FLIM
           
static org.apache.commons.logging.Log log
           
 
Constructor Summary
NamespaceCheck(Executor executor, String uuid, Roles roles)
           
 
Method Summary
 void handleContextRefreshedEvent(org.springframework.context.event.ContextRefreshedEvent event)
           
 
Methods inherited from class ome.tools.spring.OnContextRefreshedEventListener
onApplicationEvent, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.commons.logging.Log log

FLIM

public static final String FLIM
See Also:
Constant Field Values
Constructor Detail

NamespaceCheck

public NamespaceCheck(Executor executor,
                      String uuid,
                      Roles roles)
Method Detail

handleContextRefreshedEvent

public void handleContextRefreshedEvent(org.springframework.context.event.ContextRefreshedEvent event)
Specified by:
handleContextRefreshedEvent in class OnContextRefreshedEventListener


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.