ome.services.licenses
Class LicenseExceptionListener

java.lang.Object
  extended by ome.services.licenses.LicenseExceptionListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener

public class LicenseExceptionListener
extends Object
implements org.springframework.context.ApplicationListener

Listens for ConvertToBlitzExceptionMessage sent by IceMethodInvoker and converts LicenseException instances to omero.licenses.NoAvailableLicenseException et al.

Since:
3.0-Beta3
Author:
Josh Moore, josh at glencoesoftware.com

Constructor Summary
LicenseExceptionListener()
           
 
Method Summary
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseExceptionListener

public LicenseExceptionListener()
Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

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