Class CreatorImpl<T>

java.lang.Object
org.jvnet.hk2.config.provider.internal.CreatorImpl<T>
All Implemented Interfaces:
Creator<T>

public class CreatorImpl<T> extends Object implements Creator<T>
Author:
jwells
  • Constructor Details

    • CreatorImpl

      public CreatorImpl(Class<?> c, org.glassfish.hk2.api.ServiceLocator locator)
  • Method Details

    • create

      public T create()
      Description copied from interface: Creator
      Creates a new instance. The caller is supposed to call the
      invalid reference
      Creator#initialize(Object, Inhabitant)
      right away. This 2-phase initialization allows us to handle cycle references correctly
      Specified by:
      create in interface Creator<T>