Class AnnotationConfig

java.lang.Object
com.almis.awe.annotation.autoconfigure.AnnotationConfig

@AutoConfiguration @EnableConfigurationProperties(BaseConfigProperties.class) @EnableAspectJAutoProxy public class AnnotationConfig extends Object
Class load annotation processor definitions Also enables Aspect definitions with Auto-proxying
Author:
dfuentes Created by dfuentes on 26/05/2017.
  • Constructor Details

    • AnnotationConfig

      public AnnotationConfig()
  • Method Details

    • localeProcessor

      @Bean @ConditionalOnMissingBean public LocaleProcessor localeProcessor(org.springframework.beans.factory.ObjectFactory<AweSession> aweSessionObjectFactory, org.springframework.beans.factory.ObjectFactory<AweElements> aweElementsObjectFactory)
      Locale processor
      Parameters:
      aweSessionObjectFactory - AWE session object factory
      aweElementsObjectFactory - AWE element object factory
      Returns:
      Locale processor bean
    • sessionProcessor

      @Bean @ConditionalOnMissingBean public SessionProcessor sessionProcessor(org.springframework.beans.factory.ObjectFactory<AweSession> aweSessionObjectFactory)
      Session processor
      Parameters:
      aweSessionObjectFactory - AWE session object factory
      Returns:
      Session processor bean
    • auditAnnotation

      @Bean @ConditionalOnMissingBean public AuditAnnotation auditAnnotation()
      Audit annotation
      Returns:
      Audit annotation bean
    • cryptoAnnotation

      @Bean @ConditionalOnMissingBean public CryptoAnnotation cryptoAnnotation(CryptoProcessor cryptoProcessor)
      Crypto annotation
      Returns:
      Crypto annotation bean
    • cryptoProcessor

      @Bean @ConditionalOnMissingBean public CryptoProcessor cryptoProcessor(EncodeService encodeService)
      CryptoProcessor bean
      Parameters:
      encodeService - Encode service
      Returns:
      CryptoProcessor bean
    • downloadAnnotation

      @Bean @ConditionalOnMissingBean public DownloadAnnotation downloadAnnotation(BaseConfigProperties baseConfigProperties)
      Download Annotation
      Parameters:
      baseConfigProperties - Base config properties
      Returns:
      Download Annotation bean
    • goToAnnotation

      @Bean @ConditionalOnMissingBean public GoToAnnotation goToAnnotation()
      GoTo Annotation
      Returns:
      GoTo Annotation bean
    • hashAnnotation

      @Bean @ConditionalOnMissingBean public HashAnnotation hashAnnotation(HashProcessor hashProcessor)
      Hash Annotation
      Returns:
      Hash Annotation bean
    • hashProcessor

      @Bean @ConditionalOnMissingBean public HashProcessor hashProcessor(EncodeService encodeService)
      HashProcessor bean
      Returns:
      HashProcessor bean
    • localeAnnotation

      @Bean @ConditionalOnMissingBean public LocaleAnnotation localeAnnotation(LocaleProcessor localeProcessor)
      Locale Annotation
      Parameters:
      localeProcessor - Locale processor
      Returns:
      Locale Annotation bean
    • sessionAnnotation

      @Bean @ConditionalOnMissingBean public SessionAnnotation sessionAnnotation(SessionProcessor sessionProcessor)
      Session Annotation
      Parameters:
      sessionProcessor - Session processor
      Returns:
      Session annotation bean