diff --git a/src/juard/injection/Locator.java b/src/juard/injection/Locator.java index f7b4187..45facd3 100644 --- a/src/juard/injection/Locator.java +++ b/src/juard/injection/Locator.java @@ -13,8 +13,19 @@ */ public class Locator { - private interface ServiceInstanceCreator + /** + * This interface is used to create instances of a specific type. + * + * @author hauke + * + * @param + * The type which instance should be created. + */ + public interface ServiceInstanceCreator { + /** + * @return An instance of Type {@code T}. + */ T resolve(); }