Class JsonbJaxrsProvider.ProvidedInstance

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.function.Function<java.lang.Class<?>,​jakarta.json.bind.Jsonb>
    Enclosing class:
    JsonbJaxrsProvider<T>

    private static final class JsonbJaxrsProvider.ProvidedInstance
    extends java.lang.Object
    implements java.util.function.Function<java.lang.Class<?>,​jakarta.json.bind.Jsonb>, java.lang.AutoCloseable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private jakarta.json.bind.Jsonb instance  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ProvidedInstance​(jakarta.json.bind.Jsonb instance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.json.bind.Jsonb apply​(java.lang.Class<?> aClass)  
      void close()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Field Detail

      • instance

        private final jakarta.json.bind.Jsonb instance
    • Constructor Detail

      • ProvidedInstance

        private ProvidedInstance​(jakarta.json.bind.Jsonb instance)
    • Method Detail

      • apply

        public jakarta.json.bind.Jsonb apply​(java.lang.Class<?> aClass)
        Specified by:
        apply in interface java.util.function.Function<java.lang.Class<?>,​jakarta.json.bind.Jsonb>
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception