Class JmsCompilerAutoConfiguration
java.lang.Object
org.springframework.boot.cli.compiler.CompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.JmsCompilerAutoConfiguration
CompilerAutoConfiguration
for Spring JMS.- Since:
- 1.0.0
- Author:
- Greg Turnquist, Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDependencies
(DependencyCustomizer dependencies) Apply any dependency customizations.void
applyImports
(org.codehaus.groovy.control.customizers.ImportCustomizer imports) Apply any import customizations.boolean
matches
(org.codehaus.groovy.ast.ClassNode classNode) Strategy method used to determine when compiler auto-configuration should be applied.Methods inherited from class org.springframework.boot.cli.compiler.CompilerAutoConfiguration
apply, applyToMainClass
-
Constructor Details
-
JmsCompilerAutoConfiguration
public JmsCompilerAutoConfiguration()
-
-
Method Details
-
matches
public boolean matches(org.codehaus.groovy.ast.ClassNode classNode) Description copied from class:CompilerAutoConfiguration
Strategy method used to determine when compiler auto-configuration should be applied. Defaults to always.- Overrides:
matches
in classCompilerAutoConfiguration
- Parameters:
classNode
- the class node- Returns:
true
if the compiler should be auto configured using this class. If this method returnsfalse
no other strategy methods will be called.
-
applyDependencies
public void applyDependencies(DependencyCustomizer dependencies) throws org.codehaus.groovy.control.CompilationFailedException Description copied from class:CompilerAutoConfiguration
Apply any dependency customizations. This method will only be called ifCompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)
returnstrue
.- Overrides:
applyDependencies
in classCompilerAutoConfiguration
- Parameters:
dependencies
- dependency customizer- Throws:
org.codehaus.groovy.control.CompilationFailedException
- if the dependencies cannot be applied
-
applyImports
public void applyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports) throws org.codehaus.groovy.control.CompilationFailedException Description copied from class:CompilerAutoConfiguration
Apply any import customizations. This method will only be called ifCompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)
returnstrue
.- Overrides:
applyImports
in classCompilerAutoConfiguration
- Parameters:
imports
- import customizer- Throws:
org.codehaus.groovy.control.CompilationFailedException
- if the imports cannot be applied
-