Class 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 Detail

      • ApiConsistencyCheck

        public ApiConsistencyCheck()
    • 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 interface org.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 interface org.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 -