Package ome.services.blitz.util
Class ApiConsistencyCheck
- java.lang.Object
-
- ome.services.blitz.util.ApiConsistencyCheck
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public class ApiConsistencyCheck extends java.lang.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
- See Also:
- ticket:894
-
-
Constructor Summary
Constructors Constructor Description ApiConsistencyCheck()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
matches(java.lang.Class apiType, java.lang.Class opsType)
Defines what Class types match.java.lang.Object
postProcessAfterInitialization(java.lang.Object arg0, java.lang.String arg1)
java.lang.Object
postProcessBeforeInitialization(java.lang.Object arg0, java.lang.String arg1)
No-op
-
-
-
Method Detail
-
postProcessAfterInitialization
public java.lang.Object postProcessAfterInitialization(java.lang.Object arg0, java.lang.String arg1) throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
postProcessBeforeInitialization
public java.lang.Object postProcessBeforeInitialization(java.lang.Object arg0, java.lang.String arg1) throws org.springframework.beans.BeansException
No-op- Specified by:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
matches
public static boolean matches(java.lang.Class apiType, java.lang.Class opsType)
Defines what Class types match.- Parameters:
apiType
-opsType
-
-
-