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 Inhabitant
but it carries an additional meaning.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Creators
-
Method Summary
-
Method Details
-
create
Creates a new instance. The caller is supposed to call theCreator#initialize(Object, Inhabitant)right away. This 2-phase initialization allows us to handle cycle references correctly- Throws:
org.glassfish.hk2.api.MultiException
-