Package groovy.util

Interface ObjectGraphBuilder.NewInstanceResolver

All Known Implementing Classes:
ObjectGraphBuilder.DefaultNewInstanceResolver
Enclosing class:
ObjectGraphBuilder

public static interface ObjectGraphBuilder.NewInstanceResolver
Strategy for creating new instances of a class.
Useful for plug-in calls to non-default constructors.
  • Method Summary

    Modifier and Type
    Method
    Description
    newInstance(Class klass, Map attributes)
    Create a new instance of Class klass.