Class DefaultGrailsCodecClass

  • All Implemented Interfaces:
    grails.core.GrailsClass, grails.core.InjectableGrailsClass, grails.core.support.GrailsApplicationAware, GrailsCodecClass, org.grails.encoder.CodecFactory, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.core.Ordered

    public class DefaultGrailsCodecClass
    extends org.grails.core.AbstractInjectableGrailsClass
    implements org.springframework.beans.factory.InitializingBean, GrailsCodecClass, org.springframework.core.Ordered
    Since:
    0.4
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CODEC  
      • Fields inherited from class org.grails.core.AbstractGrailsClass

        grailsApplication
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      protected java.lang.Object autowireCodecBean​(java.lang.Object existingBean)  
      void configureCodecMethods()  
      org.grails.encoder.Decoder getDecoder()  
      org.grails.encoder.Encoder getEncoder()  
      int getOrder()  
      • Methods inherited from class org.grails.core.AbstractInjectableGrailsClass

        byName, byType, getAvailable
      • Methods inherited from class org.grails.core.AbstractGrailsClass

        getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getMetaProperties, getName, getNaturalName, getPackageName, getPluginName, getPropertyDescriptors, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValueObject, getReferenceInstance, getShortName, getStaticPropertyValue, hasMetaMethod, hasMetaMethod, hasMetaProperty, hasProperty, isAbstract, isReadableProperty, newInstance, setGrailsApplication, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface grails.core.support.GrailsApplicationAware

        setGrailsApplication
      • Methods inherited from interface grails.core.GrailsClass

        getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance
      • Methods inherited from interface grails.core.InjectableGrailsClass

        byName, byType, getAvailable
    • Constructor Detail

      • DefaultGrailsCodecClass

        public DefaultGrailsCodecClass​(java.lang.Class<?> clazz)
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • autowireCodecBean

        protected java.lang.Object autowireCodecBean​(java.lang.Object existingBean)
      • getEncoder

        public org.grails.encoder.Encoder getEncoder()
        Specified by:
        getEncoder in interface org.grails.encoder.CodecFactory
      • getDecoder

        public org.grails.encoder.Decoder getDecoder()
        Specified by:
        getDecoder in interface org.grails.encoder.CodecFactory
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered