Class DefaultCodecLookup

  • All Implemented Interfaces:
    grails.core.support.GrailsApplicationAware, org.grails.encoder.CodecLookup, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean

    public class DefaultCodecLookup
    extends org.grails.encoder.impl.BasicCodecLookup
    implements grails.core.support.GrailsApplicationAware
    Since:
    2.3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.springframework.context.ApplicationContext applicationContext  
      protected grails.core.GrailsApplication grailsApplication  
      • Fields inherited from class org.grails.encoder.impl.BasicCodecLookup

        decoders, encoders, NONE_ENCODER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void registerCodec​(GrailsCodecClass grailsClass)  
      protected void registerCodecs()  
      void setGrailsApplication​(grails.core.GrailsApplication grailsApplication)  
      • Methods inherited from class org.grails.encoder.impl.BasicCodecLookup

        afterPropertiesSet, createChainedCodecInstance, createCodec, createNameVariations, lookupCodec, lookupDecoder, lookupEncoder, putChainedCodecInstance, registerCodecFactory, registerDecoder, registerEncoder, registerVariationsOfName, registerWithNameVaritions, reInitialize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
      • grailsApplication

        protected grails.core.GrailsApplication grailsApplication
    • Constructor Detail

      • DefaultCodecLookup

        public DefaultCodecLookup​(grails.core.GrailsApplication grailsApplication)
      • DefaultCodecLookup

        public DefaultCodecLookup()
    • Method Detail

      • registerCodecs

        protected void registerCodecs()
        Overrides:
        registerCodecs in class org.grails.encoder.impl.BasicCodecLookup
      • setGrailsApplication

        public void setGrailsApplication​(grails.core.GrailsApplication grailsApplication)
        Specified by:
        setGrailsApplication in interface grails.core.support.GrailsApplicationAware