public class TransactionManagementCompilerAutoConfiguration extends CompilerAutoConfiguration
CompilerAutoConfiguration
for Spring MVC.Constructor and Description |
---|
TransactionManagementCompilerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
apply, applyToMainClass
public TransactionManagementCompilerAutoConfiguration()
public boolean matches(org.codehaus.groovy.ast.ClassNode classNode)
CompilerAutoConfiguration
matches
in class CompilerAutoConfiguration
classNode
- the class nodetrue
if the compiler should be auto configured using this class. If
this method returns false
no other strategy methods will be called.public void applyDependencies(DependencyCustomizer dependencies)
CompilerAutoConfiguration
CompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)
returns true
.applyDependencies
in class CompilerAutoConfiguration
dependencies
- dependency customizerpublic void applyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports)
CompilerAutoConfiguration
CompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)
returns true
.applyImports
in class CompilerAutoConfiguration
imports
- import customizerCopyright © 2018 Pivotal Software, Inc.. All rights reserved.