Package io.kojan.xml

Interface Factory<Type>

Type Parameters:
Type - type of created objects
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 Factory<Type>
A factory of beans of given type.
Author:
Mikolaj Izdebski
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a bean instance.
  • Method Details

    • newInstance

      Type newInstance()
      Creates a bean instance.
      Returns:
      newly-created bean instance