Package: grails.spring

## [Groovy] Class DynamicElementReader

- grails.spring.DynamicElementReader

-     class DynamicElementReader
      extends groovy.lang.GroovyObjectSupport

  Used by BeanBuilder to read a Spring namespace expression in the Groovy DSL.

  See Also:
    BeanBuilder
  Authors:
    Graeme Rocher
  Since:
    1.1

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `private static java.lang.Object` | `LOG` |
    `private BeanConfiguration` | `beanConfiguration` |
    `private boolean` | `beanDecorator` |
    `private org.xml.sax.EntityResolver` | `entityResolver` |
    `private org.xml.sax.ErrorHandler` | `errorHandler` |
    `private boolean` | `firstCall` |
    `private org.springframework.beans.factory.xml.NamespaceHandler` | `namespaceHandler` |
    `private org.springframework.beans.factory.xml.ParserContext` | `parserContext` |
    `private java.lang.String` | `rootNamespace` |
    `private int` | `validationMode` |
    `private java.util.Map` | `xmlNamespaces` |

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `BeanConfiguration` | `beanConfiguration`
    `boolean` | `beanDecorator`
    `org.xml.sax.EntityResolver` | `entityResolver`
    `org.xml.sax.ErrorHandler` | `errorHandler`
    `boolean` | `firstCall`
    `org.springframework.beans.factory.xml.NamespaceHandler` | `namespaceHandler`
    `org.springframework.beans.factory.xml.ParserContext` | `parserContext`
    `int` | `validationMode`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `DynamicElementReader (java.lang.String namespace, java.util.Map namespaceMap, org.springframework.beans.factory.xml.NamespaceHandler namespaceHandler, org.springframework.beans.factory.xml.ParserContext parserContext)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected void` | `afterInvocation()` Hook that subclass or anonymous classes can overwrite to implement custom behavior after invocation completes
    `` | `java.lang.Object` | `invokeMethod(java.lang.String name, java.lang.Object args)`
    `` | `void` | `setClassLoader(java.lang.ClassLoader classLoader)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class groovy.lang.GroovyObjectSupport` | `groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll(), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object)`

- - ### Field Detail

    - #### private static final java.lang.Object LOG

    - #### private BeanConfiguration beanConfiguration

    - #### private boolean beanDecorator

    - #### private org.xml.sax.EntityResolver entityResolver

    - #### private org.xml.sax.ErrorHandler errorHandler

    - #### private boolean firstCall

    - #### private org.springframework.beans.factory.xml.NamespaceHandler namespaceHandler

    - #### private org.springframework.beans.factory.xml.ParserContext parserContext

    - #### private java.lang.String rootNamespace

    - #### private int validationMode

    - #### private java.util.Map xmlNamespaces

  - ### Property Detail

    - #### BeanConfiguration beanConfiguration

    - #### boolean beanDecorator

    - #### org.xml.sax.EntityResolver entityResolver

    - #### org.xml.sax.ErrorHandler errorHandler

    - #### boolean firstCall

    - #### org.springframework.beans.factory.xml.NamespaceHandler namespaceHandler

    - #### org.springframework.beans.factory.xml.ParserContext parserContext

    - #### int validationMode

  - ### Constructor Detail

    - #### DynamicElementReader(java.lang.String namespace, java.util.Map namespaceMap, org.springframework.beans.factory.xml.NamespaceHandler namespaceHandler, org.springframework.beans.factory.xml.ParserContext parserContext)

  - ### Method Detail

    - #### protected void afterInvocation()

      Hook that subclass or anonymous classes can overwrite to implement custom behavior after invocation completes

    - #### @java.lang.Override java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)

    - #### void setClassLoader(java.lang.ClassLoader classLoader)