|
Groovy Documentation | |||||||
PREV NEXT | FRAMES NO FRAMES |
org.springframework.core.io.UrlResource
or org.springframework.core.io.ClassPathResource
.IncludingPluginFilter
and
ExcludingPluginFilter
.MockClosureProxy
wrapping the given
closure._method
methodName
.init()
before and destroy()
after invoking body
.path
against the given pattern
.body
with the GrailsTestTargetPattern that matched the source, and the File for the source.true
if the given object is the
target closure for this wrapper as well.PluginFilter
which removes that all of the supplied
plugins (identified by name) as well as their dependencies are omitted from the
filtered plugin list.javax.servlet.forward.request_uri
,
javax.servlet.forward.context_path
,
javax.servlet.forward.servlet_path
,
javax.servlet.forward.path_info
,
javax.servlet.forward.query_string
./docs/cvs/commit
-> 'cvs/commit
'
/docs/**\/*.html
' and '/docs/cvs/commit.html
-> 'cvs/commit.html
'/*.html
' and '/docs/cvs/commit.html
-> 'docs/cvs/commit.html
'*.html
' and '/docs/cvs/commit.html
-> '/docs/cvs/commit.html
'*
' and '/docs/cvs/commit.html
-> '/docs/cvs/commit.html
'BasePluginFilter
.annotationType
on the specified
bean, traversing its interfaces and super classes if no annotation can be
found on the given class itself, as well as checking its raw bean class
if not found on the exposed bean reference (e.g. in case of a proxy).testSuffixes
and testExtensions
that match the targetPattern
.GenericBeanFactoryAccessor
that wraps the supplied org.springframework.beans.factory.ListableBeanFactory.GrailsConfig['my.config.key']
Class
has the supplied java.lang.annotation.Annotation type.dst
. null
).java.io.File
,
i.e. to a file in the file system.null
if the plugin is not being used "inline".PluginFilter
.PluginFilter
which ensures that only the supplied
plugins (identified by name) as well as their dependencies are included in the filtered plugin list.true
if this this codec should be applied to a buffer part that is
already encoded with a safe encoderfalse
.String
parses
as a valid domain name with a recognized top-level domain.
String
matches any
IANA-defined country code top-level domain. String
matches any
IANA-defined generic top-level domain. String
matches any
IANA-defined infrastructure top-level domain. String
matches any
IANA-defined top-level domain. GrailsTestType
for JUnit4 tests.Class
parameter.className
using a class loader that can load the test classes,
throwing a RuntimeException if the class can't be loaded.return success()
NULL
object than to use Java's null
value.
GrailsPlugin
instances
based on an original supplied list of GrailsPlugin
instances.PluginFilter
implementation to use based on a set of provided configuration properties.true
if the transaction is read-only.
null
for using the thread context class loader at the time of actual resource access.null
.java.net.URL
locators.
try { // original method body here } catch (Exception $caughtException) { Method $method = getExceptionHandlerMethod($caughtException.getClass()) if($method) { return $method.invoke(this, $caughtException) } else { throw $caughtException } }
Groovy Documentation