public class Singletons extends Object implements IocAdapter
| Constructor and Description |
|---|
Singletons() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(Class<T> type) |
protected <T> T |
postProcess(T instance) |
<T> void |
register(Class<? extends T> type,
T singleton) |
public <T> void register(Class<? extends T> type, T singleton)
public <T> T get(Class<T> type)
get in interface IocAdapterprotected <T> T postProcess(T instance)
Copyright © 2014. All Rights Reserved.