Class IridaApiAspectsConfig
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.config.services.IridaApiAspectsConfig
-
@Configuration @EnableAspectJAutoProxy(proxyTargetClass=true) public class IridaApiAspectsConfig extends java.lang.Object
Configures the aspects in IRIDA
-
-
Constructor Summary
Constructors Constructor Description IridaApiAspectsConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalysisExecutionServiceAspect
analysisExecutionServiceAspect(AnalysisSubmissionRepository analysisSubmissionRepository, EmailController emailController)
ProjectEventAspect
projectEventAspect(ProjectEventRepository eventRepository, ProjectSampleJoinRepository psjRepository, ProjectRepository projectRepository, SampleRepository sampleRepository)
RunAsUserAspect
runAsSubmissionUserAspect()
Aspect for setting the user in the security context to be the user in theAnalysisSubmission
ValidMethodParametersAspect
validMethodsParametersAspect(javax.validation.Validator validator)
-
-
-
Method Detail
-
validMethodsParametersAspect
@Bean public ValidMethodParametersAspect validMethodsParametersAspect(javax.validation.Validator validator)
-
projectEventAspect
@Bean public ProjectEventAspect projectEventAspect(ProjectEventRepository eventRepository, ProjectSampleJoinRepository psjRepository, ProjectRepository projectRepository, SampleRepository sampleRepository)
-
analysisExecutionServiceAspect
@Bean public AnalysisExecutionServiceAspect analysisExecutionServiceAspect(AnalysisSubmissionRepository analysisSubmissionRepository, EmailController emailController)
-
runAsSubmissionUserAspect
@Bean public RunAsUserAspect runAsSubmissionUserAspect()
Aspect for setting the user in the security context to be the user in theAnalysisSubmission
- Returns:
- new
RunAsUserAspect
bean
-
-