Class CronappConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    @Configuration
    @ComponentScan
    @EnableCaching
    public class CronappConfiguration
    extends Object
    implements org.springframework.context.ApplicationContextAware
    • Constructor Detail

      • CronappConfiguration

        public CronappConfiguration()
    • Method Detail

      • getProperty

        public static String getProperty​(String key)
      • getBean

        public static <T> T getBean​(String name,
                                    @Nullable
                                    Class<T> requiredType)
      • getBean

        public static <T> T getBean​(Class<T> requiredType)
      • autowire

        public static <T> T autowire​(Class<T> requiredType)
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
      • cacheManager

        @Bean
        public org.springframework.cache.CacheManager cacheManager()