A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractArtefactTypeAstTransformation - Class in org.grails.compiler.injection
Base implementation for the artefact type transformation.
AbstractGrailsApplication - Class in org.grails.core
AbstractGrailsArtefactTransformer - Class in org.grails.compiler.injection
Abstract transformer that takes an implementation class and creates methods in a target ClassNode that delegate to that implementation class.
AbstractGrailsClass - Class in org.grails.core
Abstract base class for Grails types that provides common functionality for evaluating conventions within classes.
AbstractGrailsClass(Class<?>, String) - Constructor in AbstractGrailsClass
Used by all child classes to create a new instance and get the name right.
AbstractGrailsPlugin - Class in org.grails.plugins
Abstract implementation that provides some default behaviours
AbstractGrailsPlugin(Class<?>, GrailsApplication) - Method in AbstractGrailsPlugin
AbstractGrailsPluginManager - Class in org.grails.plugins
Abstract implementation of the GrailsPluginManager interface
AbstractGrailsPluginManager(GrailsApplication) - Constructor in AbstractGrailsPluginManager
AbstractInjectableGrailsClass - Class in org.grails.core
Configures Grails classes to be autowirable by name, always.
AbstractInjectableGrailsClass(Class<?>, String) - Constructor in AbstractInjectableGrailsClass
AbstractTypeConvertingMap - Class in grails.util
An category for use with maps that want type conversion capabilities
AbstractTypeConvertingMap(Map) - Constructor in AbstractTypeConvertingMap
Action - Annotation Type in grails.web
An annotation to mark controller methods as actions.
ACTION - Field in GrailsControllerClass
The general name to use when referring to action artefacts.
actionUriToViewName - Field in DefaultGrailsControllerClass
actionUriToViewName(String) - Method in GrailsControllerClass
add(Object, int, Object) - Method in GrailsArrayUtils
Adds the given object to the given array at the given position
addAll(Object, Object) - Method in GrailsArrayUtils
Adds the given object to the given array at the given position
addAllClassLoaderJarRoots(ClassLoader, Set<Resource>) - Method in ClassRelativeResourcePatternResolver
addAnnotationIfNecessary(ClassNode, Class<? extends Annotation>) - Method in GrailsASTUtils
Adds an annotation to the give nclass node if it doesn't already exist
addAnnotationOrGetExisting(ClassNode, ClassNode, Map<String, Object>) - Method in GrailsASTUtils
addApi(Object) - Method in BaseApiProvider
addApiLookupFieldAndSetter(ClassNode, ClassNode, String, Expression) - Method in AbstractGrailsArtefactTransformer
addApplicationDiscoveryStrategy(GrailsApplicationDiscoveryStrategy) - Method in Holders
addArtefact(String, Class<?>, boolean) - Method in DefaultGrailsApplication
addArtefact(Class) - Method in GrailsApplication
Adds the given artefact, attempting to determine type from
addBindingAction(Runnable) - Method in DeferredBindingActions
addChainedTransactionManager(BeanDefinitionRegistry) - Method in ChainedTransactionManagerPostProcessor
addClassResource(String, Resource) - Method in StaticResourceLocator
addClearErrorsMethod(ClassNode) - Method in ASTValidationErrorsHelper
addCompileStaticAnnotation(AnnotatedNode, boolean) - Method in GrailsASTUtils
Adds @CompileStatic annotation to method
addDelegateConstructor(ClassNode, MethodNode, Map<String, ClassNode>) - Method in GrailsASTUtils
Adds or modifies an existing constructor to delegate to the given static constructor method for initialization logic.
addDelegateInstanceMethod(ClassNode, Expression, MethodNode, AnnotationNode, Map<String, ClassNode>) - Method in AbstractGrailsArtefactTransformer
addDelegateInstanceMethod(ClassNode, Expression, MethodNode, AnnotationNode, boolean, Map<String, ClassNode>, boolean) - Method in GrailsASTUtils
Adds a delegate method to the target class node where the first argument is to the delegate method is 'this'.
addDelegateInstanceMethods(ClassNode, ClassNode, ClassNode, Expression, Map<String, ClassNode>, boolean, boolean) - Method in GrailsASTUtils
addDelegateStaticMethod(ClassNode, MethodCallExpression, MethodNode, Map<String, ClassNode>) - Method in AbstractGrailsArtefactTransformer
addDelegateStaticMethod(Expression, ClassNode, MethodNode, AnnotationNode, Map<String, ClassNode>, boolean) - Method in GrailsASTUtils
Adds a static method to the given class node that delegates to the given method and resolves the object to invoke the method on from the given expression.
addEnhancedAnnotation(ClassNode) - Method in AbstractGrailsArtefactTransformer
addEnhancedAnnotation(ClassNode, String) - Method in GrailsASTUtils
Add the grails.artefact.Enhanced annotation to classNode if it does not already exist and ensure that all of the features in the enhancedFor array are represented in the enhancedFor attribute of the Enhanced annnotation
addErrorsField(ClassNode) - Method in ASTValidationErrorsHelper
addExclude(Environment) - Method in DefaultGrailsPlugin
addExclude(Environment) - Method in GrailsPlugin
Makes the plugin excluded for a particular Environment
addExpressionToAnnotationMember(AnnotationNode, String, Expression) - Method in GrailsASTUtils
Adds the given expression as a member of the given annotation
addFieldIfNonExistent(ClassNode, ClassNode, String) - Method in GrailsASTUtils
addFirst(Config) - Method in CompositeConfig
Adds a config at the highest level of precedence
addGetErrorsMethod(ClassNode) - Method in ASTValidationErrorsHelper
addGrailsClass(GrailsClass) - Method in DefaultArtefactInfo
addHasErrorsMethod(ClassNode) - Method in ASTValidationErrorsHelper
addInitErrorsMethod(ClassNode) - Method in ASTValidationErrorsHelper
addLast(Config) - Method in CompositeConfig
Adds a config at the lowest level of precedence
addMethodIfNotPresent(ClassNode, MethodNode) - Method in GrailsASTUtils
addOverridableArtefact(String, Class) - Method in DefaultGrailsApplication
Adds an artefact of the given type for the given Class.
addOverridableArtefact(Class) - Method in GrailsApplication
Adds an artefact that can be overriden by user defined classes
addOverridableGrailsClass(GrailsClass) - Method in DefaultArtefactInfo
addPluginDependencies(List, GrailsPlugin) - Method in BasePluginFilter
Defines operation for adding dependencies for a plugin to the list
addPluginDependencies(List, GrailsPlugin) - Method in ExcludingPluginFilter
addPluginDependencies(List, GrailsPlugin) - Method in IncludingPluginFilter
addSetErrorsMethod(ClassNode) - Method in ASTValidationErrorsHelper
addToEnd(Object, Object) - Method in GrailsArrayUtils
Adds the given object to the end of the array returning a new array
addToLoaded(Class<?>) - Method in DefaultGrailsApplication
addToStart(Object, Object) - Method in GrailsArrayUtils
Adds the given object to the start of the array returning a new array
addToTransformedClasses(String) - Method in AbstractGrailsArtefactTransformer
AFTER_INTERCEPTOR - Field in GrailsControllerClass
The name of the after interceptor property.
afterPropertiesSet() - Method in HotSwappableTargetSourceFactoryBean
afterPropertiesSet() - Method in PluginAwareResourceBundleMessageSource
ALL_DATA_SOURCES - Field in GrailsServiceClass
allArtefactClasses - Field in DefaultGrailsApplication
allArtefactClassesArray - Field in DefaultGrailsApplication
AllArtefactClassInjector - Interface in grails.compiler.ast
Extended marker interface that indicates this ClassInjector applies to all types of artefacts (but not all classes).
allClasses - Field in DefaultGrailsApplication
allowAbstract - Field in ArtefactHandlerAdapter
ALLOWED_HTTP_METHODS_PROPERTY - Field in DefaultGrailsControllerClass
AnnotatedClassInjector - Interface in grails.compiler.ast
Injector applied to annotated (local transform) entities
AnnotationDomainClassArtefactHandler - Class in org.grails.core.artefact
Detects annotated domain classes for EJB3 style mappings.
AnnotationMetadataReader - Class in org.grails.asm
A more limited version of Spring's annotation reader that only reads annotations on classes
AnnotationMetadataReader(Resource, ClassLoader, boolean) - Constructor in AnnotationMetadataReader
Constructs a new annotation metadata reader
ApiDelegate - Annotation Type in grails.artefact
Similar to Groovy's @Delegate AST transform but instead assumes the first argument to every method is 'this'.
ApiDelegateTransformation - Class in org.grails.compiler.injection
The logic for the ApiDelegate location transform.
application - Field in AbstractGrailsPluginManager
APPLICATION - Field in ApplicationAttributes
APPLICATION_CONTEXT - Field in ApplicationAttributes
APPLICATION_CONTEXT_COMMAND_CLASS - Field in GlobalGrailsClassInjectorTransformation
APPLICATION_ID - Field in GrailsApplication
The id of the grails application within a bean context
application - Field in PluginAwareResourceBundleMessageSource
ApplicationArtefactHandler - Class in org.grails.core.artefact
An ArtefactHandler that identifies the Application class
ApplicationArtefactHandler() - Constructor in ApplicationArtefactHandler
ApplicationAttributes - Interface in grails.core
@author Graeme Rocher
applicationClass - Field in DefaultGrailsApplication
ApplicationClassInjector - Class in org.grails.compiler.injection
Injector for the 'Application' class
ApplicationCommand - Trait in grails.dev.commands
Represents a command that is run against the org.springframework.context.ApplicationContext
applicationContext - Field in AbstractGrailsPlugin
applicationContext - Field in AbstractGrailsPluginManager
applicationContext - Field in GrailsApplicationPostProcessor
ApplicationContextCommandRegistry - Class in grails.dev.commands
A registry of {@grails.dev.commands.ApplicationContextCommand} instances
ApplicationContextExtension - Class in org.grails.spring.context
A Groovy extension module that adds additional methods to the Spring org.springframework.context.ApplicationContext interface
applicationMeta - Field in AbstractGrailsApplication
applyConstraint(String, Object) - Method in Constrained
applyDefaultMethodTarget(MethodCallExpression, Class<?>) - Method in GrailsASTUtils
Set the method target of a MethodCallExpression to the first matching method with same number of arguments.
applyImplicitThis(MethodCallExpression, boolean) - Method in GrailsASTUtils
applyMethodTarget(MethodCallExpression, ClassNode, Class<?>) - Method in GrailsASTUtils
Set the method target of a MethodCallExpression to the first matching method with same number and type of arguments.
applyPropertyValue(ConfigurableListableBeanFactory, String, String, Object) - Method in MapBasedSmartPropertyOverrideConfigurer
applyTransformation(SourceUnit, ClassNode) - Method in EntityASTTransformation
Artefact - Annotation Type in grails.artefact
Used to define the artefact type for classes declared outside of Grails' usual conventions.
ARTEFACT_CLASS_NODE - Field in GlobalGrailsClassInjectorTransformation
ARTEFACT_HANDLER_CLASS - Field in GlobalGrailsClassInjectorTransformation
ArtefactAdditionEvent - Class in grails.core.events
An event triggered for the addition of a new artefact
ArtefactAdditionEvent(GrailsClass) - Constructor in ArtefactAdditionEvent
Create a new ApplicationEvent.
ArtefactHandler - Interface in grails.core
ArtefactHandlerAdapter - Class in grails.core
Adapter for the ArtefactHandler interface
ArtefactHandlerAdapter(String, Class<? extends GrailsClass>, Class<?>, String, boolean) - Constructor in ArtefactHandlerAdapter
artefactHandlers - Field in DefaultGrailsApplication
artefactHandlersByName - Field in DefaultGrailsApplication
ArtefactInfo - Interface in grails.core
Holder for all the class-related info and structures relating to an Artefact.
artefactInfo - Field in DefaultGrailsApplication
ARTEFACTS - Field in GrailsPlugin
Define the list of ArtefactHandlers supporting by the plugin
artefactSuffix - Field in ArtefactHandlerAdapter
ArtefactTypeAstTransformation - Class in org.grails.compiler.injection
A transformation used to apply transformers to classes not located in Grails directory structure.
asBoolean() - Method in AbstractTypeConvertingMap
ASSIGNMENT_OPERATOR - Field in GrailsASTUtils
ASTErrorsHelper - Interface in org.grails.compiler.injection
Enhances a class to contain an Errors property of type org.springframework.validation.Errors.
AstTransformer - Annotation Type in grails.compiler.ast
Marker annotation that for classes that transform Grails classes at the AST level.
ASTValidationErrorsHelper - Class in org.grails.compiler.injection
@author Jeff Brown
asType(Class) - Method in NavigableMapConfig
AUTO_CONFIGURATION_CLASS_NODE - Field in ApplicationArtefactHandler
autowireBeanInAutowireByName(Object, Map<String, PropertyDescriptor>) - Method in OptimizedAutowireCapableBeanFactory
autowireBeanProperties(Object, int, boolean) - Method in OptimizedAutowireCapableBeanFactory
autowireByName(String, AbstractBeanDefinition, BeanWrapper, MutablePropertyValues) - Method in OptimizedAutowireCapableBeanFactory

B

BaseApiProvider - Class in org.grails.core.metaclass
@author Graeme Rocher
BasePluginFilter - Class in org.grails.plugins
Base functionality shared by IncludingPluginFilter and ExcludingPluginFilter.
BasePluginFilter(String) - Constructor in BasePluginFilter
BEAN_NAME - Field in ConstraintsEvaluator
BEAN_NAME - Field in GrailsPluginManager
BEAN_NAME - Field in UrlConverter
BeanCreationProfilingPostProcessor - Class in org.grails.core.util
Adds timings of bean creation times logged to the "org.grails.startup" group
BeanPostProcessorAdapter - Class in org.grails.spring.beans
Adapter implementation of org.springframework.beans.factory.config.BeanPostProcessor.
beans(Closure) - Method in DefaultGrailsPlugin
beans(Closure) - Method in Plugin
Allows a plugin to define beans at runtime.
BEFORE_INTERCEPTOR - Field in GrailsControllerClass
The name of the before interceptor property.
BinaryGrailsPluginDescriptor - Class in org.grails.plugins
Holds a reference to the parsed grails-plugin.xml descriptor and the resource used to parse the descriptor
BinaryGrailsPluginDescriptor(Resource, List<String>) - Constructor in BinaryGrailsPluginDescriptor
boolean(String, Boolean) - Method in TypeConvertingMap
buildGetMapExpression(Expression, String) - Method in GrailsASTUtils
Build static direct call to get entry from Map
buildGetPropertyExpression(Expression, String, ClassNode, boolean) - Method in GrailsASTUtils
Build static direct call to getter of a property
buildGetThisObjectExpression(boolean) - Method in GrailsASTUtils
buildPutMapExpression(Expression, String, Expression) - Method in GrailsASTUtils
Build static direct call to put entry in Map
buildSetPropertyExpression(Expression, String, ClassNode, Expression) - Method in GrailsASTUtils
Build static direct call to setter of a property
buildThisExpression() - Method in GrailsASTUtils
byName() - Method in AbstractInjectableGrailsClass
byName() - Method in InjectableGrailsClass
If autowiring by name is enabled.
byte(String, Integer) - Method in TypeConvertingMap
byType() - Method in AbstractInjectableGrailsClass
byType() - Method in InjectableGrailsClass
If autowiring by type is enabled.

C

CacheEntry - Class in grails.util
Wrapper for a value inside a cache that adds timestamp information for expiration and prevents "cache storms" with a Lock.
CacheEntry.UpdateException - Class in grails.util
CacheEntry.UpdateException(Throwable) - Constructor in CacheEntry.UpdateException
CacheEntry(V) - Constructor in CacheEntry
cacheMillis - Field in ReloadableResourceBundleMessageSource
CachingPathMatchingResourcePatternResolver - Class in org.grails.core.io
@author Graeme Rocher
CachingPathMatchingResourcePatternResolver(ResourceLoader) - Constructor in CachingPathMatchingResourcePatternResolver
calculateAllFilenames(String, Locale) - Method in ReloadableResourceBundleMessageSource
Calculate all filenames for the given bundle basename and Locale.
calculateFilenamesForLocale(String, Locale) - Method in ReloadableResourceBundleMessageSource
Calculate the filenames for the given bundle basename and Locale, appending language code, country code, and variant code.
call(SourceUnit, GeneratorContext, ClassNode) - Method in GrailsAwareInjectionOperation
CamelCaseUrlConverter - Class in grails.web
URL converter that allows for camel case URLs
canCreateTransaction(TransactionDefinition) - Method in ChainedTransactionManager
canRegisterPlugin(GrailsPlugin) - Method in DefaultGrailsPluginManager
ChainedTransactionManager - Class in org.grails.transaction
org.springframework.transaction.PlatformTransactionManager implementation that orchestrates transaction creation, commits and rollbacks to a list of delegates.
ChainedTransactionManager(PlatformTransactionManager) - Constructor in ChainedTransactionManager
Creates a new ChainedTransactionManager delegating to the given org.springframework.transaction.PlatformTransactionManagers.
ChainedTransactionManagerPostProcessor - Class in org.grails.transaction
A org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor for using the "Best Effort 1 Phase Commit" (BE1PC) in Grails applications when there are multiple data sources.
ChainedTransactionManagerPostProcessor() - Constructor in ChainedTransactionManagerPostProcessor
char(String, Integer) - Method in TypeConvertingMap
checkForChanges() - Method in AbstractGrailsPlugin
checkForChanges() - Method in DefaultGrailsPluginManager
@deprecated Replaced by agent-based reloading, will be removed in a future version of Grails
checkForChanges() - Method in GrailsPluginManager
Checks all the plugins to see whether they have any changes
checkForChanges() - Method in MockGrailsPluginManager
checkInitialised() - Method in AbstractGrailsPluginManager
CLASS_LOADER_BEAN - Field in GrailsApplication
ClassEditor - Class in org.grails.core.support
Converts Strings to Class references for Spring.
ClassEditor(Object) - Constructor in ClassEditor
classes() - Method in GrailsAutoConfiguration
@return The classes that constitute the Grails application
ClassInjector - Interface in grails.compiler.ast
When implemented allows additional properties to be injected into Grails classes at compile time (ie when they are loaded by the GroovyClassLoader).
classLoader - Field in AbstractGrailsApplication
classLoader - Field in NavigableMapConfig
ClassLoaderAware - Interface in grails.core.support
Convenience interface that can be implemented by classes that are registered by plugins.
ClassLoaderAwareBeanPostProcessor - Class in org.grails.spring.beans
ClassLoaderAwareBeanPostProcessor(ClassLoader) - Constructor in ClassLoaderAwareBeanPostProcessor
className(Resource) - Method in FileSystemInteraction
The class name of the given resource
className(Resource) - Method in FileSystemInteractionImpl
The class name of the given resource
classNameToPluginMap - Field in AbstractGrailsPluginManager
classNameToResourceCache - Field in DefaultResourceLocator
ClassPathScanner - Class in grails.boot.config.tools
Used to scan for classes on the classpath in the most efficient manner possible.
ClassRelativeResourcePatternResolver - Class in org.grails.core.support.internal.tools
Attempts to limit classpath searching to only locations relative to the given class
ClassRelativeResourcePatternResolver(Class) - Constructor in ClassRelativeResourcePatternResolver
classSearchDirectories - Field in DefaultResourceLocator
clear() - Method in AbstractTypeConvertingMap
clear() - Method in CompositeConfig
clear() - Method in DefaultGrailsApplication
Clears the application returning it to an empty state.
clear() - Method in DeferredBindingActions
clear() - Method in Holders
clear() - Method in LazyBeanMap
clear() - Method in LazyMetaPropertyMap
@throws UnsupportedOperationException
clear() - Method in NavigableMapConfig
clear() - Method in NullPersistentContextInterceptor
clear() - Method in PersistenceContextInterceptor
Clear any pending changes.
clear() - Method in PrefixedConfig
clearCache() - Method in ReloadableResourceBundleMessageSource
Clear the resource bundle cache.
clearCachedState() - Method in AbstractGrailsArtefactTransformer
clearCacheIncludingAncestors() - Method in ReloadableResourceBundleMessageSource
Clear the resource bundle caches of this MessageSource and all its ancestors.
clearDefaultConstraints() - Method in ConstraintEvalUtils
clone() - Method in TypeConvertingMap
cloneAnnotation(AnnotationNode) - Method in GrailsASTUtils
CLOSURE_MARKER - Field in DefaultResourceLocator
ClosureClassIgnoringComponentScanBeanDefinitionParser - Class in org.grails.spring.context.annotation
Extends Spring's default <context:component-scan/> element to ignore generated classes.
ClosureToMapPopulator - Class in grails.util
A simple class that takes method invocations and property setters and populates the arguments of these into the supplied map ignoring null values.
ClosureToMapPopulator() - Constructor in ClosureToMapPopulator
collectionToObjectArray(Collection) - Method in GrailsClassUtils
Convenience method for converting a collection to an Object[]
CommandLineResourceLoader - Class in org.grails.dev.support
Loads locations starting with /WEB-INF from the Grails web-app directory.
commandObjects - Field in Action
@default {}
commit(TransactionStatus) - Method in ChainedTransactionManager
COMMON_CLASSES - Field in DefaultGrailsPluginManager
compareTo(Object) - Method in AbstractGrailsArtefactTransformer
Used for ordering not equality.
compareTo(Object) - Method in AbstractGrailsPlugin
compilationUnit - Field in ArtefactTypeAstTransformation
compilationUnit - Field in EntityASTTransformation
compileGroovyFile(CompilerConfiguration, File) - Method in GrailsApp
complete() - Method in StopWatch
CompositeConfig - Class in org.grails.config
A Config composed of other Configs
Config - Interface in grails.config
Interface to application configuration
config - Field in AbstractGrailsApplication
config - Field in AbstractGrailsPlugin
CONFIG_CLASS - Field in GrailsApplication
The name of the class that provides configuration
CONFIG_FILE - Field in AbstractGrailsPluginManager
configChanged() - Method in AbstractGrailsApplication
configChanged() - Method in GrailsApplication
Fired to inform the application when the Config.groovy file changes.
configMap - Field in NavigableMapConfig
ConfigProperties - Class in grails.config
Cached access to Config.toProperties to avoid repeated calls
ConfigProperties(Config) - Constructor in ConfigProperties
configs - Field in CompositeConfig
configureDirectoryWatcher(DirectoryWatcher, String) - Method in GrailsApp
configureEnvironment(ConfigurableEnvironment, String) - Method in GrailsApp
configureLoadedClasses(Class<?>) - Method in DefaultGrailsApplication
Configures the loaded classes within the GrailsApplication instance using the registered ArtefactHandler instances.
configureScanner(ParserContext, Element) - Method in ClosureClassIgnoringComponentScanBeanDefinitionParser
Constrained - Interface in grails.validation
A interface for something that is constrained by various criteria
ConstrainedDiscovery - Interface in org.grails.validation.discovery
Strategy interface for discovering the Constrained properties of a class
ConstraintEvalUtils - Class in org.grails.validation
Utility methods for configuring constraints
CONSTRAINTS_GROOVY_SCRIPT - Field in ConstraintsEvaluator
ConstraintsEvaluator - Interface in grails.validation
Evaluates and returns constraints.
CONSTRUCTOR_METHOD - Field in BaseApiProvider
constructors - Field in BaseApiProvider
contains(Object, Object) - Method in GrailsArrayUtils
containsKey(Object) - Method in AbstractTypeConvertingMap
containsKey(Object) - Method in CompositeConfig
containsKey(Object) - Method in LazyBeanMap
containsKey(Object) - Method in LazyMetaPropertyMap
{@inheritDoc}
containsKey(Object) - Method in NavigableMapConfig
containsKey(Object) - Method in PrefixedConfig
containsProperty(String) - Method in CompositeConfig
containsProperty(String) - Method in NavigableMapConfig
containsProperty(String) - Method in PrefixedConfig
containsValue(Object) - Method in AbstractTypeConvertingMap
containsValue(Object) - Method in CompositeConfig
containsValue(Object) - Method in LazyBeanMap
containsValue(Object) - Method in LazyMetaPropertyMap
Checks whether the specified value is contained within the Map.
containsValue(Object) - Method in NavigableMapConfig
containsValue(Object) - Method in PrefixedConfig
contentLength() - Method in GrailsResource
contentLength() - Method in SpringResource
contextInitialized - Field in AbstractGrailsApplication
CONTROLLER - Field in DefaultGrailsControllerClass
CONTROLLER - Field in GrailsControllerClass
The general name to use when referring to controller artefacts.
ControllerArtefactHandler - Class in org.grails.core.artefact
Lookup controllers for uris.
ControllerArtefactHandler() - Constructor in ControllerArtefactHandler
conversionService - Field in NavigableMapConfig
copy(Resource, File) - Method in FileSystemInteraction
Copy a Resource from the given location to the given directory or location
copy(Resource, File) - Method in FileSystemInteractionImpl
Copy a Resource from the given location to the given directory or location
copyAll(Iterable, def) - Method in FileSystemInteraction
Copies resources to the target destination
copyAll(Iterable, def) - Method in FileSystemInteractionImpl
Copies resources to the target destination
copyAnnotations(AnnotatedNode, AnnotatedNode, Set<String>, Set<String>) - Method in GrailsASTUtils
copyExpandoMetaClass(Class<?>, Class<?>, boolean) - Method in GrailsMetaClassUtils
Copies the ExpandoMetaClass dynamic methods and properties from one Class to another.
copyParameters(Parameter, Map<String, ClassNode>) - Method in GrailsASTUtils
CORE_PLUGIN_PATTERN - Field in CorePluginFinder
CoreConfiguration - Class in org.grails.plugins.core
Core beans.
CoreConfiguration(GrailsApplication) - Constructor in CoreConfiguration
CoreGrailsPlugin - Class in org.grails.plugins
Configures the core shared beans within the Grails application context.
CorePluginFinder - Class in org.grails.plugins
Loads core plugin classes.
CorePluginFinder(GrailsApplication) - Constructor in CorePluginFinder
countChainableTransactionManagerBeans(BeanDefinitionRegistry) - Method in ChainedTransactionManagerPostProcessor
createApplicationContext() - Method in GrailsApp
createArgumentListFromParameters(Parameter, boolean, Map<String, ClassNode>) - Method in GrailsASTUtils
Creates an argument list from the given parameter types.
createCompilationUnit(CompilerConfiguration, CodeSource) - Method in GrailsAwareClassLoader
@see groovy.lang.GroovyClassLoader#createCompilationUnit(org.codehaus.groovy.control.CompilerConfiguration, java.security.CodeSource)
createConcreteCollection(Class) - Method in GrailsClassUtils
Creates a concrete collection for the suppied interface
createGrailsPlugin(Class<?>, Resource) - Method in DefaultGrailsPluginManager
createPluginManagerListener(ConfigurableApplicationContext) - Method in GrailsApp
Creates and returns a file change listener for notifying the plugin manager of changes.
createPrintlnStatement(String, String) - Method in GrailsASTUtils
createRelative(String) - Method in GrailsResource
createRelative(String) - Method in SpringResource
createScanner(XmlReaderContext, boolean) - Method in ClosureClassIgnoringComponentScanBeanDefinitionParser
createSpringApplication(Class<?>) - Method in GrailsAppBuilder
createTransactionManagerBeanReferences(BeanDefinition) - Method in ChainedTransactionManagerPostProcessor
CriteriaTypeCheckingExtension - Class in org.grails.compiler
@since 2.4
CTOR_GROOVY_METHOD - Field in BaseApiProvider
CURRENT_PREFIX - Field in AbstractGrailsArtefactTransformer
currentPluginManager() - Method in Holders
customizeGrailsApplication(GrailsApplication) - Method in GrailsApplicationPostProcessor
customizePluginManager(GrailsPluginManager) - Method in GrailsApplicationPostProcessor

D

DATA_SOURCE_BEAN - Field in GrailsApplication
DATA_SOURCE_CLASS - Field in GrailsApplication
The name of the DataSource class
DATA_SOURCE - Field in GrailsServiceClass
DATA_SOURCE_SETTING - Field in ChainedTransactionManagerPostProcessor
DATA_SOURCES_PREFIX - Field in ChainedTransactionManagerPostProcessor
DATA_SOURCES_SETTING - Field in ChainedTransactionManagerPostProcessor
date(String, Collection<String>) - Method in AbstractTypeConvertingMap
Obtains a date for the given parameter name and format
deepSanitize(Throwable) - Method in GrailsUtil
DEFAULT_DATA_SOURCE - Field in GrailsServiceClass
DefaultArtefactInfo - Class in grails.core
Mutable holder of artefact info.
DefaultErrorsPrinter - Class in org.grails.core.exceptions
Default implementation of the StackTracePrinter interface.
DefaultErrorsPrinter(ResourceLocator) - Constructor in DefaultErrorsPrinter
DefaultGrailsApplication - Class in grails.core
Default implementation of the GrailsApplication interface that manages application loading, state, and artefact instances.
DefaultGrailsApplication(Resource) - Constructor in DefaultGrailsApplication
Loads a GrailsApplication using the given ResourceLocator instance which will search for appropriate class names
DefaultGrailsClass - Class in grails.core
A default implementation for Grails classes that need to be registered and managed by a GrailsApplication, but don't need any special handling.
DefaultGrailsClass(Class<?>) - Constructor in DefaultGrailsClass
DefaultGrailsControllerClass - Class in org.grails.core
Evaluates the conventions contained within controllers to perform auto-configuration.
DefaultGrailsControllerClass(Class<?>) - Constructor in DefaultGrailsControllerClass
DefaultGrailsDomainClass - Class in org.grails.core
Default implementation of the GrailsDomainClass interface
DefaultGrailsDomainClass(Class<?>) - Constructor in DefaultGrailsDomainClass
Constructor.
DefaultGrailsDomainClassInjector - Class in org.grails.compiler.injection
Default implementation of domain class injector interface that adds the 'id' and 'version' properties and other previously boilerplate code.
DefaultGrailsPlugin - Class in org.grails.plugins
Implementation of the GrailsPlugin interface that wraps a Groovy plugin class and provides the magic to invoke its various methods from Java.
DefaultGrailsPlugin(Class<?>, GrailsApplication) - Constructor in DefaultGrailsPlugin
DefaultGrailsPluginManager - Class in grails.plugins
DefaultGrailsPluginManager(GrailsApplication) - Constructor in DefaultGrailsPluginManager
DefaultGrailsServiceClass - Class in org.grails.core
@author Steven Devijver
DefaultGrailsServiceClass(Class<?>) - Constructor in DefaultGrailsServiceClass
DefaultGrailsUrlMappingsClass - Class in org.grails.core
DefaultGrailsUrlMappingsClass(Class<?>) - Constructor in DefaultGrailsUrlMappingsClass
DefaultProxyHandler - Class in grails.core.support.proxy
Trivial default implementation that always returns true and the object.
defaultResourceLoader - Field in DefaultResourceLocator
DefaultResourceLocator - Class in org.grails.core.io
Default ResourceLocator implementation that doesn't take into account servlet loading.
DeferredBindingActions - Class in grails.validation
Binding operations that are deferred until either validate() or save() are called.
delegate - Field in PrefixedConfig
DelegatingMethod - Annotation Type in grails.compiler
Used to indicate to the compiler that a particular method simply delegates to another one.
delete(def) - Method in FileSystemInteraction
Deletes a file
delete(def) - Method in FileSystemInteractionImpl
Deletes a file
dependencies - Field in AbstractGrailsPlugin
dependencyNames - Field in AbstractGrailsPlugin
DEPENDS_ON - Field in GrailsPlugin
Defines the name of the property that specifies which plugins this plugin depends on
deprecated(String) - Method in GrailsUtil
Logs warning message about some deprecation and code style related hints.
destroy() - Method in NullPersistentContextInterceptor
destroy() - Method in PersistenceContextInterceptor
Called to finalize the persistent context.
destroyPersistenceContext(ApplicationContext) - Method in PersistenceContextInterceptorExecutor
DevelopmentShutdownHook - Class in org.grails.dev.support
Registers a shutdown hook to close the application context when CTRL+C is hit in dev mode.
DIALECT_DETECTOR_BEAN - Field in GrailsApplication
DISABLE_AUTOWIRE_BY_NAME_OPTIMIZATIONS - Field in OptimizedAutowireCapableBeanFactory
disconnect() - Method in NullPersistentContextInterceptor
disconnect() - Method in PersistenceContextInterceptor
Disconnects the persistence context.
DO_WITH_APPLICATION_CONTEXT - Field in GrailsPlugin
Defines the name of the property that defines a closure that will be invoked after intialisation and when the application context has been built
DO_WITH_DYNAMIC_METHODS - Field in GrailsPlugin
DO_WITH_SPRING - Field in GrailsPlugin
Defines the name of the property that defines the closure that will be invoked during runtime spring configuration
DO_WITH_WEB_DESCRIPTOR - Field in GrailsPlugin
Defines the name of the property that defines the closure that will be invoked when the web.xml is being generated
doArtefactConfiguration() - Method in AbstractGrailsPluginManager
doArtefactConfiguration() - Method in DefaultGrailsPlugin
doArtefactConfiguration() - Method in GrailsPlugin
Called prior to the initialisation of the GrailsApplication instance to allow the registration of additonal ArtefactHandlers
doArtefactConfiguration() - Method in GrailsPluginManager
Called prior to the initialisation of the GrailsApplication object to allow registration of additional ArtefactHandler objects
doArtefactConfiguration() - Method in ProfilingGrailsPluginManager
doc(String) - Method in DefaultGrailsPlugin
@deprecated Dynamic document generation no longer supported
doc(String) - Method in GrailsPlugin
Write some documentation to the DocumentationContext
doDynamicMethods() - Method in AbstractGrailsPluginManager
doDynamicMethods() - Method in DefaultGrailsPluginManager
doDynamicMethods() - Method in GrailsPluginManager
Called on all plugins so that they can add new methods/properties/constructors etc.
doDynamicMethods() - Method in ProfilingGrailsPluginManager
doFindAllClassPathResources(String) - Method in CachingPathMatchingResourcePatternResolver
DOMAIN_DIR - Field in GrailsASTUtils
DomainBuilder - Class in grails.util
DomainBuilder.DefaultGrailsChildPropertySetter - Class in grails.util
DomainBuilder() - Constructor in DomainBuilder
DomainClassArtefactHandler - Class in org.grails.core.artefact
Evaluates the conventions that define a domain class in Grails.
DomainClassArtefactHandler() - Constructor in DomainClassArtefactHandler
DomainMappingTypeCheckingExtension - Class in org.grails.compiler
@since 2.4
doPerformInjectionOnArtefactType(SourceUnit, ClassNode, String) - Method in ArtefactTypeAstTransformation
doPostProcessing(ApplicationContext) - Method in AbstractGrailsPluginManager
Base implementation that will simply go through each plugin and call doWithApplicationContext on each.
doPostProcessing(ApplicationContext) - Method in GrailsPluginManager
Performs post initialization configuration for each plug-in, passing the built application context
doPostProcessing(ApplicationContext) - Method in ProfilingGrailsPluginManager
doProcessProperties(ConfigurableListableBeanFactory, StringValueResolver) - Method in GrailsPlaceholderConfigurer
doRuntimeConfiguration(String, RuntimeSpringConfiguration) - Method in AbstractGrailsPluginManager
Base implementation that will perform runtime configuration for the specified plugin name.
doRuntimeConfiguration(String, RuntimeSpringConfiguration) - Method in GrailsPluginManager
Executes the runtime configuration for a specific plugin AND all its dependencies
doRuntimeConfiguration(RuntimeSpringConfiguration) - Method in ProfilingGrailsPluginManager
double(String, Double) - Method in TypeConvertingMap
doWithApplicationContext(ApplicationContext) - Method in DefaultGrailsPlugin
doWithApplicationContext() - Method in GrailsApplicationLifeCycle
Invoked once the org.springframework.context.ApplicationContext has been refreshed and after {#doWithDynamicMethods()} is invoked.
doWithApplicationContext() - Method in GrailsApplicationLifeCycleAdapter
doWithApplicationContext() - Method in GrailsAutoConfiguration
doWithApplicationContext(ApplicationContext) - Method in GrailsPlugin
doWithApplicationContext() - Method in Plugin
Invokes once the org.springframework.context.ApplicationContext has been refreshed and after {#doWithDynamicMethods()} is invoked.
doWithDynamicMethods(ApplicationContext) - Method in DefaultGrailsPlugin
doWithDynamicMethods() - Method in GrailsApplicationLifeCycle
Invoked once the org.springframework.context.ApplicationContext has been refreshed in a phase where plugins can add dynamic methods.
doWithDynamicMethods() - Method in GrailsApplicationLifeCycleAdapter
doWithDynamicMethods() - Method in GrailsAutoConfiguration
doWithDynamicMethods(ApplicationContext) - Method in GrailsPlugin
Calls a "doWithDynamicMethods" closure that allows a plugin to register dynamic methods at runtime
doWithDynamicMethods() - Method in Plugin
Invoked in a phase where plugins can add dynamic methods.
doWithRuntimeConfiguration(RuntimeSpringConfiguration) - Method in DefaultGrailsPlugin
doWithRuntimeConfiguration(RuntimeSpringConfiguration) - Method in GrailsPlugin
Executes the plugin code that performs runtime configuration as defined in the doWithSpring closure
doWithSpring() - Method in CoreGrailsPlugin
doWithSpring() - Method in GrailsApplicationLifeCycle
Sub classes should override to provide implementations
doWithSpring() - Method in GrailsApplicationLifeCycleAdapter
doWithSpring() - Method in GrailsAutoConfiguration
doWithSpring() - Method in Plugin
Sub classes should override to provide implementations
DynamicFinderTypeCheckingExtension - Class in org.grails.compiler
@since 2.4

E

EMPTY_ARGS - Field in DefaultGrailsControllerClass
EMPTY_CLASS_ARRAY - Field in GrailsArtefactClassInjector
enableAgentIfNotPresent(Class) - Method in Support
Enables the reloading agent at runtime if it isn't present
EnableAutoConfiguration - Annotation Type in org.grails.boot.internal
Dummy annotation to fool boot into not applying the real 'EnableAutoConfiguration' annotation.
enableDevelopmentModeWatch(Environment, ConfigurableApplicationContext, String) - Method in GrailsApp
Enhanced - Annotation Type in grails.artefact
An annotation for classes that are compile-time enhanced.
enhancedFor - Field in Enhanced
@default {}
Enhances - Annotation Type in grails.artefact
Can be applied to any Trait to indicate to Grails that the trait should be automatically added to the given artefact types
EnhancesTraitTransformation - Class in org.grails.compiler.injection
Implementation for {@link Enhances)
Entity - Annotation Type in grails.persistence
A class annotation used to make a class into a GORM domain class.
EntityASTTransformation - Class in org.grails.compiler.injection
EntityProxyHandler - Interface in grails.core.support.proxy
Methods specified to proxied entities
entrySet() - Method in AbstractTypeConvertingMap
entrySet() - Method in CompositeConfig
entrySet() - Method in LazyBeanMap
entrySet() - Method in LazyMetaPropertyMap
entrySet() - Method in NavigableMapConfig
entrySet() - Method in PrefixedConfig
ENV_RELOAD_AGENT_PATH - Field in Support
EnvironmentAwarePropertySource - Class in org.grails.config
A PropertySource aware of the Grails environment and that resolves keys based on the environment from other property sources
ENVIRONMENTS - Field in GrailsPlugin
The environments to which this plugin applies
equals(Object) - Method in AbstractGrailsPlugin
equals(Object) - Method in AbstractTypeConvertingMap
equals(Object) - Method in LazyMetaPropertyMap
equals(Object) - Method in NavigableMapConfig
EQUALS_OPERATOR - Field in GrailsASTUtils
equals(Object) - Method in Pair
equals(Object) - Method in PrefixedConfig
equals(Object) - Method in Triple
error(SourceUnit, ASTNode, String, boolean) - Method in GrailsASTUtils
Generates a fatal compilation error.
evaluate(Class<?>, boolean, boolean, Closure) - Method in ConstraintsEvaluator
Evaluate constraints for the given class
Event - Enum in grails.persistence
Enum of the available events that Grails triggers.
EVENT_ON_CHANGE - Field in GrailsPlugin
EVENT_ON_CONFIG_CHANGE - Field in GrailsPlugin
EVENT_ON_SHUTDOWN - Field in GrailsPlugin
EVICT - Field in GrailsPlugin
Defines the name of the property that specifies a List or plugins that this plugin evicts Eviction occurs when the PluginManager loads
evictionList - Field in AbstractGrailsPlugin
evictPlugin(GrailsPlugin, String) - Method in DefaultGrailsPluginManager
EXCEPTION_HANDLER_BEAN - Field in GrailsApplication
EXCLUDE_MEMBER - Field in ApplicationClassInjector
EXCLUDED_AUTO_CONFIGURE_CLASSES - Field in ApplicationClassInjector
excludes(List<T>, T) - Method in IncludeExcludeSupport
ExcludingPluginFilter - Class in org.grails.plugins
Implementation of PluginFilter which removes that all of the supplied plugins (identified by name) as well as their dependencies are omitted from the filtered plugin list.
ExcludingPluginFilter(String) - Constructor in ExcludingPluginFilter
ExecutionContext - Class in grails.dev.commands
A context command to pass to ApplicationCommand instances
exists() - Method in GrailsResource
exists() - Method in SpringResource
expectCheckForChanges() - Method in MockGrailsPluginManager
expire() - Method in CacheEntry
ExtendedProxy - Class in grails.util
Extends the Groovy Proxy implementation and adds proxying of property getters/setters.
ExtendedProxy() - Constructor in ExtendedProxy
extractRootCause(Throwable) - Method in GrailsUtil

F

failedPlugins - Field in AbstractGrailsPluginManager
fastClass(Class) - Method in GrailsClassUtils
file(Object) - Method in FileSystemInteraction
Obtain a file for the given path
file(Object) - Method in FileSystemInteractionImpl
Obtain a file for the given path
FILE_SEPARATOR - Field in DefaultResourceLocator
fileCacheMillis - Field in ReloadableResourceBundleMessageSource
files(String) - Method in FileSystemInteraction
Get files matching the given pattern
files(String) - Method in FileSystemInteractionImpl
Get files matching the given pattern
FileSystemInteraction - Interface in grails.dev.commands.io
Utility methods exposed to scripts for interacting with resources (found on the file system or jars) and the file system
FileSystemInteraction.CopySpec - Class in grails.dev.commands.io
FileSystemInteractionImpl - Class in grails.dev.commands.io
Utility methods exposed to scripts for interacting with resources (found on the file system or jars) and the file system
FileSystemInteractionImpl(File, ResourceLoader) - Constructor in FileSystemInteractionImpl
filterAnnotations(AnnotatedNode, Set<String>, Set<String>) - Method in GrailsASTUtils
filterPluginList(List<GrailsPlugin>) - Method in BasePluginFilter
Template method shared by subclasses of BasePluginFilter.
filterPluginList(List) - Method in IdentityPluginFilter
Simply returns original list reference.
filterPluginList(List<GrailsPlugin>) - Method in PluginFilter
Returns a filtered list of plugins.
findAgentJar(String, String) - Method in Support
findAnnotation(ClassNode, Class<?>) - Method in GrailsASTUtils
findAnnotationOnBean(String, Class<A>) - Method in GenericBeanFactoryAccessor
Find a java.lang.annotation.Annotation of annotationType on the specified bean, traversing its interfaces and super classes if no annotation can be found on the given class itself, as well as checking its raw bean class if not found on the exposed bean reference (e.g. in case of a proxy).
findApplication() - Method in Holders
@return The ApplicationContext or null if it doesn't exist
findApplicationContext() - Method in GrailsApplicationDiscoveryStrategy
@return Find the ApplicationContext instance
findApplicationContext() - Method in Holders
@return The ApplicationContext or null if it doesn't exist
findCommand(String) - Method in ApplicationContextCommandRegistry
findCommands() - Method in ApplicationContextCommandRegistry
findConstrainedProperties(PersistentEntity) - Method in ConstrainedDiscovery
Finds the constrained properties for the given entity
findConstructor(ClassNode, Parameter) - Method in GrailsASTUtils
Finds a constructor for the given class node and parameter types
findGrailsApplication() - Method in GrailsApplicationDiscoveryStrategy
@return Find the GrailsApplication instance
findInjectors(String, ClassInjector) - Method in ArtefactTypeAstTransformation
findInterface(ClassNode, ClassNode) - Method in GrailsASTUtils
findPathMatchingResources(String) - Method in CachingPathMatchingResourcePatternResolver
findPropertyNameForValue(Object, Object) - Method in GrailsClassUtils
Locates the name of a property for the given value on the target object using Groovy's meta APIs.
findResourceForClassName(String) - Method in DefaultResourceLocator
findResourceForClassName(String) - Method in ResourceLocator
Finds the .groovy file or .java file for a given class from a Grails project.
findResourceForClassName(String) - Method in StaticResourceLocator
findResourceForURI(String) - Method in DefaultResourceLocator
findResourceForURI(String) - Method in ResourceLocator
Finds a resource for the given URI
findResourceForURI(String) - Method in StaticResourceLocator
findResourceInBinaryPlugins(DefaultResourceLocator.PluginResourceInfo) - Method in DefaultResourceLocator
flatten() - Method in CompositeConfig
flatten() - Method in Config
@return The flat version of the config
flatten() - Method in NavigableMapConfig
flatten() - Method in PrefixedConfig
float(String, Float) - Method in TypeConvertingMap
flush() - Method in NullPersistentContextInterceptor
flush() - Method in PersistenceContextInterceptor
Flushes any pending changes to the DB.
formatCodeSnippetEnd(Resource, int) - Method in DefaultErrorsPrinter
formatCodeSnippetErrorLine(int, def) - Method in DefaultErrorsPrinter
formatCodeSnippetLine(int, def) - Method in DefaultErrorsPrinter
formatCodeSnippetStart(Resource, int) - Method in DefaultErrorsPrinter
formatErrors(Errors, String) - Method in ValidationException
formulateKey(String) - Method in PrefixedConfig
from(def) - Method in FileSystemInteraction.CopySpec

G

generatePluginXml(ClassNode, String, Set<String>, File) - Method in GlobalGrailsClassInjectorTransformation
GenericBeanFactoryAccessor - Class in org.grails.spring.beans.factory
A fork of the Spring 2.5.6 GenericBeanFactoryAccess class that was removed from Spring 3.0.
GenericBeanFactoryAccessor(ListableBeanFactory) - Constructor in GenericBeanFactoryAccessor
Constructs a GenericBeanFactoryAccessor that wraps the supplied org.springframework.beans.factory.ListableBeanFactory.
get(Object) - Method in AbstractTypeConvertingMap
get(Object) - Method in CompositeConfig
get(Object) - Method in ConfigProperties
get(Object) - Method in LazyBeanMap
get(Object) - Method in LazyMetaPropertyMap
Obtains the value of an object's properties on demand using Groovy's MOP.
get(Object) - Method in NavigableMapConfig
get(Object) - Method in PrefixedConfig
getActions() - Method in DefaultGrailsControllerClass
getActions() - Method in GrailsControllerClass
@return The action names
getAllArtefacts() - Method in DefaultGrailsApplication
Returns all the classes identified as artefacts by ArtefactHandler instances.
getAllArtefacts() - Method in GrailsApplication
Retrieves all java.lang.Class instances considered Artefacts loaded by the Grails class loader
getAllAssociationMap(ClassNode) - Method in GrailsASTUtils
getAllClasses() - Method in DefaultGrailsApplication
Retrieves all classes loaded by the GrailsApplication.
getAllClasses() - Method in GrailsApplication
Retrieves all java.lang.Class instances loaded by the Grails class loader
getAllEvents() - Method in Event
@return The names of all persistence events
getAllInterfaces(Object) - Method in GrailsClassUtils
Return all interfaces that the given instance implements as array, including ones implemented by superclasses.
getAllInterfacesAsSet(Object) - Method in GrailsClassUtils
Return all interfaces that the given instance implements as Set, including ones implemented by superclasses.
getAllInterfacesForClass(Class<?>, ClassLoader) - Method in GrailsClassUtils
Return all interfaces that the given class implements as array, including ones implemented by superclasses.
getAllInterfacesForClassAsSet(Class, ClassLoader) - Method in GrailsClassUtils
Return all interfaces that the given class implements as Set, including ones implemented by superclasses.
getAllPlugins() - Method in AbstractGrailsPluginManager
getAllPlugins() - Method in BasePluginFilter
getAllPlugins() - Method in GrailsPluginManager
Returns an array of all the loaded plug-ins
getAnnotationMetadata() - Method in AnnotationMetadataReader
getAnnotationType() - Method in ArtefactTypeAstTransformation
getAnnotationTypeClass() - Method in ArtefactTypeAstTransformation
getApplication() - Method in AbstractGrailsClass
getApplication() - Method in GrailsClass
The GrailsApplication that this class belongs to
getApplicationClass() - Method in DefaultGrailsApplication
@return The application class
getApplicationContext() - Method in ApplicationAttributes
@return The application context for servlet
getApplicationContext() - Method in ApplicationCommand
getApplicationContext() - Method in Holders
getApplicationContext() - Method in Plugin
@return The ApplicationContext
getArgs() - Method in GrailsApplicationCommand
getArtefact() - Method in ArtefactAdditionEvent
getArtefact(String, String) - Method in DefaultGrailsApplication
Retrieves an artefact for the given type and name.
getArtefact(String, String) - Method in GrailsApplication
getArtefactByLogicalPropertyName(String, String) - Method in DefaultGrailsApplication
getArtefactByLogicalPropertyName(String, String) - Method in GrailsApplication
Retrieves an artefact by its logical property name.
getArtefactCount(String) - Method in DefaultGrailsApplication
Retrieves the number of artefacts registered for the given artefactType as defined by the ArtefactHandler.
getArtefactForFeature(Object) - Method in ArtefactHandler
getArtefactForFeature(Object) - Method in ArtefactHandlerAdapter
getArtefactForFeature(String, Object) - Method in DefaultGrailsApplication
getArtefactForFeature(String, Object) - Method in GrailsApplication
getArtefactHandler(String) - Method in DefaultGrailsApplication
getArtefactHandler(String) - Method in GrailsApplication
Returns the ArtefactHandler for the given type
getArtefactHandlers() - Method in DefaultGrailsApplication
getArtefactHandlers() - Method in GrailsApplication
getArtefactInfo(String) - Method in DefaultGrailsApplication
Get the cache of classes for the specified artefact type.
getArtefactInfo(String) - Method in GrailsApplication
getArtefacts(String) - Method in DefaultGrailsApplication
Returns all of the GrailsClass instances for the given artefactType as defined by the ArtefactHandler
getArtefacts(String) - Method in GrailsApplication
getArtefactType() - Method in AbstractGrailsArtefactTransformer
getArtefactType(Class) - Method in DefaultGrailsApplication
getArtefactType(Class) - Method in GrailsApplication
Returns the ArtefactHandler for the given class or null
getArtefactTypes() - Method in AbstractGrailsArtefactTransformer
getArtefactTypes() - Method in ApplicationClassInjector
getArtefactTypes() - Method in DefaultGrailsDomainClassInjector
getArtefactTypes() - Method in GrailsArtefactClassInjector
getArtefactTypes() - Method in TraitInjector
getAssocationMap(ClassNode, String) - Method in GrailsASTUtils
Returns a map containing the names and types of the given association type. eg.
getAstAppliedMarkerClass() - Method in ArtefactTypeAstTransformation
getAsText() - Method in ClassEditor
getAt(ApplicationContext, String) - Method in ApplicationContextExtension
Adds the ability to use the subscript operator to obtain beans
getAt(Object) - Method in CompositeConfig
getAt(Object) - Method in NavigableMapConfig
getAt(Object) - Method in PrefixedConfig
getAt(String) - Method in ValidationErrors
getAvailable() - Method in AbstractInjectableGrailsClass
getAvailable() - Method in InjectableGrailsClass
If class should be configured for dependency injection.
getaValue() - Method in Pair
getaValue() - Method in Triple
getBean(String, Class<T>) - Method in GenericBeanFactoryAccessor
@see org.springframework.beans.factory.BeanFactory#getBean(String, Class)
getBeanFactory() - Method in GenericBeanFactoryAccessor
Return the wrapped org.springframework.beans.factory.ListableBeanFactory.
getBeanNameBlacklistPattern() - Method in ChainedTransactionManagerPostProcessor
getBeanNameInternalBlacklistPattern() - Method in ChainedTransactionManagerPostProcessor
getBeanNameWhitelistPattern() - Method in ChainedTransactionManagerPostProcessor
getBeansConfig() - Method in MapBasedSmartPropertyOverrideConfigurer
getBeansOfType(Class<T>, boolean, boolean) - Method in GenericBeanFactoryAccessor
@see ListableBeanFactory#getBeansOfType(Class, boolean, boolean)
getBeansWithAnnotation(Class<? extends Annotation>) - Method in GenericBeanFactoryAccessor
Find all beans whose Class has the supplied java.lang.annotation.Annotation type.
getBinaryDescriptor(Class<?>) - Method in CorePluginFinder
getBoolean(String, Boolean) - Method in AbstractTypeConvertingMap
getBooleanFromMap(String, Map<?, ?>, boolean) - Method in GrailsClassUtils
Retrieves a boolean value from a Map for the given key
getBuildDir() - Method in FileSystemInteraction
@return The target build directory
getBuildDir() - Method in FileSystemInteractionImpl
@return The target build directory
getBundleCodes(Locale, String) - Method in ReloadableResourceBundleMessageSource
Retrieves all codes from one or multiple basenames
getbValue() - Method in Pair
getbValue() - Method in Triple
getByte(String, Integer) - Method in AbstractTypeConvertingMap
getChar(String, Integer) - Method in AbstractTypeConvertingMap
getChildContext() - Method in CoreConfiguration
GETCLASS_PATTERN - Field in DefaultGrailsApplication
getClasses() - Method in ArtefactInfo
Gets you the array of all artefact Class(es), the original classes loaded that represent the artefacts.
getClasses() - Method in DefaultArtefactInfo
getClassesByName() - Method in ArtefactInfo
Gets you the unmodifiable Map of all artefact Class(es), the actual classes implementing the artefact.
getClassesByName() - Method in DefaultArtefactInfo
getClassesDir() - Method in FileSystemInteraction
@return The directory where classes are compiled to
getClassesDir() - Method in FileSystemInteractionImpl
@return The directory where classes are compiled to
GETCLASSESMETH_PATTERN - Field in DefaultGrailsApplication
GETCLASSESPROP_PATTERN - Field in DefaultGrailsApplication
getClassForName(String) - Method in AbstractGrailsApplication
getClassForName(String) - Method in DefaultGrailsApplication
Retrieves a class from the GrailsApplication for the given name.
getClassForName(String) - Method in GrailsApplication
Retrieves a class for the given name within the GrailsApplication or returns null
getClassInjectors() - Method in GrailsAwareInjectionOperation
getClassLoader() - Method in AbstractGrailsApplication
getClassLoader() - Method in GrailsApplication
Returns the class loader instance for the Grails application.
getClassLoader() - Method in MapBasedSmartPropertyOverrideConfigurer
getClassLoader() - Method in SimpleMapResourceLoader
getClassLoader() - Method in StaticResourceLoader
getClassMetadata() - Method in AnnotationMetadataReader
getClazz() - Method in AbstractGrailsClass
getClazz() - Method in GrailsClass
Returns the actual clazz represented by the GrailsClass.
getConfig() - Method in AbstractGrailsApplication
getConfig() - Method in DefaultGrailsApplication
getConfig() - Method in GrailsApplication
Returns the ConfigObject instance.
getConfig() - Method in GrailsAutoConfiguration
getConfig() - Method in Holders
getConfig() - Method in Plugin
@return The Config instance for this plugin
getConfigurationClass() - Method in GrailsDataSource
@return The configuration class to use when setting up the database.
getConfigurationResource(Class<?>, String) - Method in AbstractGrailsPlugin
getConstrainedProperties() - Method in DefaultGrailsDomainClass
getConstrainedProperties() - Method in GrailsDomainClass
Returns a map of constraints applied to this domain class with the keys being the property name and the values being ConstrainedProperty instances
getConstraintMetadata(ClosureExpression) - Method in GrailsASTUtils
Evaluates a constraints closure and returns metadata about the constraints configured in the closure.
getCreatedMillis() - Method in CacheEntry
getcValue() - Method in Triple
getDatasource() - Method in DefaultGrailsServiceClass
If service is transactional then get data source will always apply
getDatasource() - Method in GrailsServiceClass
Get the datasource name that this service class works with.
getDate(String, String) - Method in AbstractTypeConvertingMap
Obtains a date from the parameter using the given format
getDbCreate() - Method in GrailsDataSource
Whether to generate the database with HBM 2 DDL, values can be "create", "create-drop" or "update".
getDefaultAction() - Method in DefaultGrailsControllerClass
getDefaultAction() - Method in GrailsControllerClass
Returns the default action for this Controller.
getDefaultConstraints(Config) - Method in ConstraintEvalUtils
Looks up the default configured constraints from the given configuration
getDefaultConstraints() - Method in ConstraintsEvaluator
The default constraints to use
getDefaultConstructor(ClassNode) - Method in GrailsASTUtils
Obtains the default constructor for the given class node.
getDefaultResourceLoader() - Method in DefaultResourceLocator
getDependencyNames() - Method in AbstractGrailsPlugin
getDependencyNames() - Method in DefaultGrailsPlugin
getDependencyNames() - Method in GrailsPlugin
@return The names of the plugins this plugin is dependant on
getDependentVersion(String) - Method in AbstractGrailsPlugin
getDependentVersion(String) - Method in DefaultGrailsPlugin
getDependentVersion(String) - Method in GrailsPlugin
The version of the specified dependency
getDescription() - Method in ApplicationCommand
getDescription() - Method in GrailsResource
getDescription() - Method in SpringResource
getDescriptor() - Method in DefaultGrailsPlugin
getDescriptor() - Method in PluginAstReader.BasicGrailsPluginInfo
getDialect() - Method in GrailsDataSource
The dialect implementation to use.
getDouble(String, Double) - Method in AbstractTypeConvertingMap
getDriverClassName() - Method in GrailsDataSource
The driver class name for the data source.
getErrors() - Method in ValidationException
getEvictionNames() - Method in AbstractGrailsPlugin
getEvictionNames() - Method in GrailsPlugin
@return The names of the plugins this plugin should evict onload
getExcludePatterns() - Method in DefaultGrailsUrlMappingsClass
getExcludePatterns() - Method in GrailsUrlMappingsClass
Returns a List of URI patterns to exclude.
getExpandoMetaClass(Class) - Method in GrailsClassUtils
getExpandoMetaClass(Class<?>) - Method in GrailsMetaClassUtils
getExtensions() - Method in MicronautGroovyPropertySourceLoader
getFailedLoadPlugins() - Method in AbstractGrailsPluginManager
getFailedLoadPlugins() - Method in GrailsPluginManager
@return An array of plugins that failed to load due to dependency resolution errors
getFailedPlugin(String) - Method in AbstractGrailsPluginManager
getFailedPlugin(String) - Method in GrailsPluginManager
Retrieves a plug-in that failed to load, or null if it doesn't exist
getFieldValue(Object, String) - Method in GrailsClassUtils
Get the value of a declared field on an object
getFile() - Method in GrailsResource
getFile() - Method in SpringResource
getFileBasename(String) - Method in GrailsStringUtils
Obtains the base name of a file excluding path and extension
getFileName(StackTraceElement) - Method in DefaultErrorsPrinter
getFilename() - Method in GrailsByteArrayResource
getFilename() - Method in GrailsResource
getFilename() - Method in MockFileResource
getFilename() - Method in ReloadableResourceBundleMessageSource.PropertiesHolder
getFilename() - Method in SpringResource
getFileNameInfo(Throwable, Resource) - Method in DefaultErrorsPrinter
getFileSystemName() - Method in AbstractGrailsPlugin
getFileSystemName() - Method in GrailsPlugin
Returns the name of the plugin as represented in the file system including the version.
getFileSystemShortName() - Method in AbstractGrailsPlugin
getFileSystemShortName() - Method in GrailsPlugin
Returns the name of the plugin as represented on the file system without the version.
getFileTimestamp() - Method in ReloadableResourceBundleMessageSource.PropertiesHolder
getFirstArtefact(String) - Method in DefaultGrailsApplication
getFlatConfig() - Method in Holders
getFloat(String, Float) - Method in AbstractTypeConvertingMap
getFormat() - Method in Constrained
getFullName() - Method in AbstractGrailsClass
getFullName() - Method in DefaultGrailsPlugin
getFullName(ClassNode) - Method in GrailsASTUtils
Gets the full name of a ClassNode.
getFullName() - Method in GrailsClass
Returns the full name of the class in the application with the trailing convention part and with the package name.
getFullName() - Method in PluginAstReader.BasicGrailsPluginInfo
getFurthestParent(ClassNode) - Method in GrailsASTUtils
getFurthestUnresolvedParent(ClassNode) - Method in GrailsASTUtils
getGetterName(String) - Method in GrailsClassUtils
Calculate the name for a getter method to retrieve the specified property
getGlobalClassInjectors() - Method in GrailsAwareInjectionOperation
getGrailsApplication() - Method in ApplicationAttributes
@return Retrieves the grails application instance
getGrailsApplication() - Method in GrailsAutoConfiguration
getGrailsApplication() - Method in Holders
getGrailsClass(String) - Method in ArtefactInfo
getGrailsClass(String) - Method in DefaultArtefactInfo
getGrailsClassByLogicalPropertyName(String) - Method in ArtefactInfo
Retrieves a Grails class by its logical property name.
getGrailsClassByLogicalPropertyName(String) - Method in DefaultArtefactInfo
getGrailsClasses() - Method in ArtefactInfo
Gets you the array of all artefact GrailsClass(es), the classes used to track information about the artefact.
getGrailsClasses() - Method in DefaultArtefactInfo
getGrailsClassesByName() - Method in ArtefactInfo
getGrailsClassesByName() - Method in DefaultArtefactInfo
getGrailsPlugin(String, Object) - Method in AbstractGrailsPluginManager
getGrailsPlugin(String, Object) - Method in GrailsPluginManager
Retrieves a plug-in for its name and version
getGrailsPlugin(String, BigDecimal) - Method in MockGrailsPluginManager
getGrailsPluginForClassName(String) - Method in AbstractGrailsPluginManager
getGrailsPluginForClassName(String) - Method in GrailsPluginManager
Obtains a GrailsPlugin for the given classname
getGrailsVersion() - Method in GrailsUtil
getInList() - Method in Constrained
@return Constrains the be within the list of given values
getInputStream() - Method in GrailsResource
getInputStream() - Method in SpringResource
getInstance() - Method in DefaultGrailsPlugin
getInstance() - Method in GrailsPlugin
Retrieves the wrapped plugin instance for this plugin
getInstance() - Method in LazyMetaPropertyMap
Returns the wrapped instance.
getInstanceImplementation() - Method in AbstractGrailsArtefactTransformer
The class that provides the implementation of all instance methods and properties
getInt(String, Integer) - Method in AbstractTypeConvertingMap
getJpaClassNames() - Method in AnnotationDomainClassArtefactHandler
getLastTaskInfo() - Method in StopWatch
Return the last task as a TaskInfo object.
getLastTaskName() - Method in StopWatch
Return the name of the last task.
getLastTaskTimeMillis() - Method in StopWatch
Return the time taken by the last task.
getLineNumberInfo(Throwable, int) - Method in DefaultErrorsPrinter
getList(String) - Method in AbstractTypeConvertingMap
Helper method for obtaining a list of values from parameter
getListOfClasses(AnnotationNode) - Method in MixinTransformation
getLoadAfterNames() - Method in AbstractGrailsPlugin
getLoadAfterNames() - Method in DefaultGrailsPlugin
getLoadAfterNames() - Method in GrailsPlugin
Retrieves the names of plugins that this plugin should be loaded after.
getLoadBeforeNames() - Method in AbstractGrailsPlugin
getLoadBeforeNames() - Method in DefaultGrailsPlugin
getLoadBeforeNames() - Method in GrailsPlugin
Retrieves the names of plugins that this plugin should be loaded before.
getLocalClassInjectors() - Method in GrailsAwareInjectionOperation
getLog() - Method in DefaultGrailsPlugin
getLogicalPropertyName() - Method in AbstractGrailsClass
getLogicalPropertyName() - Method in GrailsClass
Returns the logical name of the class as a property name.
getLong(String, Long) - Method in AbstractTypeConvertingMap
getMainContext() - Method in AbstractGrailsApplication
getMainContext() - Method in GrailsApplication
Returns the Spring context for this application.
getManager() - Method in AbstractGrailsPlugin
getManager() - Method in GrailsPlugin
Retrieves the plugin manager if known, otherwise returns null
getManager() - Method in Plugin
The GrailsPluginManager instance
getMappingContext() - Method in DefaultGrailsApplication
getMappingContext() - Method in GrailsApplication
Returns:
The GORM org.grails.datastore.mapping.model.MappingContext.
getMappingsClosure() - Method in DefaultGrailsUrlMappingsClass
getMappingsClosure() - Method in GrailsUrlMappingsClass
Returns the mappings closure which is called to evaluate the url mappings.
getMarkerAnnotation() - Method in AbstractGrailsArtefactTransformer
A marker annotation to be applied to added methods, defaults to null
getMatches() - Method in Constrained
getMax() - Method in Constrained
@return Returns the maximum possible value.
getMaxSize() - Method in Constrained
getMergedBinaryPluginProperties(Locale) - Method in PluginAwareResourceBundleMessageSource
getMergedPluginProperties(Locale) - Method in PluginAwareResourceBundleMessageSource
Get a PropertiesHolder that contains the actually visible properties for a Locale, after merging all specified resource bundles.
getMergedProperties(Locale) - Method in ReloadableResourceBundleMessageSource
Get a PropertiesHolder that contains the actually visible properties for a Locale, after merging all specified resource bundles.
getMessage() - Method in ValidationException
getMessageFormat(String, Locale) - Method in ReloadableResourceBundleMessageSource.PropertiesHolder
getMetaClass() - Method in AbstractGrailsClass
@return the metaClass
getMetaClass() - Method in GrailsClass
@return The MetaClass for this Grails class
getMetaClass(Object) - Method in GrailsMetaClassUtils
getMetadata() - Method in AbstractGrailsApplication
getMetadata() - Method in GrailsApplication
getMetaProperties() - Method in AbstractGrailsClass
getMin() - Method in Constrained
@return Returns the minimum possible value.
getMinSize() - Method in Constrained
getName() - Method in AbstractGrailsClass
getName() - Method in AbstractGrailsPlugin
getName() - Method in ApplicationCommand
getName() - Method in DefaultGrailsDomainClass
getName() - Method in DefaultGrailsPlugin
getName() - Method in GrailsClass
Returns the logical name of the class in the application without the trailing convention part if applicable and without the package name.
getName() - Method in PluginAstReader.BasicGrailsPluginInfo
getNamedPlugin(String) - Method in BasePluginFilter
getNamespace() - Method in DefaultGrailsControllerClass
getNamespace() - Method in GrailsControllerClass
@return the namespace of this controller, null if none was specified
getNaturalName() - Method in AbstractGrailsClass
getNaturalName() - Method in GrailsClass
Returns the name of the property in natural terms (eg.
getNavigableProperty(String) - Method in NavigableMapPropertySource
getNotEqual() - Method in Constrained
getObject() - Method in HotSwappableTargetSourceFactoryBean
getObject() - Method in InstanceFactoryBean
getObjectType() - Method in HotSwappableTargetSourceFactoryBean
getObjectType() - Method in InstanceFactoryBean
getObservedPluginNames() - Method in DefaultGrailsPlugin
getObservedPluginNames() - Method in GrailsPlugin
Retrieve the plugin names that this plugin is observing for changes
getOrder() - Method in AbstractGrailsApplication
getOrder() - Method in ChainedTransactionManagerPostProcessor
getOrder() - Method in Constrained
getOrder() - Method in DomainClassArtefactHandler
getOrder() - Method in MicronautGroovyPropertySourceLoader
getOrder() - Method in TransactionManagerPostProcessor
getOtherProperties() - Method in GrailsDataSource
Other properties for this data source.
getOwner() - Method in Constrained
getPackageName() - Method in AbstractGrailsClass
getPackageName() - Method in GrailsClass
Returns the package name of the class.
getParentContext() - Method in AbstractGrailsApplication
getParentContext() - Method in GrailsApplication
Returns the Spring application context that contains this application instance.
getParentCtx() - Method in DefaultGrailsPlugin
getParsedXml() - Method in BinaryGrailsPluginDescriptor
@return The parsed descriptor
getPassword() - Method in GrailsDataSource
The password for the data source.
getPlugin() - Method in DefaultGrailsPlugin
getPluginClass() - Method in AbstractGrailsPlugin
getPluginClass() - Method in GrailsPlugin
Returns the underlying class that represents this plugin
getPluginClasses() - Method in CorePluginFinder
getPluginDir() - Method in DefaultGrailsPlugin
getPluginDir() - Method in PluginAstReader.BasicGrailsPluginInfo
getPluginExcludes() - Method in DefaultGrailsPlugin
getPluginExcludes() - Method in GrailsPlugin
A list of resources that the plugin should exclude from the packaged distribution
getPluginFilter(Config) - Method in PluginFilterRetriever
getPluginForClass(Class<?>) - Method in AbstractGrailsPluginManager
getPluginForClass(Class<?>) - Method in GrailsPluginManager
Obtains the GrailsPlugin for the given class
getPluginForInstance(Object) - Method in AbstractGrailsPluginManager
getPluginForInstance(Object) - Method in GrailsPluginManager
Looks up the plugin that defined the given instance.
getPluginList(List, List) - Method in BasePluginFilter
Defines an operation getting the final list to return from the original and derived lists
getPluginList(List, List) - Method in ExcludingPluginFilter
getPluginList(List, List) - Method in IncludingPluginFilter
getPluginManager(boolean) - Method in Holders
getPluginName() - Method in AbstractGrailsClass
getPluginName() - Method in ArtefactHandler
Obtains the plugin name that deals with this artefact.
getPluginName() - Method in ArtefactHandlerAdapter
getPluginName() - Method in ControllerArtefactHandler
getPluginName() - Method in DomainClassArtefactHandler
getPluginName() - Method in GrailsClass
@return The plugin where the artefact originates from
getPluginName() - Method in ServiceArtefactHandler
getPluginObservers(GrailsPlugin) - Method in DefaultGrailsPluginManager
getPluginObservers(GrailsPlugin) - Method in GrailsPluginManager
Retrieves a collection of plugins that are observing the specified plugin
getPluginObservers(GrailsPlugin) - Method in MockGrailsPluginManager
getPluginPath() - Method in AbstractGrailsPlugin
getPluginPath(String, boolean) - Method in AbstractGrailsPluginManager
getPluginPath() - Method in GrailsPlugin
Returns the path of the plug-in
getPluginPath(String, boolean) - Method in GrailsPluginManager
Returns the pluginContextPath for the given plugin and will force name to camel case instead of '-' lower case
getPluginPathCamelCase() - Method in AbstractGrailsPlugin
getPluginPathCamelCase() - Method in GrailsPlugin
Returns the path of the plug-in using camel case
getPluginPathForClass(Class<?>) - Method in AbstractGrailsPluginManager
getPluginPathForClass(Class<? extends Object>) - Method in GrailsPluginManager
Returns the plugin path for the given class
getPluginPathForInstance(Object) - Method in AbstractGrailsPluginManager
getPluginPathForInstance(Object) - Method in GrailsPluginManager
Returns the pluginContextPath for the given instance
getPluginResources() - Method in AbstractGrailsPluginManager
getPluginViewsPathForClass(Class<?>) - Method in AbstractGrailsPluginManager
getPluginViewsPathForClass(Class<? extends Object>) - Method in GrailsPluginManager
Returns the plugin views directory path for the given class
getPluginViewsPathForInstance(Object) - Method in AbstractGrailsPluginManager
getPluginViewsPathForInstance(Object) - Method in GrailsPluginManager
Returns the plugin views directory for the given instance
getProperties() - Method in DefaultGrailsPlugin
getProperties() - Method in GrailsPlaceholderConfigurer
getProperties() - Method in PluginAstReader.BasicGrailsPluginInfo
getProperties(String, Resource) - Method in ReloadableResourceBundleMessageSource
Get a PropertiesHolder for the given filename, either from the cache or freshly loaded.
getProperties() - Method in ReloadableResourceBundleMessageSource.PropertiesHolder
getPropertiesAssignableToType(Class<?>, Class<?>) - Method in GrailsClassUtils
Retrieves all the properties of the given class which are assignable to the given type
getPropertiesOfType(Class<?>, Class<?>) - Method in GrailsClassUtils
Retrieves all the properties of the given class for the given type
getProperty(String) - Method in CompositeConfig
getProperty(String, Class<T>, T, List<T>) - Method in Config
Return the property value associated with the given key, or defaultValue if the key cannot be resolved.
getProperty(String, String) - Method in ConfigProperties
getProperty(String) - Method in DefaultGrailsApplication
Override property access and hit on xxxxClasses to return class arrays of artefacts.
getProperty(String) - Method in EnvironmentAwarePropertySource
getProperty(String) - Method in ExtendedProxy
getProperty(Class<?>, String) - Method in GrailsClassUtils
Retrieves a property of the given class of the specified name and type
getProperty(String, Class<T>, T) - Method in NavigableMapConfig
getProperty(String) - Method in NavigableMapPropertySource
getProperty(String) - Method in PluginAstReader.BasicGrailsPluginInfo
getProperty(String, Class<T>, T, List<T>) - Method in PrefixedConfig
getProperty(String) - Method in PrefixedMapPropertySource
getProperty(String) - Method in ReloadableResourceBundleMessageSource.PropertiesHolder
getPropertyDescriptorForValue(Object, Object) - Method in GrailsClassUtils
Retrieves a PropertyDescriptor for the specified instance and property value
getPropertyDescriptors() - Method in AbstractGrailsClass
@deprecated Use getMetaProperties() instead
getPropertyForGetter(String, String) - Method in GrailsClassUtils
Returns a property name equivalent for the given getter name and return type or null if it is not a valid getter.
getPropertyForSetter(String) - Method in GrailsClassUtils
Returns a property name equivalent for the given setter name or null if it is not a valid setter.
getPropertyIfExists(Object, String, Class<T>) - Method in GrailsMetaClassUtils
Obtains a property of an instance if it exists
getPropertyName() - Method in AbstractGrailsClass
getPropertyName() - Method in DefaultGrailsDomainClass
getPropertyName() - Method in GrailsClass
Returns the name of the class as a property name.
getPropertyName() - Method in GrailsDomainClass
getPropertyNames() - Method in EnvironmentAwarePropertySource
getPropertyNames() - Method in NavigableMapPropertySource
getPropertyOrStaticPropertyOrFieldValue(String, Class<T>) - Method in AbstractGrailsClass
getPropertyOrStaticPropertyOrFieldValue(BeanWrapper, Object, String) - Method in GrailsClassUtils
getPropertySource() - Method in AbstractGrailsPlugin
getPropertySource() - Method in GrailsPlugin
getPropertySources() - Method in PropertySourcesConfig
getPropertyType(String) - Method in AbstractGrailsClass
getPropertyType() - Method in Constrained
@return Returns the propertyType.
getPropertyType(Class<?>, String) - Method in GrailsClassUtils
Returns the type of the given property contained within the specified class
getPropertyValue(String) - Method in AbstractGrailsClass
getPropertyValue(String, Class<T>) - Method in GrailsClass
Obtains a property value for the given name and type
getPropertyValueObject(String) - Method in AbstractGrailsClass
getPropertyValueOfNewInstance(Class<?>, String) - Method in GrailsClassUtils
Returns the value of the specified property and type from an instance of the specified Grails class
getProvidedArtefacts() - Method in DefaultGrailsPlugin
getProvidedArtefacts() - Method in GrailsPlugin
Retrieves an array of provided Artefacts that are pre-compiled additions to the GrailsApplication object but are overridable by the end-user
getProvidedlassNames() - Method in BinaryGrailsPluginDescriptor
@return The class names provided by the plugin
getProxiedClass(Object) - Method in EntityProxyHandler
Returns the proxied class without initializing the proxy
getProxyIdentifier(Object) - Method in EntityProxyHandler
This method returns the identifier of the proxy or null if the object is not a proxy
getRange() - Method in Constrained
@return Constrains the be within the range of given values
getReferenceInstance() - Method in AbstractGrailsClass
getReferenceInstance() - Method in GrailsClass
@return Sample (reference) instance for this Grails class
getRegistry() - Method in GrailsMetaClassUtils
Retrieves the MetaClassRegistry instance.
getRemainingParameterTypes(Parameter) - Method in GrailsASTUtils
Gets the remaining parameters excluding the first parameter in the given list
getRequiredProperty(String, Class<T>) - Method in CompositeConfig
getRequiredProperty(String, Class<T>) - Method in NavigableMapConfig
getRequiredProperty(String, Class<T>) - Method in PrefixedConfig
getResolver() - Method in DefaultGrailsPlugin
@return the resolver
getResource() - Method in AnnotationMetadataReader
getResource() - Method in BinaryGrailsPluginDescriptor
The resource the descriptor was parsed from
getResource(String) - Method in CommandLineResourceLoader
getResource(String) - Method in MockResourceLoader
getResource(String) - Method in MockStringResourceLoader
getResource(String) - Method in SimpleMapResourceLoader
getResource(String) - Method in StaticResourceLoader
getResourceByPath(String) - Method in PluginPathAwareFileSystemResourceLoader
getResourceForClass(Class) - Method in DefaultGrailsApplication
Retrieves the Spring Resource that was used to load the given Class.
getResourceForClass(Class) - Method in GrailsApplication
Retrieves a Resource instance for the given Grails class or null it doesn't exist.
getResources() - Method in SimpleMapResourceLoader
getResourcesDir() - Method in FileSystemInteraction
@return The directory where resources are processed to
getResourcesDir() - Method in FileSystemInteractionImpl
@return The directory where resources are processed to
getRootCause(Throwable) - Method in DefaultErrorsPrinter
Obtains the root cause of the given exception
getScale() - Method in Constrained
getScope() - Method in DefaultGrailsControllerClass
getScope() - Method in GrailsControllerClass
@return The scope of the controller, defaults to singleton
getServletContext() - Method in Holders
getSetterName(String) - Method in GrailsClassUtils
Retrieves the name of a setter for the specified property name
getShort(String, Integer) - Method in AbstractTypeConvertingMap
getShortName() - Method in AbstractGrailsClass
getShortName() - Method in GrailsClass
Returns the short name of the class without package prefix.
getSize() - Method in Constrained
getSourceUrl(ClassNode) - Method in GrailsASTUtils
getStaticFieldValue(Class<?>, String) - Method in GrailsClassUtils
getStaticImplementation() - Method in AbstractGrailsArtefactTransformer
The class that provides static methods
getStaticPropertyValue(String, Class<T>) - Method in AbstractGrailsClass
Get the value of the named static property.
getStaticPropertyValue(Class<?>, String) - Method in GrailsClassUtils
getSuppliedNames() - Method in BasePluginFilter
getTargetBeanDefinition(ConfigurableListableBeanFactory, String, BeanDefinition, Class) - Method in MapBasedSmartPropertyOverrideConfigurer
getTargetBeanDefinitionForFactoryBean(ConfigurableListableBeanFactory, String, BeanDefinition, Class<? extends FactoryBean>) - Method in MapBasedSmartPropertyOverrideConfigurer
getTaskCount() - Method in StopWatch
Return the number of tasks timed.
getTaskInfo() - Method in StopWatch
Return an array of the data for tasks performed.
getTaskName() - Method in StopWatch.TaskInfo
Return the name of this task.
getTimeMillis() - Method in StopWatch.TaskInfo
Return the time in milliseconds this task took.
getTimeSeconds() - Method in StopWatch.TaskInfo
Return the time in seconds this task took.
getTotalTimeMillis() - Method in StopWatch
Return the total time in milliseconds for all tasks.
getTotalTimeSeconds() - Method in StopWatch
Return the total time in seconds for all tasks.
getTrait() - Method in TraitInjector
getTransaction(TransactionDefinition) - Method in ChainedTransactionManager
getTransactionAttribute(Method, Class) - Method in GroovyAwareNamedTransactionAttributeSource
getTransactionManagerBeanNames(BeanDefinitionRegistry) - Method in ChainedTransactionManagerPostProcessor
getTransactionManagers() - Method in ChainedTransactionManager
getTransformedClassNames() - Method in AbstractGrailsArtefactTransformer
getType() - Method in ArtefactHandler
Implementations must return a name such as "Domain" to indicate the type of artefact they represent.
getType() - Method in ArtefactHandlerAdapter
getTypeFilters() - Method in AbstractGrailsPluginManager
getTypeFilters() - Method in DefaultGrailsPlugin
getTypeFilters() - Method in GrailsPlugin
Plugin can provide a list of Spring TypeFilters so that annotated components can be scanned into the ApplicationContext
getTypeFilters() - Method in GrailsPluginManager
Get all of the TypeFilter definitions defined by the plugins
getURI() - Method in GrailsResource
getURI() - Method in SpringResource
getURL() - Method in GrailsByteArrayResource
Overrides the default behaviour to generate a fake "file:" URL so that the resource can be used from a ServletContextResource.
getUrl() - Method in GrailsDataSource
The URL for the data source.
getURL() - Method in GrailsResource
getURL() - Method in SpringResource
getUsername() - Method in GrailsDataSource
The username for the data source.
getUserPlugins() - Method in DefaultGrailsPluginManager
getUserPlugins() - Method in GrailsPluginManager
Gets plugin installed by the user and not provided by the framework
getUserPlugins() - Method in MockGrailsPluginManager
getValidator() - Method in DefaultGrailsDomainClass
getValidator() - Method in GrailsDomainClass
Retreives the validator for this domain class
getValidBasenames(String) - Method in ReloadableResourceBundleMessageSource
getValue() - Method in CacheEntry
getValueWhileUpdating(Object) - Method in CacheEntry
getVersion() - Method in AbstractGrailsPlugin
getVersion() - Method in PluginAstReader.BasicGrailsPluginInfo
getWatchedResourcePatterns() - Method in AbstractGrailsPlugin
getWatchedResourcePatterns() - Method in DefaultGrailsPlugin
getWatchedResourcePatterns() - Method in GrailsPlugin
Resources that this plugin watches
getWatchedResources() - Method in DefaultGrailsPlugin
@return the watchedResources
getWatchPatterns(List<String>) - Method in WatchPatternParser
GlobalClassInjector - Interface in grails.compiler.ast
A marker interface that indicates that this injector applies to all classes in a project
GlobalClassInjectorAdapter - Class in grails.compiler.ast
Helper super class to ease the creation of AllArtefactClassInjector implementations
GlobalGrailsClassInjectorTransformation - Class in org.grails.compiler.injection
A global transformation that applies Grails' transformations to classes within a Grails project
GlobalImportTransformation - Class in org.grails.compiler.injection
@author Graeme Rocher
GORM - Field in GrailsDomainClass
The name of the default ORM implementation used to map the class
GRAILS_APP_DIR - Field in GrailsASTUtils
GRAILS_URL_MAPPINGS - Field in RuntimeSpringConfigUtilities
GrailsApp - Class in grails.boot
Extends the org.springframework.boot.SpringApplication with reloading behavior and other Grails features
GrailsApp.MicronautShutdownListener - Class in grails.boot
GrailsApp.MicronautShutdownListener(ApplicationContext) - Constructor in GrailsApp.MicronautShutdownListener
GrailsApp(ResourceLoader, Class<?>) - Constructor in GrailsApp
Create a new GrailsApp instance.
GrailsAppBuilder - Class in grails.boot
Fluent API for constructing GrailsApp instances.
GrailsApplication - Interface in grails.core
grailsApplication - Field in AbstractGrailsClass
grailsApplication - Field in AbstractGrailsPlugin
GrailsApplicationAware - Interface in grails.core.support
GrailsApplicationAwareBeanPostProcessor - Class in org.grails.spring.beans
Implementation of org.springframework.beans.factory.config.BeanPostProcessor that recognizes GrailsApplicationAware and injects and instance of GrailsApplication.
GrailsApplicationAwareBeanPostProcessor(GrailsApplication) - Constructor in GrailsApplicationAwareBeanPostProcessor
GrailsApplicationClass - Trait in grails.core
Marker interface for the GrailsApplicationClass
GrailsApplicationCommand - Trait in grails.dev.commands
GrailsApplicationDiscoveryStrategy - Interface in org.grails.core.support
Interface used for classes that discover the GrailsApplication and ApplicationContext instances
GrailsApplicationLifeCycle - Interface in grails.core
API which plugins implement to provide behavior in defined application lifecycle hooks.
GrailsApplicationLifeCycleAdapter - Class in grails.core
Adapter for the GrailsApplicationLifeCycle interface
GrailsApplicationPostProcessor - Class in grails.boot.config
A org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor that enhances any ApplicationContext with plugin manager capabilities
GrailsApplicationPostProcessor(GrailsApplicationLifeCycle, ApplicationContext, Class) - Constructor in GrailsApplicationPostProcessor
grailsApplicationPostProcessor() - Method in GrailsAutoConfiguration
@return A post processor that uses the GrailsPluginManager to configure the org.springframework.context.ApplicationContext
GrailsArrayUtils - Class in grails.util
Utility methods for working with Arrays
GrailsArtefactClassInjector - Interface in grails.compiler.ast
Interface specific to Grails artefacts that returns the artefact type.
GrailsASTUtils - Class in org.grails.compiler.injection
Helper methods for working with Groovy AST trees.
GrailsAutoConfiguration - Class in grails.boot.config
A base class for configurations that bootstrap a Grails application
GrailsAwareClassLoader - Class in org.grails.compiler.injection
A class loader that is aware of Groovy sources and injection operations.
GrailsAwareClassLoader(ClassLoader, CompilerConfiguration) - Constructor in GrailsAwareClassLoader
GrailsAwareInjectionOperation - Class in org.grails.compiler.injection
A Groovy compiler injection operation that uses a specified array of ClassInjector instances to attempt AST injection.
GrailsAwareInjectionOperation(ClassInjector) - Constructor in GrailsAwareInjectionOperation
GrailsByteArrayResource - Class in org.grails.core.io
Hacky version of the ByteArrayResource that implements the getURL() method, required for the resource to work with Spring's ServletContextResource.
GrailsByteArrayResource(byte[], String) - Constructor in GrailsByteArrayResource
GrailsClass - Interface in grails.core
Represents any class in a Grails application.
grailsClassImpl - Field in ArtefactHandlerAdapter
grailsClassType - Field in ArtefactHandlerAdapter
GrailsClassUtils - Class in grails.util
Utility methods for dealing with Grails class artifacts.
GrailsCompileStatic - Annotation Type in grails.compiler
@since 2.4
GrailsConfigurationAware - Interface in grails.core.support
Obtains the Grails ConfigObject via Spring.
GrailsConfigurationException - Class in org.grails.core.exceptions
@author Graeme Rocher
GrailsConfigurationException(Throwable) - Constructor in GrailsConfigurationException
GrailsContextNamespaceHandler - Class in org.grails.spring.context.annotation
Provides custom implementation of component-scan that ignores Groovy closures.
GrailsControllerClass - Interface in grails.core
Represents a controller class in Grails.
GrailsDataSource - Interface in grails.core
Represents a data source in Grails.
GrailsDomainClass - Interface in grails.core
Represents a persistable Grails domain class.
GrailsDomainClassInjector - Interface in grails.compiler.ast
Mainly just a marker interface for implementations that perform injection on domain classes.
GrailsDomainException - Class in org.grails.core.exceptions
Thrown when creation of the Grails domain from the Grails domain classes fails.
GrailsDomainException(Throwable) - Constructor in GrailsDomainException
GrailsException - Class in org.grails.core.exceptions
Base class for all Grails exceptions that are not recoverable.
GrailsException(Throwable) - Constructor in GrailsException
GrailsFactoriesLoader - Class in org.grails.core.io.support
General purpose factory loading mechanism for internal use within the framework.
GrailsMetaClassUtils - Class in grails.util
Provides utility methods for working with the Groovy MetaClass API.
GrailsPlaceholderConfigurer - Class in org.grails.spring.context.support
Uses Grails' ConfigObject for place holder values.
GrailsPlaceholderConfigurer() - Constructor in GrailsPlaceholderConfigurer
GrailsPlugin - Interface in grails.plugins
GrailsPluginApplication - Interface in grails.boot
A marker interface for applications that are also plugins
GrailsPluginManager - Interface in grails.plugins
GrailsResource - Class in org.grails.core.io
Bridges Grails and Spring resource APIs
GrailsResource(Resource) - Constructor in GrailsResource
GrailsRuntimeException - Class in org.grails.core.exceptions
Generic global runtime exception.
GrailsRuntimeException(Throwable) - Constructor in GrailsRuntimeException
GrailsServiceClass - Interface in grails.core
@author Steven Devijver
GrailsStringUtils - Class in grails.util
Extra methods for string manipulation
GrailsTransactionAttribute - Class in org.grails.transaction
Extended version of org.springframework.transaction.interceptor.RuleBasedTransactionAttribute that ensures all exception types are rolled back and allows inheritance of setRollbackOnly
GrailsTransactionAttribute(RuleBasedTransactionAttribute) - Constructor in GrailsTransactionAttribute
GrailsTypeChecked - Annotation Type in grails.compiler
@since 2.4
GrailsUrlMappingsClass - Interface in grails.core
Loads the UrlMappings.
GrailsUtil - Class in grails.util
Grails utility methods for command line and GUI applications.
GROOVY_OBJECT_CLASS_NODE - Field in MixinTransformation
GroovyAwareAspectJAwareAdvisorAutoProxyCreator - Class in org.grails.spring.aop.autoproxy
Enables AspectJ weaving from the application context.
GroovyAwareInfrastructureAdvisorAutoProxyCreator - Class in org.grails.spring.aop.autoproxy
Tells Spring always to proxy Groovy classes.
GroovyAwareNamedTransactionAttributeSource - Class in org.grails.transaction
@author Graeme Rocher
GroovyConfigPropertySourceLoader - Class in org.grails.core.cfg
Adds support for defining a 'application.groovy' file in ConfigSlurper format in order to configure Spring Boot within Grails
GroovyEclipseCompilationHelper - Class in org.grails.compiler.injection
GroovyPageInjector - Interface in grails.compiler.ast
Extended marker interface that indicates this ClassInjector applies to GSPs.

H

handle(ExecutionContext) - Method in ApplicationCommand
Handles the command
handle() - Method in GrailsApplicationCommand
handleExcludes(GPathResult) - Method in GlobalGrailsClassInjectorTransformation
handlerData - Field in DefaultArtefactInfo
hasAnnotation(MethodNode, Class<? extends Annotation>) - Method in GrailsASTUtils
Returns true if MethodNode is marked with annotationClass
hasAnyAnnotations(ClassNode, Class<? extends Annotation>) - Method in GrailsASTUtils
@param classNode a ClassNode to search
hasAppliedConstraint(String) - Method in Constrained
@param constraintName The name of the constraint to check
hasArtefactAnnotation(ClassNode) - Method in AbstractGrailsArtefactTransformer
hasArtefactHandler(String) - Method in DefaultGrailsApplication
hasArtefactHandler(String) - Method in GrailsApplication
hasArtefactType(String, GrailsArtefactClassInjector) - Method in ArtefactTypeAstTransformation
hasBeenEnhancedForFeature(Class<?>, String) - Method in GrailsClassUtils
Checks to see if a class is marked with @grails.artefact.Enhanced and if the enhancedFor attribute of the annotation contains a specific feature name
hasDeclaredMethod(ClassNode, MethodNode) - Method in MixinTransformation
hasExpired(long, Object) - Method in CacheEntry
hasGrailsPlugin(String) - Method in AbstractGrailsPluginManager
hasGrailsPlugin(String) - Method in GrailsPluginManager
@param name The name of the plugin
hasGrailsPlugin(String) - Method in MockGrailsPluginManager
hashCode() - Method in AbstractGrailsPlugin
hashCode() - Method in AbstractTypeConvertingMap
hashCode() - Method in LazyMetaPropertyMap
hashCode() - Method in NavigableMapConfig
hashCode() - Method in Pair
hashCode() - Method in PrefixedConfig
hashCode() - Method in Triple
hasInterestInChange(String) - Method in AbstractGrailsPlugin
hasInterestInChange(String) - Method in DefaultGrailsPlugin
hasInterestInChange(String) - Method in GrailsPlugin
Whether the plugin is interested in a particular change
hasJtaOrChainedTransactionManager(BeanDefinitionRegistry) - Method in ChainedTransactionManagerPostProcessor
hasMetaMethod(String, Object) - Method in AbstractGrailsClass
hasMetaProperty(String) - Method in AbstractGrailsClass
hasOrInheritsProperty(ClassNode, String) - Method in GrailsASTUtils
hasParameters(MethodNode) - Method in GrailsASTUtils
hasProperty(String) - Method in AbstractGrailsClass
hasProperty(ClassNode, String) - Method in GrailsASTUtils
Returns whether a classNode has the specified property or not
hasProperty(String) - Method in GrailsClass
Returns true if the class has the specified property.
hasZeroArgsConstructor(ClassNode) - Method in GrailsASTUtils
Holders - Class in grails.util
Allows looking up key classes in a static context
HotSwappableTargetSourceFactoryBean - Class in org.grails.spring.beans.factory
Creates a HotSwappableTargetSource
HttpServletRequestTypeCheckingExtension - Class in org.grails.compiler
@since 3.0.4
HyphenatedUrlConverter - Class in grails.web
URL converter that allows for hyphenated URLs

I

IdentityPluginFilter - Class in org.grails.plugins
No-op implementation of PluginFilter.
ignoredRootPackages() - Method in ClassPathScanner
@return The root packages to ignore by default
implementsOrInheritsZeroArgMethod(ClassNode, String, List) - Method in GrailsASTUtils
implementsZeroArgMethod(ClassNode, String) - Method in GrailsASTUtils
Tests whether the ClasNode implements the specified method name.
include(String) - Method in SettingsFile
IncludeExcludeSupport - Class in org.grails.core.util
Simple support class for simplifying include/exclude handling
IncludeExcludeSupport(List<T>, List<T>) - Constructor in IncludeExcludeSupport
includeFlat(String) - Method in SettingsFile
includes(List<T>, T) - Method in IncludeExcludeSupport
IncludingPluginFilter - Class in org.grails.plugins
Implementation of PluginFilter which ensures that only the supplied plugins (identified by name) as well as their dependencies are included in the filtered plugin list.
IncludingPluginFilter(String) - Constructor in IncludingPluginFilter
INDEX_ACTION - Field in GrailsControllerClass
The name of the index action.
informObservers(String, Map) - Method in DefaultGrailsPluginManager
informObservers(String, Map) - Method in GrailsPluginManager
inform the specified plugins observers of the event specified by the passed Map instance
informObservers(String, Map) - Method in MockGrailsPluginManager
informOfClassChange(File, Class) - Method in AbstractGrailsPluginManager
informOfClassChange(File, Class) - Method in GrailsPluginManager
informOfFileChange(File) - Method in AbstractGrailsPluginManager
informOfFileChange(File) - Method in GrailsPluginManager
Fire to inform the PluginManager that a particular file changes
informPluginsOfConfigChange() - Method in AbstractGrailsPluginManager
informPluginsOfConfigChange() - Method in GrailsPluginManager
Inform of a change in configuration
init() - Method in GrailsContextNamespaceHandler
init() - Method in NullPersistentContextInterceptor
init() - Method in PersistenceContextInterceptor
Called to intialisation the persistent context.
initArtefactHandlers() - Method in DefaultGrailsApplication
Initialises the default set of ArtefactHandler instances.
initialise() - Method in DefaultGrailsApplication
initialise() - Method in GrailsApplication
Initialise this GrailsApplication.
initialised - Field in AbstractGrailsPluginManager
initialised - Field in DefaultGrailsApplication
initialiseGroovyExtensionModules() - Method in DefaultGrailsApplication
initialize(ArtefactInfo) - Method in ArtefactHandler
initialize(ArtefactInfo) - Method in ArtefactHandlerAdapter
Sets up the relationships between the domain classes, this has to be done after the intial creation to avoid looping.
initialize() - Method in DefaultGrailsControllerClass
initialize(Object) - Method in DefaultProxyHandler
initialize() - Method in GrailsControllerClass
Initialize the controller class
initialize(Object) - Method in ProxyHandler
Initializes an existing uninitialized proxy instance.
initializeArtefacts(ArtefactHandler) - Method in DefaultGrailsApplication
Re-initialize the artefacts of the specified type.
initializeFromPropertySources(PropertySources) - Method in PropertySourcesConfig
initializeGrailsApplication(ApplicationContext) - Method in GrailsApplicationPostProcessor
initPersistenceContext(ApplicationContext) - Method in PersistenceContextInterceptorExecutor
InjectableGrailsClass - Interface in grails.core
Represents a Grails class that is to be configured in Spring and as such is injectable.
injectErrorsCode(ClassNode) - Method in ASTErrorsHelper
injectErrorsCode(ClassNode) - Method in ASTValidationErrorsHelper
injectTrait(CompilationUnit, SourceUnit, ClassNode, Class) - Method in TraitInjectionUtils
INSTALLED - Field in DevelopmentShutdownHook
INSTANCE - Field in CachingPathMatchingResourcePatternResolver
InstanceFactoryBean - Class in org.grails.spring.beans.factory
Simple singleton instance implementation of Spring's FactoryBean interface
InstanceFactoryBean(T) - Constructor in InstanceFactoryBean
instanceMethods - Field in BaseApiProvider
instantiateFromConfig(ConfigObject, String, String) - Method in GrailsClassUtils
instantiateFromFlatConfig(Map<String, Object>, String, String) - Method in GrailsClassUtils
int(String, Integer) - Method in TypeConvertingMap
INTEGER_CLASS_NODE - Field in GrailsASTUtils
into(def) - Method in FileSystemInteraction.CopySpec
InvalidPropertyException - Class in org.grails.core.exceptions
Thrown when a property of a Grails class is invalidated.
InvalidPropertyException(Throwable) - Constructor in InvalidPropertyException
invoke(Object, String) - Method in DefaultGrailsControllerClass
Invokes the controller action for the given name on the given controller instance
invoke(Object, String) - Method in GrailsControllerClass
Invokes a controller action on the given controller instance
invokeMethod(String, Object) - Method in ClosureToMapPopulator
invokeMethod(String, Object) - Method in DefaultGrailsApplication
invokeMethodIfExists(Object, String, Object) - Method in GrailsMetaClassUtils
Invokes a method if it exists otherwise returns null
isAbstract() - Method in AbstractGrailsClass
isAbstract() - Method in GrailsClass
Whether the class is abstract or not
isActionMethod(String) - Method in AbstractGrailsClass
isAddableMethod(MethodNode) - Method in MixinTransformation
isApplied(ClassNode) - Method in ArtefactTypeAstTransformation
isApplied(ASTNode, Class<?>) - Method in GrailsASTUtils
isArtefact(ClassNode) - Method in ApplicationArtefactHandler
isArtefact(Class) - Method in ArtefactHandler
isArtefact(Class) - Method in ArtefactHandlerAdapter
isArtefact(Class) - Method in DefaultGrailsApplication
Returns true if the given class is an artefact identified by one of the registered ArtefactHandler instances.
isArtefact(ClassNode) - Method in DomainClassArtefactHandler
isArtefact(Class) - Method in GrailsApplication
isArtefactAnnotationNode(AnnotationNode) - Method in ArtefactTypeAstTransformation
isArtefactClass(Class) - Method in AnnotationDomainClassArtefactHandler
isArtefactClass(Class) - Method in ApplicationArtefactHandler
isArtefactClass(Class) - Method in ArtefactHandlerAdapter
isArtefactClass(Class) - Method in DomainClassArtefactHandler
isArtefactGrailsClass(GrailsClass) - Method in ArtefactHandler
isArtefactGrailsClass(GrailsClass) - Method in ArtefactHandlerAdapter
isArtefactOfType(String, String) - Method in DefaultGrailsApplication
Returns true if the specified class name is of the given artefact type as defined by the ArtefactHandler.
isArtefactOfType(String, String) - Method in GrailsApplication
isArtefactResource(Resource) - Method in ArtefactHandlerAdapter
Subclasses can override to narrow down whether the given resource is an artefact of this type.
isArtefactResource(Resource) - Method in DomainClassArtefactHandler
isAssignableFrom(ClassNode, ClassNode) - Method in GrailsASTUtils
Determines if the class or interface represented by the superClass argument is either the same as, or is a superclass or superinterface of, the class or interface represented by the specified subClass parameter.
isAssignableOrConvertibleFrom(Class<?>, Class<?>) - Method in GrailsClassUtils
Returns true if the specified clazz parameter is either the same as, or is a superclass or superinterface of, the specified type parameter.
isAutowire() - Method in DefaultGrailsDomainClass
isAutowire() - Method in GrailsDomainClass
@return Whether to autowire
isAvailable() - Method in JavaCompiler
isBase - Field in AbstractGrailsPlugin
isBasePlugin() - Method in AbstractGrailsPlugin
isBasePlugin() - Method in GrailsPlugin
Returns whether this plugin is loaded from the current plugin.
isBlank() - Method in Constrained
isBlank(String) - Method in GrailsStringUtils
Same as StringUtils#isEmpty(java.lang.Object) but trims the string for surrounding whitespace
isCandidateInstanceMethod(ClassNode, MethodNode) - Method in AbstractGrailsArtefactTransformer
isCandidateInstanceMethod(ClassNode, MethodNode) - Method in GrailsASTUtils
isCandidateMethod(MethodNode) - Method in GrailsASTUtils
isCandidateMethod(MethodNode) - Method in MixinTransformation
ISCLASS_PATTERN - Field in DefaultGrailsApplication
isClassBelowPackage(Class<?>, List<?>) - Method in GrailsClassUtils
Returns whether the specified class is either within one of the specified packages or within a subpackage of one of the packages
isConstructorMethod(MethodNode) - Method in GrailsASTUtils
isCreditCard() - Method in Constrained
isCriteriaCall(MethodCall) - Method in CriteriaTypeCheckingExtension
isDependentOn(GrailsPlugin, String) - Method in BasePluginFilter
Checks whether a plugin is dependent on another plugin with the specified name
isDevelopmentEnv() - Method in GrailsUtil
Retrieves whether the current execution environment is the development one.
isDevelopmentModeActive() - Method in GrailsApp
isDisplay() - Method in Constrained
isDomainClass(Class<?>) - Method in DomainClassArtefactHandler
isDomainClass(ClassNode, SourceUnit) - Method in GrailsASTUtils
isEditable() - Method in Constrained
isEmail() - Method in Constrained
isEmpty() - Method in AbstractTypeConvertingMap
isEmpty() - Method in CompositeConfig
isEmpty() - Method in LazyBeanMap
isEmpty() - Method in LazyMetaPropertyMap
{@inheritDoc}
isEmpty() - Method in NavigableMapConfig
isEmpty() - Method in PrefixedConfig
isEnabled(String) - Method in AbstractGrailsPlugin
isEnabled() - Method in DefaultGrailsPlugin
isEnabled(String) - Method in GrailsPlugin
Check whether the plugin is enabled for the given profile
isExcluded(Resource) - Method in ClassPathScanner
Whether the given resource is excluded
isExcludedFromDependencyCheck(PropertyDescriptor) - Method in OptimizedAutowireCapableBeanFactory
isGetter(String, Class, Class<?>) - Method in GrailsClassUtils
Returns true if the name of the method specified and the number of arguments make it a javabean property getter.
isGetterMethod(MethodNode) - Method in GrailsASTUtils
isGroovyAssignableFrom(Class<?>, Class<?>) - Method in GrailsClassUtils
isInheritedFromTrait(MethodNode) - Method in GrailsASTUtils
isInheritRollbackOnly() - Method in GrailsTransactionAttribute
isInitialised() - Method in AbstractGrailsPluginManager
@return the initialised
isInitialised() - Method in DefaultGrailsApplication
isInitialised() - Method in GrailsApplication
Returns whether this GrailsApplication has been initialised or not.
isInitialised() - Method in GrailsPluginManager
@return the initialised
isInitialised() - Method in MockGrailsPluginManager
isInitialized() - Method in CacheEntry
isInitialized(Object, String) - Method in DefaultProxyHandler
isInitialized(Object, String) - Method in ProxyHandler
Tests whether an association of the given object has been initialized.
isInnerClassNode(ClassNode) - Method in GrailsASTUtils
Whether the given class node is an inner class
isJPADomainClass(Class<?>) - Method in AnnotationDomainClassArtefactHandler
isLoggingSql() - Method in GrailsDataSource
Whether SQL logging is enabled
isMatch(String, String) - Method in GroovyAwareNamedTransactionAttributeSource
isMatchBetweenPrimativeAndWrapperTypes(Class, Class) - Method in GrailsClassUtils
Detect if left and right types are matching types.
isNoNullCheck() - Method in ApiDelegateTransformation
isNotBlank(String) - Method in GrailsStringUtils
isNotEmpty(String) - Method in GrailsStringUtils
isNotTransactional(String) - Method in ChainedTransactionManagerPostProcessor
isNullable() - Method in Constrained
isOpen() - Method in GrailsResource
isOpen() - Method in NullPersistentContextInterceptor
isOpen() - Method in PersistenceContextInterceptor
Checks whether the persistence context is open.
isOwningClass(Class) - Method in DefaultGrailsDomainClass
isOwningClass(Class) - Method in GrailsDomainClass
@param domainClass
isPassword() - Method in Constrained
isPluginDisabledForProfile(GrailsPlugin) - Method in AbstractGrailsPluginManager
isPooled() - Method in GrailsDataSource
True is connection pooling is enabled.
isPropertyGetter(Method) - Method in GrailsClassUtils
Check whether the specified method is a property getter
isPropertyInherited(Class, String) - Method in GrailsClassUtils
Checks whether the specified property is inherited from a super class
isPropertyOfType(Class<?>, String, Class<?>) - Method in GrailsClassUtils
Returns true if the specified property in the specified class is of the specified type
isProxy(Object) - Method in DefaultProxyHandler
isProxy(Object) - Method in ProxyHandler
Returns true if the specified object is a proxy.
isPublicField(Object, String) - Method in GrailsClassUtils
Work out if the specified object has a public field with the name supplied.
isPublicStatic(Field) - Method in GrailsClassUtils
Determine whether the field is declared public static
isReadable() - Method in GrailsResource
isReadable() - Method in SpringResource
isReadableProperty(String) - Method in AbstractGrailsClass
isRunning() - Method in StopWatch
Return whether the stop watch is currently running.
isSetter(String, Class) - Method in GrailsClassUtils
Returns true if the name of the method specified and the number of arguments make it a javabean property setter.
isSetterMethod(MethodNode) - Method in GrailsASTUtils
isSetterOrGetterMethod(MethodNode) - Method in GrailsASTUtils
isShutdown() - Method in AbstractGrailsPluginManager
isShutdown() - Method in GrailsPluginManager
Indicates whether the manager has been shutdown or not
isSingleton() - Method in DefaultGrailsControllerClass
isSingleton() - Method in GrailsControllerClass
@return Whether the scope is singleton
isSingleton() - Method in HotSwappableTargetSourceFactoryBean
isSingleton() - Method in InstanceFactoryBean
isStaticCandidateMethod(ClassNode, MethodNode) - Method in AbstractGrailsArtefactTransformer
isStaticMethodExcluded(ClassNode, MethodNode) - Method in AbstractGrailsArtefactTransformer
isStaticMethodIncluded(ClassNode, MethodNode) - Method in AbstractGrailsArtefactTransformer
isStaticProperty(Class, String) - Method in GrailsClassUtils
isSubclassOf(ClassNode, String) - Method in GrailsASTUtils
Returns true if the given class name is a parent class of the given class
isSubclassOfOrImplementsInterface(ClassNode, String) - Method in GrailsASTUtils
isTrait(ClassNode) - Method in EnhancesTraitTransformation
isTransactional() - Method in DefaultGrailsServiceClass
isTransactional() - Method in GrailsServiceClass
Service should be configured with transaction demarcation.
isUrl() - Method in Constrained
isUseCompileStatic() - Method in ApiDelegateTransformation
isValidArtefactClassNode(ClassNode, int) - Method in ArtefactHandlerAdapter
isValidArtefactClassNode(ClassNode, int) - Method in DomainClassArtefactHandler
isValidArtefactType() - Method in AbstractGrailsArtefactTransformer
isValidTargetClassNode(ClassNode) - Method in AbstractGrailsArtefactTransformer
isValidTransactionManagerBeanDefinition(String, BeanDefinition) - Method in ChainedTransactionManagerPostProcessor
isVisible(Class<?>, ClassLoader) - Method in GrailsClassUtils
Check whether the given class is visible in the given ClassLoader.
isWarDeployed() - Method in AbstractGrailsApplication
isWarDeployed() - Method in GrailsApplication
Returns true if this application has been deployed as a WAR file
isWhereQueryCall(MethodCall) - Method in WhereQueryTypeCheckingExtension
iterator() - Method in CompositeConfig
iterator() - Method in NavigableMapConfig
iterator() - Method in PrefixedConfig

J

JavaCompiler - Class in org.grails.boot.internal
Helper for recompiling Java code at runtime

K

keys() - Method in ConfigProperties
keySet() - Method in AbstractTypeConvertingMap
keySet() - Method in CompositeConfig
keySet() - Method in ConfigProperties
keySet() - Method in LazyBeanMap
keySet() - Method in LazyMetaPropertyMap
keySet() - Method in NavigableMapConfig
keySet() - Method in PrefixedConfig

L

lastModified() - Method in GrailsResource
lastModified() - Method in SpringResource
LazyBeanMap - Class in grails.beans.util
LazyBeanMap(Object) - Constructor in LazyBeanMap
Creates a bean map
LazyMetaPropertyMap - Class in grails.beans.util
A map implementation that reads an objects properties lazily using Groovy's MetaClass.
LazyMetaPropertyMap(Object) - Constructor in LazyMetaPropertyMap
Constructs the map
limitScanningToApplication() - Method in GrailsAutoConfiguration
Whether classpath scanning should be limited to the application and not dependent JAR files.
list(String) - Method in AbstractTypeConvertingMap
load(String, Resource, List<String>) - Method in GroovyConfigPropertySourceLoader
loadApplicationConfig() - Method in GrailsApplicationPostProcessor
loadCorePlugins - Field in AbstractGrailsPluginManager
loadedClasses - Field in DefaultGrailsApplication
loadExternalSpringConfig(RuntimeSpringConfiguration, GrailsApplication) - Method in RuntimeSpringConfigUtilities
Loads any external Spring configuration into the given RuntimeSpringConfiguration object.
loadFactories(Class<T>, ClassLoader) - Method in GrailsFactoriesLoader
Load the factory implementations of the given type from the default location, using the given class loader.
loadFactoriesWithArguments(Class<T>, ClassLoader, Object) - Method in GrailsFactoriesLoader
loadFactory(Class<T>, ClassLoader, Object) - Method in GrailsFactoriesLoader
loadFactoryClasses(Class<T>, ClassLoader) - Method in GrailsFactoriesLoader
loadPlugins() - Method in DefaultGrailsPluginManager
loadPlugins() - Method in GrailsPluginManager
Performs the initial load of plug-ins throwing an exception if any dependencies don't resolve
loadPlugins() - Method in MockGrailsPluginManager
loadPlugins() - Method in PluginManagerLoader
Load the available plugins
loadPlugins() - Method in ProfilingGrailsPluginManager
loadProperties(Properties) - Method in GrailsPlaceholderConfigurer
loadProperties(Resource, String) - Method in ReloadableResourceBundleMessageSource
Load the properties from the given resource.
loadSpringGroovyResources(RuntimeSpringConfiguration, GrailsApplication) - Method in RuntimeSpringConfigUtilities
loadSpringGroovyResourcesIntoContext(RuntimeSpringConfiguration, GrailsApplication, GenericApplicationContext) - Method in RuntimeSpringConfigUtilities
locateResource(String) - Method in ReloadableResourceBundleMessageSource
locateResourceWithoutCache(String) - Method in ReloadableResourceBundleMessageSource
log - Field in DefaultGrailsApplication
LOG - Field in DefaultGrailsPlugin
LOG - Field in NavigableMapConfig
LOGICAL_AND_OPERATOR - Field in GrailsASTUtils
long(String, Long) - Method in TypeConvertingMap

M

makeDynamicGormCall(MethodCall, ClassNode, ClassNode) - Method in DynamicFinderTypeCheckingExtension
manager - Field in AbstractGrailsPlugin
MapBasedSmartPropertyOverrideConfigurer - Class in org.grails.spring.context.support
Applies property configuration from a Map with bean names as keys and bean properties as name/value Maps (i.e.
mappingContext - Field in DefaultGrailsApplication
mapsToURI(String) - Method in DefaultGrailsControllerClass
mapsToURI(String) - Method in GrailsControllerClass
Tests if a controller maps to a given URI.
markApplied(ClassNode) - Method in ArtefactTypeAstTransformation
markApplied(ASTNode, Class<?>) - Method in GrailsASTUtils
matchesPath(String) - Method in WatchPattern
Whether the given path matches this watch pattern
merge(Map<String, Object>) - Method in CompositeConfig
merge(Map<String, Object>) - Method in Config
Merge another config and return this config
merge(Map<String, Object>) - Method in NavigableMapConfig
merge(Map<String, Object>) - Method in PrefixedConfig
mergeBinaryPluginProperties(Locale, Properties) - Method in PluginAwareResourceBundleMessageSource
MESSAGE_SOURCE_BEAN - Field in GrailsApplication
MetaClassChangeReporter - Class in org.grails.core.support.internal.tools
Simple class that reports when meta class changes and where (in what stack frame) those changes took place
METHOD_MISSING_METHOD_NAME - Field in AbstractGrailsArtefactTransformer
METHOD_MISSING_METHOD_NAME - Field in GrailsASTUtils
methodMissing(String, def) - Method in SettingsFile
MicronautGroovyPropertySourceLoader - Class in org.grails.core.cfg
Loads properties from a Groovy script.
MISSING_METHOD_EXCEPTION - Field in GrailsASTUtils
Mixin - Annotation Type in grails.util
@author Graeme Rocher
mixins - Field in Enhanced
@default {}
MixinTargetAware - Interface in grails.util
An interface for mixins to implement that want to be made aware of the target object
MixinTransformation - Class in org.grails.compiler.injection
The logic for the Mixin location transform.
mkdir(def) - Method in FileSystemInteraction
Makes a directory
mkdir(def) - Method in FileSystemInteractionImpl
Makes a directory
MockFileResource - Class in org.grails.core.io
Mocks the behavior of a FileResource.
MockFileResource(String, String, String) - Constructor in MockFileResource
MockGrailsPluginManager - Class in org.grails.plugins
@author Graeme Rocher
MockGrailsPluginManager() - Constructor in MockGrailsPluginManager
MockResourceLoader - Class in org.grails.core.io
Loads from the file system if its not found on the classpath.
MockStringResourceLoader - Class in org.grails.core.io
Loads Resources from Strings that are registered as Mock resources.
MULTIPART_RESOLVER_BEAN - Field in GrailsApplication

N

NamedArtefactTypeAstTransformation - Class in org.grails.compiler.injection
An AST transform used to apply a named artefact type
NamedArtefactTypeAstTransformation(String) - Constructor in NamedArtefactTypeAstTransformation
NamedQueryTypeCheckingExtension - Class in org.grails.compiler
@since 3.3
nameMap - Field in BasePluginFilter
Holds a name to GrailsPlugin map (String, Plugin).
NAMESPACE_PROPERTY - Field in GrailsControllerClass
The name of the namespace property
NavigableMapConfig - Class in org.grails.config
A Config implementation that operates against a org.grails.config.NavigableMap
NavigableMapConfig.ClassConversionException - Class in org.grails.config
NavigableMapConfig.ClassConversionException(String, Class<?>, Exception) - Constructor in NavigableMapConfig.ClassConversionException
NavigableMapPropertySource - Class in org.grails.config
A org.springframework.core.env.PropertySource that doesn't return values for navigable submaps
NavigableMapPropertySource(String, NavigableMap) - Constructor in NavigableMapPropertySource
navigate(String) - Method in CompositeConfig
navigate(String) - Method in NavigableMapConfig
navigate(String) - Method in PrefixedConfig
newArtefactClass(Class) - Method in ArtefactHandler
newArtefactClass(Class) - Method in ArtefactHandlerAdapter
newArtefactClass(Class, MappingContext) - Method in DomainClassArtefactHandler
newInstance() - Method in AbstractGrailsClass
newInstance() - Method in GrailsClass
Creates a new instance of this class.
NewInstanceCreationException - Class in org.grails.core.exceptions
Occurs when the creation of a new instance fails.
NewInstanceCreationException(Throwable) - Constructor in NewInstanceCreationException
newMicronautContextBuilder() - Method in GrailsApp
noImplicitThis(MethodCallExpression) - Method in GrailsASTUtils
nonGeneric(ClassNode, ClassNode) - Method in GrailsASTUtils
NOT_EQUALS_OPERATOR - Field in GrailsASTUtils
notifyOfEvent(int, Object) - Method in DefaultGrailsPlugin
notifyOfEvent(int, Object) - Method in GrailsPlugin
Notifies the plugin of a specific event for the given event id, which is one of ON_CHANGE, ON_CONFIG_CHANGE
NULL_EXPRESSION - Field in GrailsASTUtils
NULL_RESOURCE - Field in DefaultResourceLocator
NullPersistentContextInterceptor - Class in grails.persistence.support
A dummy persistence context interceptor that does nothing.

O

OBJECT_CLASS - Field in AbstractGrailsArtefactTransformer
OBJECT_CLASS - Field in GrailsASTUtils
OBJECT_CLASS - Field in MixinTransformation
OBJECT_CLASS_NODE - Field in GrailsASTUtils
OBSERVE - Field in GrailsPlugin
The field that represents the plugin names that this plugin is observing for changes.
ON_CHANGE - Field in GrailsPlugin
Defines the name of the property that defines the closure that will be invoked when a watched resource changes
ON_CONFIG_CHANGE - Field in GrailsPlugin
Defines the name of the property that defines the closure that will be invoked when a the Grails configuration object changes
ON_SHUTDOWN - Field in GrailsPlugin
Defines the name of the property that holds a closure to be invoked when shutdown is called
onApplicationEvent(ApplicationEvent) - Method in AbstractGrailsApplication
onApplicationEvent(ContextRefreshedEvent) - Method in BeanCreationProfilingPostProcessor
onApplicationEvent(ShutdownEvent) - Method in CoreConfiguration
onApplicationEvent(ContextStoppedEvent) - Method in GrailsApp.MicronautShutdownListener
onApplicationEvent(ApplicationContextEvent) - Method in GrailsApplicationPostProcessor
onChange(Map<String, Object>) - Method in CoreGrailsPlugin
onChange(Map<String, Object>) - Method in Plugin
Invoked when a object this plugin is watching changes
onConfigChange(Map<String, Object>) - Method in GrailsApplicationLifeCycle
Invoked when the application configuration changes
onConfigChange(Map<String, Object>) - Method in GrailsApplicationLifeCycleAdapter
onConfigChange(Map<String, Object>) - Method in GrailsAutoConfiguration
onConfigChange(Map<String, Object>) - Method in Plugin
Invoked when the application configuration changes
onShutdown(Map<String, Object>) - Method in GrailsApplicationLifeCycle
Invoked when the org.springframework.context.ApplicationContext is closed
onShutdown(Map<String, Object>) - Method in GrailsApplicationLifeCycleAdapter
onShutdown(Map<String, Object>) - Method in GrailsAutoConfiguration
onShutdown(Map<String, Object>) - Method in Plugin
Invoked when the org.springframework.context.ApplicationContext is closed
onStartup(Map<String, Object>) - Method in AbstractGrailsPluginManager
onStartup(Map<String, Object>) - Method in GrailsApplicationLifeCycle
onStartup(Map<String, Object>) - Method in GrailsApplicationLifeCycleAdapter
onStartup(Map<String, Object>) - Method in GrailsAutoConfiguration
onStartup(Map<String, Object>) - Method in GrailsPluginManager
Executes the Plugin.onStartup hook for all plugins
onStartup(Map<String, Object>) - Method in Plugin
OPEN_SESSION_IN_VIEW_INTERCEPTOR_BEAN - Field in GrailsApplication
OptimizedAutowireCapableBeanFactory - Class in org.grails.spring.beans.factory
Applies autowiring performance optimizations to Spring
OptimizedAutowireCapableBeanFactory() - Constructor in OptimizedAutowireCapableBeanFactory
Default constructor.
ORM_MAPPING - Field in GrailsDomainClass

P

packageNames() - Method in GrailsAutoConfiguration
Returns:
The package names to scan.
packages() - Method in GrailsAutoConfiguration
@return The packages to scan
PackagingException - Class in org.grails.core.io.watch
Exception thrown when there was an error in the packing process of an application.
PackagingException(String, Throwable) - Constructor in PackagingException
Pair - Class in grails.util
Pair(A, B) - Constructor in Pair
parametersEqual(Parameter, Parameter) - Method in GrailsASTUtils
@return true if the two arrays are of the same size and have the same contents
PARENT_APPLICATION_CONTEXT - Field in ApplicationAttributes
ParentApplicationContextAware - Interface in grails.core.support
Allows objects to be aware of the Grails parent application context.
parentContext - Field in AbstractGrailsApplication
patchMatchingResolver - Field in DefaultResourceLocator
performGrailsInitializationSequence() - Method in GrailsApplicationPostProcessor
performInjection(SourceUnit, ClassNode) - Method in AbstractGrailsArtefactTransformer
performInjection(SourceUnit, ClassNode) - Method in ApplicationClassInjector
performInjection(SourceUnit, ClassNode, Collection<ClassInjector>) - Method in ArtefactTypeAstTransformation
performInjection(SourceUnit, ClassNode) - Method in ClassInjector
Handles injection of properties, methods etc. into a class.
performInjection(SourceUnit, ClassNode) - Method in DefaultGrailsDomainClassInjector
performInjection(SourceUnit, ClassNode) - Method in GlobalClassInjectorAdapter
performInjectionInternal(String, SourceUnit, ClassNode) - Method in AbstractGrailsArtefactTransformer
Subclasses can override to provide additional transformation
performInjectionInternal(SourceUnit, ClassNode) - Method in GlobalClassInjectorAdapter
performInjectionOnAnnotatedClass(SourceUnit, GeneratorContext, ClassNode) - Method in AbstractGrailsArtefactTransformer
performInjectionOnAnnotatedClass(SourceUnit, GeneratorContext, ClassNode) - Method in AnnotatedClassInjector
Performs injection on an annotated entity
performInjectionOnAnnotatedClass(SourceUnit, ClassNode) - Method in ApplicationClassInjector
performInjectionOnAnnotatedClass(SourceUnit, ClassNode) - Method in ClassInjector
Handles injection of properties, methods etc. into a class.
performInjectionOnAnnotatedClass(SourceUnit, ClassNode) - Method in DefaultGrailsDomainClassInjector
performInjectionOnAnnotatedClass(SourceUnit, ClassNode) - Method in GlobalClassInjectorAdapter
performInjectionOnAnnotatedEntity(ClassNode) - Method in DefaultGrailsDomainClassInjector
performInjectionOnAnnotatedEntity(ClassNode) - Method in GrailsDomainClassInjector
Doesn't check with the specified ClassNode is a valid entity and assumes it is and proceeds with the injection regardless.
performInjectionOnArtefactType(SourceUnit, ClassNode, String) - Method in AbstractArtefactTypeAstTransformation
performInjectionOnArtefactType(SourceUnit, ClassNode, String) - Method in ArtefactTypeAstTransformation
performInstanceImplementationInjection(SourceUnit, ClassNode, Map<String, ClassNode>, Class) - Method in AbstractGrailsArtefactTransformer
performStaticImplementationInjection(ClassNode, Map<String, ClassNode>, Class) - Method in AbstractGrailsArtefactTransformer
performTraitInjectionOnArtefactType(SourceUnit, ClassNode, String) - Method in ArtefactTypeAstTransformation
PersistenceContextInterceptor - Interface in grails.persistence.support
Sets up the persistent context before and after a Grails operation is invoked.
PersistenceContextInterceptorExecutor - Class in grails.persistence.support
Executes persistence context interceptors phases.
PersistenceContextInterceptorExecutor(Collection<PersistenceContextInterceptor>) - Constructor in PersistenceContextInterceptorExecutor
PersistenceMethod - Annotation Type in grails.persistence
A marker annotation for methods added to a class that are for persistence purposes
Plugin - Class in grails.plugins
Super class for plugins to implement.
PLUGIN_EXCLUDES - Field in GrailsPlugin
The field that represents the list of resources to exclude from plugin packaging
PLUGIN_GROOVY - Field in AbstractGrailsPlugin
PLUGIN_GROOVY_PATH - Field in AbstractGrailsPlugin
PLUGIN_LOAD_AFTER_NAMES - Field in GrailsPlugin
The name of the property that provides a list of plugins this plugin should after before
PLUGIN_LOAD_BEFORE_NAMES - Field in GrailsPlugin
The name of the property that provides a list of plugins this plugin should load before
PLUGIN_MANAGER - Field in ApplicationAttributes
PLUGIN_NAME - Field in ControllerArtefactHandler
PLUGIN_NAME - Field in DomainClassArtefactHandler
PLUGIN_NAME - Field in ServiceArtefactHandler
PLUGIN_YML - Field in AbstractGrailsPlugin
PLUGIN_YML_PATH - Field in AbstractGrailsPlugin
PluginAstReader.BasicGrailsPluginInfo - Class in org.grails.compiler.injection
Simple Javabean implementation of the GrailsPluginInfo interface.
PluginAstReader.BasicGrailsPluginInfo() - Constructor in PluginAstReader.BasicGrailsPluginInfo
PluginAwareResourceBundleMessageSource - Class in org.grails.spring.context.support
A ReloadableResourceBundleMessageSource that is capable of loading message sources from plugins.
PluginAwareResourceBundleMessageSource(GrailsApplication, GrailsPluginManager) - Constructor in PluginAwareResourceBundleMessageSource
pluginBaseNames - Field in PluginAwareResourceBundleMessageSource
pluginBean - Field in DefaultGrailsPlugin
pluginClass - Field in AbstractGrailsPlugin
pluginClasses - Field in AbstractGrailsPluginManager
PluginFilter - Interface in grails.plugins
Defines interface for obtaining a sublist of GrailsPlugin instances based on an original supplied list of GrailsPlugin instances.
PluginFilterRetriever - Class in org.grails.plugins
Implements mechanism for figuring out what PluginFilter implementation to use based on a set of provided configuration properties.
pluginList - Field in AbstractGrailsPluginManager
pluginManager - Field in DefaultResourceLocator
pluginManager - Field in GrailsApplicationPostProcessor
pluginManager - Field in PluginAwareResourceBundleMessageSource
PluginManagerAware - Interface in grails.plugins
For implementors interested in obtaining a reference to the Grails PluginManager instance.
PluginManagerAwareBeanPostProcessor - Class in org.grails.spring.beans
Auto-injects beans that implement PluginManagerAware.
PluginManagerAwareBeanPostProcessor(GrailsPluginManager) - Constructor in PluginManagerAwareBeanPostProcessor
PluginManagerLoader - Interface in grails.plugins
Interface for a class that loads plugins
PluginPathAwareFileSystemResourceLoader - Class in org.grails.core.io
FileSystemResourceLoader capable of understanding paths to plugins via the ResourceLocator interface
pluginResources - Field in AbstractGrailsPluginManager
plugins - Field in AbstractGrailsPluginManager
PLUGINS_PATH - Field in GrailsPlugin
The prefix used in plug-ins paths
populate(Closure) - Method in ClosureToMapPopulator
populateAllClasses() - Method in DefaultGrailsApplication
populateAutowiredApiLookupMethod(ClassNode, ClassNode, String, String, BlockStatement) - Method in AbstractGrailsArtefactTransformer
populateBeanInAutowireByName(Object) - Method in OptimizedAutowireCapableBeanFactory
populateDefaultApiLookupMethod(ClassNode, String, String, BlockStatement) - Method in AbstractGrailsArtefactTransformer
postProcess(SourceUnit, AnnotationNode, ClassNode, String) - Method in ArtefactTypeAstTransformation
postProcessAfterInitialization(Object, String) - Method in BeanCreationProfilingPostProcessor
postProcessAfterInitialization(Object, String) - Method in BeanPostProcessorAdapter
@param bean
postProcessAfterInitialization(Object, String) - Method in ProfilingGrailsApplicationPostProcessor
postProcessAfterInstantiation(Object, String) - Method in BeanCreationProfilingPostProcessor
postProcessAfterInstantiation(Object, String) - Method in TransactionManagerPostProcessor
Injects the platform transaction manager into the given bean if that bean implements the TransactionManagerAware interface.
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in ChainedTransactionManagerPostProcessor
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in GrailsApplicationPostProcessor
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in ChainedTransactionManagerPostProcessor
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in GrailsApplicationPostProcessor
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in MapBasedSmartPropertyOverrideConfigurer
postProcessBeforeInitialization(Object, String) - Method in BeanCreationProfilingPostProcessor
postProcessBeforeInitialization(Object, String) - Method in BeanPostProcessorAdapter
@param bean
postProcessBeforeInitialization(Object, String) - Method in ClassLoaderAwareBeanPostProcessor
postProcessBeforeInitialization(Object, String) - Method in GrailsApplicationAwareBeanPostProcessor
postProcessBeforeInitialization(Object, String) - Method in PluginManagerAwareBeanPostProcessor
postProcessBeforeInitialization(Object, String) - Method in ProfilingGrailsApplicationPostProcessor
postProcessBeforeInstantiation(Class<?>, String) - Method in BeanCreationProfilingPostProcessor
postProcessPropertyValues(PropertyValues, PropertyDescriptor, Object, String) - Method in BeanCreationProfilingPostProcessor
prefix - Field in PrefixedConfig
PrefixedConfig - Class in org.grails.config
A config that accepts a prefix
PrefixedConfig(String, Config) - Constructor in PrefixedConfig
PrefixedMapPropertySource - Class in org.grails.config
A org.springframework.core.env.PropertySource with keys prefixed by the given prefix
PrefixedMapPropertySource(String, EnumerablePropertySource) - Constructor in PrefixedMapPropertySource
prefixTokens - Field in PrefixedConfig
prettyPrint() - Method in StopWatch
Return a string with a table describing all tasks performed.
prettyPrintCodeSnippet(Throwable) - Method in DefaultErrorsPrinter
PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Field in GrailsClassUtils
printRunStatus(ConfigurableApplicationContext) - Method in GrailsApp
printSanitizedStackTrace(Throwable) - Method in GrailsUtil
PRIVATE_STATIC_MODIFIER - Field in ClassInjector
processAwareInterfaces(GrailsApplication, Object) - Method in GrailsApplicationAwareBeanPostProcessor
processInput(String, InputStream, Map<String, Object>) - Method in MicronautGroovyPropertySourceLoader
processTraitsForNode(SourceUnit, ClassNode, String, CompilationUnit) - Method in TraitInjectionUtils
processVariableScopes(SourceUnit, ClassNode, MethodNode) - Method in GrailsASTUtils
PROFILES - Field in GrailsPlugin
The profiles for which this plugin is active
ProfilingGrailsApplicationPostProcessor - Class in grails.boot.config.tools
Profiles bean creation outputting data to the console
ProfilingGrailsApplicationPostProcessor(GrailsApplicationLifeCycle, ApplicationContext, Class) - Constructor in ProfilingGrailsApplicationPostProcessor
ProfilingGrailsPluginManager - Class in org.grails.plugins
A GrailsPluginManager implementation that outputs profile data to a logger.
ProfilingGrailsPluginManager(String, GrailsApplication) - Constructor in ProfilingGrailsPluginManager
PROJECT_META_FILE - Field in GrailsApplication
The name of the project metadata file
projectPath(Object) - Method in FileSystemInteraction
Obtain the path of the resource relative to the current project
projectPath(Object) - Method in FileSystemInteractionImpl
Obtain the path of the resource relative to the current project
PropertiesEditor - Class in org.grails.beans.support
Fixed version of Spring's PropertiesEditor that converts all keys and values to String values
PROPERTY_NAME - Field in ConstraintsEvaluator
PROPERTY_RELOAD_AGENT_PATH - Field in Support
propertyMissing(ApplicationContext, String) - Method in ApplicationContextExtension
Adds the ability to get beans via the dot operator
propertyMissing(String) - Method in SettingsFile
propertyNames() - Method in ConfigProperties
propertyNames - Field in EnvironmentAwarePropertySource
propertySource - Field in AbstractGrailsPlugin
propertySources - Field in PropertySourcesConfig
PropertySourcesConfig - Class in org.grails.config
@author Graeme Rocher
PropertySourcesConfig(PropertySource) - Constructor in PropertySourcesConfig
propertySourcesPropertyResolver - Field in PropertySourcesConfig
PROVIDED_ARTEFACTS - Field in GrailsPlugin
The name of the property that provides a list of shipped, but overridable artefacts
ProxyHandler - Interface in grails.core.support.proxy
Interface that defines logic for handling proxied instances
proxyMappingContext - Field in DefaultGrailsApplication
PUBLIC_STATIC_MODIFIER - Field in AbstractGrailsArtefactTransformer
put(Object, Object) - Method in AbstractTypeConvertingMap
put(String, Object) - Method in CompositeConfig
put(String, def) - Method in LazyBeanMap
put(Object, Object) - Method in LazyMetaPropertyMap
put(String, Object) - Method in NavigableMapConfig
put(String, Object) - Method in PrefixedConfig
putAll(Map) - Method in AbstractTypeConvertingMap
putAll(Map<? extends String, ?>) - Method in CompositeConfig
putAll(Map<? extends String, ?>) - Method in LazyBeanMap
putAll(Map) - Method in LazyMetaPropertyMap
putAll(Map<? extends String, ?>) - Method in NavigableMapConfig
putAll(Map<? extends String, ?>) - Method in PrefixedConfig
putAt(String, String) - Method in ValidationErrors

Q

R

readInput(ResourceLoader, String) - Method in MicronautGroovyPropertySourceLoader
readPluginConfiguration(Class<?>) - Method in AbstractGrailsPlugin
rebuild() - Method in DefaultGrailsApplication
rebuild() - Method in GrailsApplication
Rebuilds this Application throwing away the class loader and re-constructing it from the loaded resources again.
recompile(File, CompilerConfiguration, String) - Method in GrailsApp
recompile(CompilerConfiguration, File) - Method in JavaCompiler
reconnect() - Method in NullPersistentContextInterceptor
reconnect() - Method in PersistenceContextInterceptor
Reconnects the persistence context.
refresh() - Method in AbstractGrailsPlugin
refresh() - Method in DefaultGrailsApplication
Refreshes this GrailsApplication, rebuilding all of the artefact definitions as defined by the registered ArtefactHandler instances.
refresh() - Method in DefaultGrailsPlugin
refresh() - Method in GrailsApplication
This method will refresh the entire application
refresh() - Method in GrailsPlugin
Refreshes this Grails plugin reloading any watched resources as necessary
refresh() - Method in PropertySourcesConfig
refreshArtefactGrailsClassCaches() - Method in DefaultGrailsApplication
Tell all our artefact info objects to update their internal state after we've added a bunch of classes.
refreshPlugin(String) - Method in DefaultGrailsPluginManager
refreshPlugin(String) - Method in GrailsPluginManager
Refreshes the specified plugin.
refreshPlugin(String) - Method in MockGrailsPluginManager
registerAdditionalTransactionManagers(BeanDefinitionRegistry, BeanDefinition, ManagedList<RuntimeBeanReference>) - Method in ChainedTransactionManagerPostProcessor
registerArtefactHandler(ArtefactHandler) - Method in DefaultGrailsApplication
Registers a new ArtefactHandler that is responsible for identifying and managing a particular artefact type that is defined by some convention.
registerArtefactHandler(ArtefactHandler) - Method in GrailsApplication
registerDependency(List, GrailsPlugin) - Method in BasePluginFilter
Adds a plugin to the additional if this hasn't happened already
registerMockPlugin(GrailsPlugin) - Method in MockGrailsPluginManager
registerMockResource(String, byte[]) - Method in MockStringResourceLoader
Registers a mock resource with the first argument as the location and the second as the contents of the resource.
registerProvidedArtefacts(GrailsApplication) - Method in AbstractGrailsPluginManager
registerProvidedArtefacts(GrailsApplication) - Method in GrailsPluginManager
Registers pre-compiled artefacts with the GrailsApplication instance, only overriding if the application doesn't already provide an artefact of the same name.
registerUrlConverter(UrlConverter) - Method in DefaultGrailsControllerClass
Register a new UrlConverter with the controller
registerUrlConverter(UrlConverter) - Method in GrailsControllerClass
Register a new UrlConverter with the controller
RelationshipManagementMethodTypeCheckingExtension - Class in org.grails.compiler
@author Jeff Brown
ReloadableResourceBundleMessageSource - Class in org.grails.spring.context.support
Spring-specific org.springframework.context.MessageSource implementation that accesses resource bundles using specified basenames, participating in the Spring org.springframework.context.ApplicationContext's resource loading.
ReloadableResourceBundleMessageSource.PropertiesHolder - Class in org.grails.spring.context.support
PropertiesHolder for caching.
ReloadableResourceBundleMessageSource.PropertiesHolder(Properties) - Constructor in ReloadableResourceBundleMessageSource.PropertiesHolder
ReloadableResourceBundleMessageSource.PropertiesHolderCacheEntry - Class in org.grails.spring.context.support
ReloadableResourceBundleMessageSource.PropertiesHolderCacheEntry() - Constructor in ReloadableResourceBundleMessageSource.PropertiesHolderCacheEntry
reloadPlugin(GrailsPlugin) - Method in DefaultGrailsPluginManager
reloadSpringResourcesConfig(RuntimeSpringConfiguration, GrailsApplication, Class<?>) - Method in RuntimeSpringConfigUtilities
remove(Object) - Method in AbstractTypeConvertingMap
remove(Object) - Method in CompositeConfig
remove(Object) - Method in LazyBeanMap
remove(Object) - Method in LazyMetaPropertyMap
@throws UnsupportedOperationException
remove(Object) - Method in NavigableMapConfig
remove(Object) - Method in PrefixedConfig
removeAnnotation(MethodNode, Class<? extends Annotation>) - Method in GrailsASTUtils
removeCompileStaticAnnotations(AnnotatedNode) - Method in GrailsASTUtils
render(Resource, File, Map, boolean) - Method in TemplateRenderer
Render the given template to the given destination
render(Resource, File, Map, boolean) - Method in TemplateRendererImpl
Render the given template to the given destination
replaceGenericsPlaceholders(ClassNode, Map<String, ClassNode>, ClassNode) - Method in GrailsASTUtils
REQUEST_SCOPE_ID - Field in ApplicationAttributes
requiresAutowiring() - Method in AbstractGrailsArtefactTransformer
If the API requires autowiring then a
Autowired:
property will be added.
requiresStaticLookupMethod() - Method in AbstractGrailsArtefactTransformer
Subclasses should override in the instance API requires a static lookup method instead of autowiring.
reset() - Method in Holders
reset() - Method in RuntimeSpringConfigUtilities
Resets the GrailsRumtimeConfigurator.
resetTimestamp(boolean) - Method in CacheEntry
resolveArtefactType(SourceUnit, AnnotationNode, ClassNode) - Method in ArtefactTypeAstTransformation
resolveAutowireablePropertyDescriptors(Object) - Method in OptimizedAutowireCapableBeanFactory
resolveAutowireablePropertyDescriptorsForClass(Class<?>, Callable<BeanWrapper>) - Method in OptimizedAutowireCapableBeanFactory
resolveCode(String, Locale) - Method in PluginAwareResourceBundleMessageSource
resolveCode(String, Locale) - Method in ReloadableResourceBundleMessageSource
Resolves the given message code as key in the retrieved bundle files, using a cached MessageFormat instance per message code.
resolveCodeFromPlugins(String, Locale) - Method in PluginAwareResourceBundleMessageSource
Attempts to resolve a MessageFormat for the code from the list of plugin base names
resolveCodeWithoutArguments(String, Locale) - Method in PluginAwareResourceBundleMessageSource
resolveCodeWithoutArguments(String, Locale) - Method in ReloadableResourceBundleMessageSource
Resolves the given message code as key in the retrieved bundle files, returning the value found in the bundle as-is (without MessageFormat parsing).
resolveCodeWithoutArgumentsFromPlugins(String, Locale) - Method in PluginAwareResourceBundleMessageSource
Attempts to resolve a String for the code from the list of plugin base names
resolveCompilationTargetDirectory(SourceUnit) - Method in GlobalGrailsClassInjectorTransformation
resolveDataSourceSuffix(String) - Method in ChainedTransactionManagerPostProcessor
resolveEclipseCompilationTargetDirectory(SourceUnit) - Method in GroovyEclipseCompilationHelper
Attempts to resolve the compilation directory when using Eclipse
resolveGenericsPlaceHolders(ClassNode) - Method in AbstractGrailsArtefactTransformer
resolveGenericsPlaceHolders(ClassNode) - Method in ApiDelegateTransformation
resolveLoadDependencies(List<GrailsPlugin>) - Method in DefaultGrailsPluginManager
resolvePlaceholders(String) - Method in CompositeConfig
resolvePlaceholders(String) - Method in PrefixedConfig
resolvePlaceholders(String) - Method in PropertySourcesConfig
resolveRequiredPlaceholders(String) - Method in CompositeConfig
resolveRequiredPlaceholders(String) - Method in PrefixedConfig
resolveRequiredPlaceholders(String) - Method in PropertySourcesConfig
resolveTraitInjectors(List<TraitInjector>) - Method in TraitInjectionSupport
resolveTransactionManagerClass(BeanDefinitionRegistry) - Method in ChainedTransactionManagerPostProcessor
resource(Object) - Method in FileSystemInteraction
Obtain a resource for the given path
resource(Object) - Method in FileSystemInteractionImpl
Obtain a resource for the given path
ResourceLocator - Interface in org.grails.core.io
Used to locate resources at development or production time.
resources - Field in DefaultGrailsApplication
resources(String) - Method in FileSystemInteraction
Obtain resources for the given pattern
resources(String) - Method in FileSystemInteractionImpl
Obtain resources for the given pattern
resourceSearchDirectories - Field in DefaultResourceLocator
rethrowCause() - Method in CacheEntry.UpdateException
rethrowRuntimeException() - Method in CacheEntry.UpdateException
rollback(TransactionStatus) - Method in ChainedTransactionManager
rollbackOn(Throwable) - Method in GrailsTransactionAttribute
run() - Method in CriteriaTypeCheckingExtension
run() - Method in DomainMappingTypeCheckingExtension
run() - Method in DynamicFinderTypeCheckingExtension
run(Class<?>, String) - Method in GrailsApp
Static helper that can be used to run a GrailsApp from the specified sources using default settings and user supplied arguments.
run() - Method in HttpServletRequestTypeCheckingExtension
run() - Method in NamedQueryTypeCheckingExtension
run() - Method in RelationshipManagementMethodTypeCheckingExtension
run() - Method in ValidateableTypeCheckingExtension
run() - Method in WhereQueryTypeCheckingExtension
runActions() - Method in DeferredBindingActions
RuntimeSpringConfigUtilities - Class in org.grails.spring
@since 2.4

S

sanitizeRootCause(Throwable) - Method in GrailsUtil
scan(ClassLoader, ResourcePatternResolver, Collection<String>, Closure<Boolean>) - Method in ClassPathScanner
Scans for classes in the given package names
SCOPE - Field in DefaultGrailsControllerClass
SCOPE_SINGLETON - Field in DefaultGrailsControllerClass
SCOPES - Field in GrailsPlugin
The scopes to which this plugin applies
SERVICE - Field in DefaultGrailsServiceClass
ServiceArtefactHandler - Class in org.grails.core.artefact
@author Marc Palmer (marc@anyware.co.uk)
ServiceArtefactHandler() - Constructor in ServiceArtefactHandler
SESSION_FACTORY_BEAN - Field in GrailsApplication
setApplication(GrailsApplication) - Method in AbstractGrailsPlugin
setApplication(GrailsApplication) - Method in AbstractGrailsPluginManager
setApplication(GrailsApplication) - Method in DefaultGrailsPluginManager
setApplication(GrailsApplication) - Method in GrailsPlugin
setApplication(GrailsApplication) - Method in GrailsPluginManager
Sets the GrailsApplication used be this plugin manager
setApplicationContext(ApplicationContext) - Method in AbstractGrailsApplication
setApplicationContext(ApplicationContext) - Method in AbstractGrailsPlugin
setApplicationContext(ApplicationContext) - Method in AbstractGrailsPluginManager
setApplicationContext(ConfigurableApplicationContext) - Method in ApplicationCommand
Sets the application context of the command
setApplicationContext(ApplicationContext) - Method in DefaultGrailsPlugin
setApplicationContext(ApplicationContext) - Method in DefaultGrailsPluginManager
setApplicationContext(ApplicationContext) - Method in DevelopmentShutdownHook
setApplicationContext(ApplicationContext) - Method in GrailsApplicationPostProcessor
setApplicationContext(ApplicationContext) - Method in Plugin
setAsText(String) - Method in ClassEditor
setAt(Object, Object) - Method in CompositeConfig
setAt(Object, Object) - Method in NavigableMapConfig
setAt(Object, Object) - Method in PrefixedConfig
setBasename(String) - Method in ReloadableResourceBundleMessageSource
Set a single basename, following the basic ResourceBundle convention of not specifying file extension or language codes, but in contrast to org.springframework.context.support.ResourceBundleMessageSource referring to a Spring resource location: e.g.
setBasenames(String) - Method in ReloadableResourceBundleMessageSource
Set an array of basenames, each following the basic ResourceBundle convention of not specifying file extension or language codes, but in contrast to org.springframework.context.support.ResourceBundleMessageSource referring to a Spring resource location: e.g.
setBasePlugin(boolean) - Method in AbstractGrailsPlugin
setBasePlugin(boolean) - Method in GrailsPlugin
Sets whether this plugin is the base plugin
setBaseResource(Resource) - Method in StaticResourceLoader
setBeanClassLoader(ClassLoader) - Method in AbstractGrailsApplication
setBeanClassLoader(ClassLoader) - Method in DefaultGrailsApplication
setBeanFactory(BeanFactory) - Method in GrailsPlaceholderConfigurer
setBeanFactory(BeanFactory) - Method in PluginManagerAwareBeanPostProcessor
setBeanFactory(BeanFactory) - Method in TransactionManagerPostProcessor
Gets the platform transaction manager from the bean factory if there is one.
setBeanName(String) - Method in GrailsPlaceholderConfigurer
setBeanNameBlacklistPattern(String) - Method in ChainedTransactionManagerPostProcessor
setBeanNameInternalBlacklistPattern(String) - Method in ChainedTransactionManagerPostProcessor
setBeanNameWhitelistPattern(String) - Method in ChainedTransactionManagerPostProcessor
setCacheSeconds(int) - Method in ReloadableResourceBundleMessageSource
Set the number of seconds to cache the list of matching properties files.
setChild(Object, Object, String, String) - Method in DomainBuilder.DefaultGrailsChildPropertySetter
setChildContext(ConfigurableApplicationContext) - Method in CoreConfiguration
Sets the child Spring context.
setClassInjectors(ClassInjector) - Method in GrailsAwareClassLoader
setClassLoader(ClassLoader) - Method in ClassEditor
setClassLoader(ClassLoader) - Method in ClassLoaderAware
This method is called by the org.springframework.context.ApplicationContext that loads the Grails application.
setClassLoader(ClassLoader) - Method in PropertySourcesConfig
setCompilationUnit(CompilationUnit) - Method in ArtefactTypeAstTransformation
setCompilationUnit(CompilationUnit) - Method in EntityASTTransformation
setConfig(ConfigObject) - Method in AbstractGrailsApplication
setConfig(Config) - Method in ChainedTransactionManagerPostProcessor
setConfig(Config) - Method in Holders
setConfiguration(Config) - Method in GrailsConfigurationAware
setConfiguration(Config) - Method in GrailsPlaceholderConfigurer
setConversionService(ConfigurableConversionService) - Method in PropertySourcesConfig
setDefaultEncoding(String) - Method in ReloadableResourceBundleMessageSource
Set the default charset to use for parsing properties files.
setDescriptor(Resource) - Method in DefaultGrailsPlugin
setDescriptor(Resource) - Method in GrailsPlugin
Sets the plugin descriptor for this plugin
setDevelopmentModeActive(boolean) - Method in GrailsApp
setFallbackToSystemLocale(boolean) - Method in ReloadableResourceBundleMessageSource
Set whether to fall back to the system Locale if no files for a specific Locale have been found.
setFileCacheSeconds(int) - Method in ReloadableResourceBundleMessageSource
Set the number of seconds to cache loaded properties files.
setFileEncodings(Properties) - Method in ReloadableResourceBundleMessageSource
Set per-file charsets to use for parsing properties files.
setGrailsApplication(GrailsApplication) - Method in AbstractGrailsClass
setGrailsApplication(GrailsApplication) - Method in DefaultGrailsControllerClass
setGrailsApplication(GrailsApplication) - Method in DomainClassArtefactHandler
setGrailsApplication(GrailsApplication) - Method in GrailsApplicationAware
setGrailsApplication(GrailsApplication) - Method in Holders
setGrailsApplication(GrailsApplication) - Method in PluginAwareResourceBundleMessageSource
setInheritRollbackOnly(boolean) - Method in GrailsTransactionAttribute
setInitialized(boolean) - Method in CacheEntry
setLoadCorePlugins(boolean) - Method in AbstractGrailsPluginManager
setLoadCorePlugins(boolean) - Method in GrailsPluginManager
Set whether the core plugins should be loaded
setMainContext(ApplicationContext) - Method in AbstractGrailsApplication
setMainContext(ApplicationContext) - Method in GrailsApplication
Sets the main Spring context for this application.
setManager(GrailsPluginManager) - Method in AbstractGrailsPlugin
setManager(GrailsPluginManager) - Method in DefaultGrailsPlugin
setManager(GrailsPluginManager) - Method in GrailsPlugin
Sets the plugin manager for this plugin
setMappingContext(MappingContext) - Method in DefaultGrailsApplication
setMappingContext(MappingContext) - Method in GrailsApplication
Configures the org.grails.datastore.mapping.model.MappingContext for this application
setMessageBundleLocationPattern(String) - Method in PluginAwareResourceBundleMessageSource
The location pattern for message bundles
setMetaClass(MetaClass) - Method in ExtendedProxy
setName(String) - Method in PluginAstReader.BasicGrailsPluginInfo
setObject(T) - Method in InstanceFactoryBean
setObjectType(Class<?>) - Method in InstanceFactoryBean
setParentApplicationContext(ApplicationContext) - Method in CorePluginFinder
setParentApplicationContext(ApplicationContext) - Method in DefaultGrailsPlugin
setParentApplicationContext(ApplicationContext) - Method in DefaultGrailsPluginManager
setParentApplicationContext(ApplicationContext) - Method in ParentApplicationContextAware
setPluginCacheSeconds(int) - Method in PluginAwareResourceBundleMessageSource
Set the number of seconds to cache the list of matching properties files loaded from plugin.
setPluginFilter(PluginFilter) - Method in AbstractGrailsPluginManager
setPluginFilter(PluginFilter) - Method in DefaultGrailsPluginManager
setPluginFilter(PluginFilter) - Method in GrailsPluginManager
Sets the filter to use to filter for plugins
setPluginManager(GrailsPluginManager) - Method in DefaultResourceLocator
setPluginManager(GrailsPluginManager) - Method in Holders
setPluginManager(GrailsPluginManager) - Method in PluginAwareResourceBundleMessageSource
setPluginManager(GrailsPluginManager) - Method in PluginManagerAware
Sets the plug-in manager on this instance
setPluginManagerInCreation(boolean) - Method in Holders
setPropertiesPersister(PropertiesPersister) - Method in ReloadableResourceBundleMessageSource
Set the PropertiesPersister to use for parsing properties files.
setProperty(String, Object) - Method in ClosureToMapPopulator
setProperty(String, Object) - Method in ExtendedProxy
setProperty(String, Object) - Method in PluginAstReader.BasicGrailsPluginInfo
setReadOnly() - Method in NullPersistentContextInterceptor
setReadOnly() - Method in PersistenceContextInterceptor
Sets the persistence context to read-only mode.
setReadWrite() - Method in NullPersistentContextInterceptor
setReadWrite() - Method in PersistenceContextInterceptor
Sets the persistence context to read-write mode.
setResourceLoader(ResourceLoader) - Method in DefaultResourceLocator
setResourceLoader(ResourceLoader) - Method in PluginAwareResourceBundleMessageSource
setResourceLoader(ResourceLoader) - Method in ReloadableResourceBundleMessageSource
Set the ResourceLoader to use for loading bundle properties files.
setResourceResolver(PathMatchingResourcePatternResolver) - Method in PluginAwareResourceBundleMessageSource
setSearchClasspath(boolean) - Method in PluginAwareResourceBundleMessageSource
Whether to search the full classpath for message bundles.
setSearchLocation(String) - Method in DefaultResourceLocator
setSearchLocation(String) - Method in ResourceLocator
The basic location from which to conduct the search.
setSearchLocation(String) - Method in StaticResourceLocator
setSearchLocations(Collection<String>) - Method in DefaultResourceLocator
setSearchLocations(Collection<String>) - Method in PluginPathAwareFileSystemResourceLoader
setSearchLocations(Collection<String>) - Method in ResourceLocator
Multiple locations to search.
setSearchLocations(Collection<String>) - Method in StaticResourceLocator
setServletContext(Object) - Method in Holders
setTarget(Object) - Method in HotSwappableTargetSourceFactoryBean
setTarget(T) - Method in MixinTargetAware
Settings - Interface in grails.config
Constants for names of settings in Grails
SettingsFile - Class in grails.boot.config.tools
Used to interpret the Gradle settings.gradle file
setTransactionalAttributes(Properties) - Method in GroovyAwareNamedTransactionAttributeSource
setTransactionManager(PlatformTransactionManager) - Method in TransactionManagerAware
Sets the transaction manager on implementors
setValidator(Validator) - Method in DefaultGrailsDomainClass
setValidator(Validator) - Method in GrailsDomainClass
Sets the validator for this domain class
setValue(V) - Method in CacheEntry
setValue(Object) - Method in PropertiesEditor
setVersion(String) - Method in PluginAstReader.BasicGrailsPluginInfo
setWatchedResources(Resource) - Method in DefaultGrailsPlugin
short(String, Integer) - Method in TypeConvertingMap
shortSummary() - Method in StopWatch
Return a short description of the total running time.
shouldInclude(List<T>, List, T) - Method in IncludeExcludeSupport
shouldInject(URL) - Method in ApplicationClassInjector
shouldInject(URL) - Method in ClassInjector
Returns whether this injector should inject
shouldInject(URL) - Method in DefaultGrailsDomainClassInjector
shouldInject(URL) - Method in GlobalClassInjectorAdapter
shouldInjectClass(ClassNode) - Method in DefaultGrailsDomainClassInjector
shouldProxyTargetClass(Class<?>, String) - Method in GroovyAwareAspectJAwareAdvisorAutoProxyCreator
shouldProxyTargetClass(Class<?>, String) - Method in GroovyAwareInfrastructureAdvisorAutoProxyCreator
shouldSkipInjection(ClassNode) - Method in AbstractGrailsArtefactTransformer
shouldUpdate(long, Object) - Method in CacheEntry
shutdown - Field in AbstractGrailsPluginManager
shutdown() - Method in GrailsPluginManager
Shuts down the PluginManager
SimpleMapResourceLoader - Class in org.grails.core.io
Simple implementation of the ResourceLoader interface that uses a Map to load resources.
size() - Method in AbstractTypeConvertingMap
size() - Method in CompositeConfig
size() - Method in LazyBeanMap
size() - Method in LazyMetaPropertyMap
{@inheritDoc}
size() - Method in NavigableMapConfig
size() - Method in PrefixedConfig
sortPlugins(List<GrailsPlugin>) - Method in DefaultGrailsPluginManager
source(String) - Method in FileSystemInteraction
Finds a source file for the given class name
source(String) - Method in FileSystemInteractionImpl
Finds a source file for the given class name
SPRING_RESOURCES_CLASS - Field in RuntimeSpringConfigUtilities
SPRING_RESOURCES_GROOVY - Field in RuntimeSpringConfigUtilities
SPRING_RESOURCES_XML - Field in RuntimeSpringConfigUtilities
SpringResource - Class in org.grails.core.io
Bridges Grails and Spring Resource APIs
SpringResource(Resource) - Constructor in SpringResource
start(String) - Method in StopWatch
Start a named task.
STATIC_METHOD_MISSING_METHOD_NAME - Field in AbstractGrailsArtefactTransformer
STATIC_METHOD_MISSING_METHOD_NAME - Field in GrailsASTUtils
staticMethods - Field in BaseApiProvider
StaticResourceLoader - Class in org.grails.core.io
A ResourceLoader that loads resources from a statically defined base resource.
StaticResourceLocator - Class in org.grails.core.io
A static resource locator that uses an internal map to locate resources.
STATUS_DISABLED - Field in GrailsPlugin
When a plugin is "disabled" it will not be loaded
STATUS_ENABLED - Field in GrailsPlugin
When a plugin is "enabled" it will be loaded as usual.
STATUS - Field in GrailsPlugin
The status of the plugin.
stop() - Method in StopWatch
Stop the current task.
stop() - Method in StopWatch.TaskInfo
StopWatch - Class in org.grails.core.util
Based on the Spring StopWatch class, but supporting nested tasks
StopWatch.TaskInfo - Class in org.grails.core.util
Inner class to hold data about one task executed within the stop watch.
StopWatch(String) - Constructor in StopWatch
Construct a new stop watch with the given id.
stringPropertyNames() - Method in ConfigProperties
subarray(Object, int, int) - Method in GrailsArrayUtils
Returns the subarray of an existing array
substringAfter(String, String) - Method in GrailsStringUtils
Returns a substring after the given token
substringAfterLast(String, String) - Method in GrailsStringUtils
Returns a substring after the last occurrence of the given token
substringBefore(String, String) - Method in GrailsStringUtils
Returns a substring before the given token
substringBeforeLast(String, String) - Method in GrailsStringUtils
Returns a substring before the last occurance of the given token
Support - Class in grails.dev
Methods to support the development environment
supports(ClassNode) - Method in SupportsClassNode
SupportsClassNode - Interface in grails.compiler.ast
Indicates whether the Transformation/TraitInjector supports given ClassNode
supportsContraint(String) - Method in Constrained
supportsCurrentScopeAndEnvironment() - Method in DefaultGrailsPlugin
supportsCurrentScopeAndEnvironment() - Method in GrailsPlugin
@return true if the current plugin supports the current BuildScope and Environment
supportsEnvironment(Environment) - Method in DefaultGrailsPlugin
supportsEnvironment(Environment) - Method in GrailsPlugin
Returns whether this plugin supports the given environment name
supportsEventType(Class<? extends ApplicationEvent>) - Method in AbstractGrailsApplication
supportsSourceType(Class<?>) - Method in AbstractGrailsApplication

T

target - Field in HotSwappableTargetSourceFactoryBean
targetSource - Field in HotSwappableTargetSourceFactoryBean
template(Object) - Method in TemplateRenderer
Find a template at the given location
template(Object) - Method in TemplateRendererImpl
Find a template at the given location
templateCache - Field in TemplateRendererImpl
TemplateException - Class in grails.dev.commands.template
Exception thrown when an error in template rendering occurs
TemplateRenderer - Interface in grails.dev.commands.template
API for locating and rendering templates in the code generation layer
TemplateRendererImpl - Class in grails.dev.commands.template
API for locating and rendering templates in the code generation layer
TemplateRendererImpl(File, ResourceLoader) - Constructor in TemplateRendererImpl
templates(String) - Method in TemplateRenderer
Find templates matching the given pattern
templates(String) - Method in TemplateRendererImpl
Find templates matching the given pattern
toBoolean(String) - Method in GrailsStringUtils
Converts a string to a boolean.
toProperties() - Method in CompositeConfig
toProperties() - Method in Config
Converts the config to properties
toProperties() - Method in NavigableMapConfig
toProperties() - Method in PrefixedConfig
toString() - Method in AbstractGrailsClass
toString() - Method in AbstractTypeConvertingMap
toString() - Method in ConfigProperties
toString() - Method in DefaultGrailsPlugin
toString(char[]) - Method in GrailsArrayUtils
toString() - Method in NavigableMapConfig
toString() - Method in Pair
toString() - Method in ReloadableResourceBundleMessageSource
toString() - Method in StopWatch
Return an informative string describing all tasks performed For custom reporting, call getTaskInfo() and use the task info directly.
toString() - Method in Triple
toUrlElement(String) - Method in CamelCaseUrlConverter
toUrlElement(String) - Method in HyphenatedUrlConverter
toUrlElement(String) - Method in UrlConverter
TRAIT_INJECTOR_CLASS - Field in GlobalGrailsClassInjectorTransformation
TraitInjectionSupport - Class in org.grails.compiler.injection
Utility methods used by TraitInjectionUtils
TraitInjectionUtils - Class in org.grails.compiler.injection
@author Jeff Brown
TraitInjector - Interface in grails.compiler.traits
@author Jeff Brown
TRANSACTION_MANAGER_BEAN - Field in GrailsApplication
The name of the transaction manager bean
TransactionManagerAware - Interface in grails.transaction
@author Graeme Rocher
TransactionManagerPostProcessor - Class in org.grails.transaction
Injects the platform transaction manager into beans that implement TransactionManagerAware.
trimStart(String, String) - Method in GrailsStringUtils
Trims the start of the string
Triple - Class in grails.util
Triple(A, B, C) - Constructor in Triple
TYPE - Field in ApplicationArtefactHandler
type - Field in ArtefactHandlerAdapter
TYPE - Field in ControllerArtefactHandler
TYPE - Field in DomainClassArtefactHandler
TYPE_FILTERS - Field in GrailsPlugin
The field that represents the list of type filters a plugin provides
TYPE - Field in ServiceArtefactHandler
TYPE - Field in UrlMappingsArtefactHandler
TypeConvertingMap - Class in grails.util
A category for use with maps that want type conversion capabilities.
TypeConvertingMap(Map) - Constructor in TypeConvertingMap

U

unwrapIfProxy(Object) - Method in DefaultProxyHandler
unwrapIfProxy(Object) - Method in ProxyHandler
Returns the unwrapped proxy instance or the original object if not proxied.
update() - Method in ReloadableResourceBundleMessageSource.PropertiesHolder
updateComplete() - Method in DefaultArtefactInfo
Refresh the arrays generated from the maps.
updateConstantMetaClass(MetaClassRegistryChangeEvent) - Method in MetaClassChangeReporter
Called when the a constant MetaClass is updated.
updateGrailsFactoriesWithType(ClassNode, ClassNode, File) - Method in GlobalGrailsClassInjectorTransformation
updatePluginXml(ClassNode, String, File, Collection<String>) - Method in GlobalGrailsClassInjectorTransformation
updateValue(V, Callable<V>, Object) - Method in CacheEntry
updateValue(ReloadableResourceBundleMessageSource.PropertiesHolder, Callable<PropertiesHolder>, Object) - Method in ReloadableResourceBundleMessageSource.PropertiesHolderCacheEntry
uriToResourceCache - Field in DefaultResourceLocator
URL_MAPPINGS - Field in DefaultGrailsUrlMappingsClass
UrlConverter - Interface in grails.web
URL converter interface for conversion strategies to implement
UrlMappingsArtefactHandler - Class in org.grails.core.artefact
A handler for UrlMappings.
UrlMappingsArtefactHandler() - Constructor in UrlMappingsArtefactHandler
usesDatasource(String) - Method in DefaultGrailsServiceClass
usesDatasource(String) - Method in GrailsServiceClass
Check if the service class can use the named DataSource.

V

ValidateableTypeCheckingExtension - Class in org.grails.compiler
@since 2.4
ValidationErrors - Class in grails.validation
Models validation errors in a Grails application.
ValidationErrors(Object, String) - Constructor in ValidationErrors
ValidationException - Class in grails.validation
Thrown when validation fails during a .save().
ValidationException(String, Errors) - Constructor in ValidationException
value - Field in ApiDelegate
@return The super class to check for in the first argument of api methods
value - Field in Artefact
value - Field in Enhances
@return The artefact types (Example: Controller, Service etc.)
value - Field in Mixin
values() - Method in AbstractTypeConvertingMap
values() - Method in CompositeConfig
values() - Method in LazyBeanMap
values() - Method in LazyMetaPropertyMap
values() - Method in NavigableMapConfig
values() - Method in PrefixedConfig
verify() - Method in MockGrailsPluginManager
version - Field in AbstractGrailsPlugin
version - Field in Enhanced
VIEW - Field in GrailsControllerClass
The general name to use when referring to action view.
visit(ASTNode, SourceUnit) - Method in ApiDelegateTransformation
visit(ASTNode, SourceUnit) - Method in ArtefactTypeAstTransformation
visit(ASTNode, SourceUnit) - Method in EnhancesTraitTransformation
visit(ASTNode, SourceUnit) - Method in EntityASTTransformation
visit(ASTNode, SourceUnit) - Method in GlobalGrailsClassInjectorTransformation
visit(ASTNode, SourceUnit) - Method in GlobalImportTransformation
visit(ASTNode, SourceUnit) - Method in MixinTransformation
visit(ASTNode, SourceUnit) - Method in NamedArtefactTypeAstTransformation
VOID_CLASS_NODE - Field in GrailsASTUtils

W

warDeployed - Field in DefaultResourceLocator
warn(String) - Method in GrailsUtil
Logs warning message to grails.util.GrailsUtil logger which is turned on in development mode.
warning(SourceUnit, ASTNode, String) - Method in GrailsASTUtils
WATCHED_RESOURCES - Field in GrailsPlugin
Defines the name of the property that specifies resources which this plugin monitors for changes in the format a Ant-style path
WatchPattern - Class in org.grails.plugins.support
@author Graeme Rocher
WatchPatternParser - Class in org.grails.plugins.support
Parses a Grails plugin's watchedResources property value into a list of
weaveMixinsIntoClass(ClassNode, ListExpression) - Method in MixinTransformation
WEB_APP_DIR - Field in DefaultResourceLocator
WEB_APP_DIRECTORY - Field in PluginPathAwareFileSystemResourceLoader
WhereQueryTypeCheckingExtension - Class in org.grails.compiler
@since 2.4.1
WILD_CARD - Field in WatchPatternParser
WILDCARD - Field in DefaultResourceLocator
wrapMethodBodyInTryCatchDebugStatements(MethodNode) - Method in GrailsASTUtils
Wraps a method body in try / catch logic that catches any errors and logs an error, but does not rethrow!
wrappedMap - Field in AbstractTypeConvertingMap
writePluginXml(ClassNode, String, File, Collection<String>) - Method in GlobalGrailsClassInjectorTransformation
writeTemplateToDestination(Template, Map, File) - Method in TemplateRendererImpl

X

Y

Z

ZERO_ARGS - Field in GrailsArtefactClassInjector
ZERO_ARGUMENTS - Field in GrailsASTUtils
ZERO_PARAMETERS - Field in GrailsArtefactClassInjector
ZERO_PARAMETERS - Field in GrailsASTUtils

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _