ome.services.blitz.util
Class ApiConsistencyCheck

java.lang.Object
  extended by ome.services.blitz.util.ApiConsistencyCheck
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class ApiConsistencyCheck
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor

Checks all servant definitions (see: ome/services/blitz-servantDefinitions.xml) to guarantee that the RMI and the Blitz APIs match.

Since:
3.0-Beta3
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
ticket:894

Constructor Summary
ApiConsistencyCheck()
           
 
Method Summary
static boolean matches(Class apiType, Class opsType)
          Defines what Class types match.
 Object postProcessAfterInitialization(Object arg0, String arg1)
           
 Object postProcessBeforeInitialization(Object arg0, String arg1)
          No-op
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiConsistencyCheck

public ApiConsistencyCheck()
Method Detail

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object arg0,
                                             String arg1)
                                      throws org.springframework.beans.BeansException
Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object arg0,
                                              String arg1)
                                       throws org.springframework.beans.BeansException
No-op

Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

matches

public static boolean matches(Class apiType,
                              Class opsType)
Defines what Class types match.

Parameters:
apiType -
opsType -


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

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