Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
PREV NEXT | FRAMES NO FRAMES

# Deprecated API

Classes
`AbstractDynamicConstructor` Abstract class that provides default implementation for isArgumentsMatch.
`ApplicationHolder` Static singleton holder for the GrailsApplication instance.
`BindDynamicMethod` A dynamic method present in controllers allowing data binding from a map to a target instance.
`ConfigurationHolder` Holds a reference to the ConfigObject instance.
`ConstraintsEvaluatingDynamicProperty` This is a dynamic property that instead of returning the closure sets a new proxy meta class for the scope of the call and invokes the closure itself which builds up a list of ConstrainedProperty instances.
`DefaultPluginMetaManager` Implements the PluginMetaManager interface by parsing a set of plugin.xml files from the given set of resources.
`GrailsAwareGroovyTestSuite` Adds support for running Grails JUnit Tests from Eclipse JUnit runner or even from the command line.
`GrailsConfig` General purpose Grails Configuration Utility for retieving configuration options with the ability to log warnings on type/constraint mismatch.
`GrailsPluginUtils` @deprecated Use GrailsUtil instead.
`GrailsReloadServletFilter` Copies resources from the source on content change and manages reloading if necessary.
`GrailsResourceHolder` Holds references to all the Grails resource instances to support class reloading.
`GrailsResourceLoader` Loads groovy files using Spring's IO abstraction.
`GrailsResourceLoaderFactoryBean` A factory bean that constructs the Grails ResourceLoader used to load Grails classes.
`GrailsResourceUtils` Utility methods for working with Grails resources and URLs that represent artifacts within a Grails application.
`GroovyPageUtils` Methods to establish template names, paths and so on.
`JSON` A converter that converts domain classes, Maps, Lists, Arrays, POJOs and POGOs to JSON (Including nested Domain Classes)
`JUnit4GrailsTestType` An `GrailsTestType` for JUnit4 tests.
`XML` A converter that converts domain classes to XML (including nested Domain Classes)

Annotation Types
`Validateable` @deprecated Use Validateable instead.

Methods
`AbstractIvyDependencyManager#configureDependencyDescriptor(EnhancedDefaultDependencyDescriptor dependencyDescriptor, java.lang.String scope)` @deprecated use registerDependency(String, EnhancedDefaultDependencyDescriptor)
`AbstractIvyDependencyManager#configureDependencyDescriptor(EnhancedDefaultDependencyDescriptor dependencyDescriptor, java.lang.String scope, boolean pluginMode)` @deprecated use registerDependency(String, EnhancedDefaultDependencyDescriptor) or registerPluginDependency(String EnhancedDefaultDependencyDescriptor)
`ApplicationHolder#getApplication()` @return The GrailsApplication instance
`ApplicationHolder#setApplication(GrailsApplication application)` @param application The application to set
`ConfigurationHolder#getConfig()` Retrieve the ConfigObject.
`ConfigurationHolder#getFlatConfig()` Returns the ConfigObject has a flattened map for easy access from Java in a properties file like way.
`ConfigurationHolder#setConfig(groovy.util.ConfigObject newConfig)` Sets the ConfigObject.
`DefaultGrailsApplicationAttributes#getApplicationUri(javax.servlet.ServletRequest request)` @deprecated Use instead
`DefaultGrailsControllerClass#getCommandObjectActions()` @return EMPTY_SET until the method is removed
`DefaultGrailsControllerClass#getCommandObjectClasses()` @return EMPTY_SET until the method is removed
`DefaultGrailsPlugin#doc(java.lang.String text)` @deprecated Dynamic document generation no longer supported
`DefaultGrailsPlugin#restartContainer()` Restarts the container
`DefaultGrailsPluginManager#startPluginChangeScanner()` @deprecated Will be removed in a future version of Grails
`DefaultGrailsPluginManager#stopPluginChangeScanner()` @deprecated Will be removed in a future version of Grails
`GrailsApplicationFactoryBean#setGrailsResourceLoader(GrailsResourceLoader resourceLoader)` @deprecated No longer used will be removed in a future release
`GrailsBuildEventListener#event(java.lang.String eventName, java.util.List arguments)` For backwards compatibility with _Events.groovy script
`GrailsBuildEventListener#event(java.lang.String eventName)` For backwards compatibility with _Events.groovy script
`GrailsClass#getReference()` @deprecated
`GrailsClassUtils#getBooleanFromMap(java.lang.String key, java.util.Map map)` Returns the class name for the given logical name and trailing name.
`GrailsClassUtils#getClassNameRepresentation(java.lang.String name)` Returns the class name representation of the given name
`GrailsClassUtils#getLogicalName(java.lang.Class clazz, java.lang.String trailingName)` Retrieves the logical name of the class without the trailing name
`GrailsClassUtils#getLogicalName(java.lang.String name, java.lang.String trailingName)` @deprecated Use GrailsNameUtils.getLogicalPropertyName instead.
`GrailsClassUtils#getNaturalName(java.lang.String name)` Converts a property name into its natural language equivalent eg ('firstName' becomes 'First Name')
`GrailsClassUtils#getPropertyName(java.lang.String name)` Shorter version of getPropertyNameRepresentation
`GrailsClassUtils#getPropertyNameRepresentation(java.lang.Class targetClass)` Returns the property name equivalent for the specified class
`GrailsClassUtils#getScriptName(java.lang.Class clazz)` @deprecated Use GrailsNameUtils.getScriptName instead.
`GrailsClassUtils#getShortName(java.lang.Class targetClass)` Returns the class name without the package prefix
`GrailsControllerClass#getCommandObjectActions()` @deprecated This method is deprecated and will be removed in a future version of Grails
`GrailsControllerClass#getCommandObjectClasses()` @deprecated This method is deprecated and will be removed in a future version of Grails
`GrailsDomainClass#getPersistantProperties()` Returns all of the persistant properties of the domain class
`GrailsPlugin#checkForChanges()` When called this method checks for any changes to the plug-ins watched resources and reloads appropriately
`GrailsPluginUtils#getLowerVersion(java.lang.String pluginVersion)` Returns the lower version of a Grails version number expression in a plugin
`GrailsPluginUtils#getPluginName(java.lang.Class clazz)` Get the name of the a plugin for a particular class.
`GrailsPluginUtils#getPluginVersion(java.lang.Class clazz)` Get the version of the a plugin for a particular class.
`GrailsPluginUtils#getUpperVersion(java.lang.String pluginVersion)` Returns the upper version of a Grails version number expression in a plugin
`GrailsPluginUtils#isValidVersion(java.lang.String pluginVersion, java.lang.String requiredVersion)` Check if the required version is a valid for the given plugin version.
`GrailsPluginUtils#isVersionGreaterThan(java.lang.String leftVersion, java.lang.String rightVersion)` Returns true if rightVersion is greater than leftVersion
`GrailsUtil#getEnvironment()` Retrieves the current execution environment.
`GrailsUtil#sanitize(java.lang.Throwable t)`
`GrailsUtil#writeSlurperResult(groovy.util.slurpersupport.GPathResult result, java.io.Writer output)` Writes out a GPathResult (i.e. the result of parsing XML using XmlSlurper) to the given writer.
`IvyDependencyManager#serialize(def builder, boolean createRoot = true)` Serializes the parsed dependencies using the given builder.
`MetadataGeneratingMetaClassCreationHandle#enable()` Enables the ExpandoMetaClassCreationHandle with the registry.
`MockUtils#mockCommandObject(java.lang.Class clazz)` Mocks a command object class by adding a "validate()" method and errors-related methods, like "getErrors()" and "hasErrors()".
`MockUtils#mockDomain(java.lang.Class clazz)` Call this to mock the given domain class.
`MockUtils#mockDomain(GrailsDomainClass dc, java.lang.Class clazz, java.util.List testInstances)`
`MockUtils#prepareForConstraintsTests(java.lang.Class clazz)` Adds a `validate()` method to the given domain class that performs validation against the constraints and returns a map of errors.
`MockUtils#prepareForConstraintsTests(java.lang.Class clazz, java.util.List testInstances)`
`PluginBuildSettings#getPluginSourceFiles()` /*.properties") } }
`PluginBuildSettings#getPluginSourceFiles(java.io.File pluginDir)` @deprecated Use getPluginSourceDirectories
`PluginManagerHolder#currentPluginManager()` Retrieves the bound GrailsPluginManager that resides in the current Thread
`PluginManagerHolder#getPluginManager()` Retrieves the GrailsPluginManager bound to the current Thread
`PluginManagerHolder#setPluginManager(GrailsPluginManager pluginManager)` Bind the given GrailsPluginManager instance to the current Thread
`StreamCharBuffer#readAsCharArray()` Reads the buffer to a char[].
`StreamCharBuffer#readAsString()` Reads the buffer to a String.

Constructors
`CommandLineHelper#CommandLineHelper(java.io.PrintStream out)` @deprecated Use no-args constructor
`CommandLineHelper#CommandLineHelper(java.io.InputStream input, java.io.PrintStream out)` @deprecated Use no-args constructor
`DefaultUrlMappingEvaluator#DefaultUrlMappingEvaluator(javax.servlet.ServletContext servletContext)` @deprecated Used DefaultUrLMappingsEvaluator(ApplicationContext) instead
`GrailsAwareInjectionOperation#GrailsAwareInjectionOperation(groovy.lang.GroovyResourceLoader resourceLoader, ClassInjector classInjectors)` @deprecated Custom resource loader no longer supported
`GroovyPagesTemplateEngine#GroovyPagesTemplateEngine(javax.servlet.ServletContext servletContext)` @param servletContext The servlet context
`RedirectDynamicMethod#RedirectDynamicMethod(org.springframework.context.ApplicationContext applicationContext)` @param applicationContext The ApplicationContext

Groovy Documentation