Class ServerBeanSelector

    • Constructor Detail

      • ServerBeanSelector

        public ServerBeanSelector()
    • Method Detail

      • getClusterMode

        public static boolean getClusterMode​(Kernel kernel)
      • getProperty

        protected static <T> T getProperty​(Kernel kernel,
                                           String name,
                                           T defValue)
      • shouldRegister

        public boolean shouldRegister​(Class clazz,
                                      Kernel kernel)
        Description copied from interface: BeanSelector
        Method needs to return true if bean in which annotation class implementing this interface is specified and this bean should be registered
        Specified by:
        shouldRegister in interface BeanSelector