Class PojoTypes

    • Constructor Detail

      • PojoTypes

        public PojoTypes()
      • PojoTypes

        private PojoTypes​(PojoTypes other)
    • Method Detail

      • setRegistry

        public void setRegistry​(ConfigRegistry registry)
        Description copied from interface: JdbiConfig
        The registry will inject itself into the configuration object. This can be useful if you need to look up dependencies. You will get a new registry after being copied.
        Specified by:
        setRegistry in interface JdbiConfig<PojoTypes>
        Parameters:
        registry - the registry that owns this configuration object
      • findFor

        public java.util.Optional<PojoProperties<?>> findFor​(java.lang.reflect.Type type)
      • createCopy

        public PojoTypes createCopy()
        Description copied from interface: JdbiConfig
        Returns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.
        Specified by:
        createCopy in interface JdbiConfig<PojoTypes>
        Returns:
        a copy of this configuration object.