Interface FactoryCreator

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FactoryCreator
An object capable of providing factories that produce an instance for a given class name.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> @NonNull javax.cache.configuration.Factory<T>
    factoryOf(String className)
    Returns a Factory that will produce instances of the specified class.
  • Method Details

    • factoryOf

      <T> @NonNull javax.cache.configuration.Factory<T> factoryOf(String className)
      Returns a Factory that will produce instances of the specified class.
      Type Parameters:
      T - the type of the instances being produced
      Parameters:
      className - the fully qualified name of the desired class
      Returns:
      a Factory for the specified class