- 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
- 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
- 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
- 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
-
- 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
-
- 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
-
- 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
- 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
-
- 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
-
- 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
- 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
-
- 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
- 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.
- 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
-
- 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
-