Class BaseRegisteredServiceSerializer

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>
    Direct Known Subclasses:
    RegisteredServiceJsonSerializer

    public abstract class BaseRegisteredServiceSerializer
    extends org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer<org.apereo.cas.services.RegisteredService>
    Since:
    6.6.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.springframework.context.ConfigurableApplicationContext applicationContext
      Application context used for decorating the object mapper, etc.
      • Fields inherited from class org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer

        MINIMAL_PRETTY_PRINTER
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BaseRegisteredServiceSerializer​(org.springframework.context.ConfigurableApplicationContext applicationContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configureObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper mapper)  
      • Methods inherited from class org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer

        from, from, from, from, from, fromList, getJsonFactory, getObjectMapper, getPrettyPrinter, isDefaultTypingEnabled, readJsonFrom, readObjectFromString, readObjectsFromString, to, to, to, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.util.serialization.StringSerializer

        getContentTypes, getTypeToSerialize, load, load, supports, supports
    • Field Detail

      • applicationContext

        protected final org.springframework.context.ConfigurableApplicationContext applicationContext
        Application context used for decorating the object mapper, etc.
    • Constructor Detail

      • BaseRegisteredServiceSerializer

        protected BaseRegisteredServiceSerializer​(org.springframework.context.ConfigurableApplicationContext applicationContext)
    • Method Detail

      • configureObjectMapper

        protected void configureObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper mapper)
        Overrides:
        configureObjectMapper in class org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer<org.apereo.cas.services.RegisteredService>