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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
newInstance()
Creates a bean instance.
-
-
-
Method Detail
-
newInstance
Type newInstance()
Creates a bean instance.- Returns:
- newly-created bean instance
-
-