Interface Creator<T>
- All Known Implementing Classes:
CreatorImpl
public interface Creator<T>
Encapsulates how to create an object.
Signature-wise it's the same as
but it carries an additional meaning.invalid reference
Inhabitant
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Method Summary
-
Method Details
-
create
Creates a new instance. The caller is supposed to call theright away. This 2-phase initialization allows us to handle cycle references correctlyinvalid reference
Creator#initialize(Object, Inhabitant)- Throws:
org.glassfish.hk2.api.MultiException
-