Skip to content

Commit

Permalink
Made ServiceInstanceCreator public
Browse files Browse the repository at this point in the history
  • Loading branch information
hauke96 committed May 30, 2017
1 parent 414a886 commit f4646ed
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/juard/injection/Locator.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,19 @@
*/
public class Locator
{
private interface ServiceInstanceCreator<T>
/**
* This interface is used to create instances of a specific type.
*
* @author hauke
*
* @param <T>
* The type which instance should be created.
*/
public interface ServiceInstanceCreator<T>
{
/**
* @return An instance of Type {@code T}.
*/
T resolve();
}

Expand Down

0 comments on commit f4646ed

Please sign in to comment.