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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionAudit annotationcryptoAnnotation
(CryptoProcessor cryptoProcessor) Crypto annotationcryptoProcessor
(EncodeService encodeService) CryptoProcessor beandownloadAnnotation
(BaseConfigProperties baseConfigProperties) Download AnnotationGoTo AnnotationhashAnnotation
(HashProcessor hashProcessor) Hash AnnotationhashProcessor
(EncodeService encodeService) HashProcessor beanlocaleAnnotation
(LocaleProcessor localeProcessor) Locale AnnotationlocaleProcessor
(org.springframework.beans.factory.ObjectFactory<AweSession> aweSessionObjectFactory, org.springframework.beans.factory.ObjectFactory<AweElements> aweElementsObjectFactory) Locale processorsessionAnnotation
(SessionProcessor sessionProcessor) Session AnnotationsessionProcessor
(org.springframework.beans.factory.ObjectFactory<AweSession> aweSessionObjectFactory) Session processor
-
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 factoryaweElementsObjectFactory
- 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
Audit annotation- Returns:
- Audit annotation bean
-
cryptoAnnotation
@Bean @ConditionalOnMissingBean public CryptoAnnotation cryptoAnnotation(CryptoProcessor cryptoProcessor) Crypto annotation- Returns:
- Crypto annotation bean
-
cryptoProcessor
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
GoTo Annotation- Returns:
- GoTo Annotation bean
-
hashAnnotation
Hash Annotation- Returns:
- Hash Annotation bean
-
hashProcessor
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
-