Class PojoTypes

All Implemented Interfaces:

public class PojoTypes extends Object implements JdbiConfig<PojoTypes>
  • Constructor Details

    • PojoTypes

      public PojoTypes()
  • Method Details

    • 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>
      registry - the registry that owns this configuration object
    • register

      public PojoTypes register(Class<?> key, PojoPropertiesFactory factory)
    • findFor

      public Optional<PojoProperties<?>> findFor(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>
      a copy of this configuration object.