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