|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.core.client.ioc.IocContainer
public abstract class IocContainer
| Constructor Summary | |
|---|---|
IocContainer(View view)
Constructor |
|
| Method Summary | ||
|---|---|---|
protected org.cruxframework.crux.core.client.ioc.IocScope |
_getScope(IoCResource.Scope scope)
Retrieve the scope controller for the requested scope |
|
|
get(Class<T> clazz)
Retrieve an object from IoCContainer |
|
|
get(Class<T> clazz,
IoCResource.Scope scope)
Retrieve an object from IoCContainer |
|
|
get(Class<T> clazz,
IoCResource.Scope scope,
String subscope)
Retrieve an object from IoCContainer |
|
View |
getBoundCruxView()
|
|
String |
getBoundCruxViewId()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IocContainer(View view)
view - | Method Detail |
|---|
public <T> T get(Class<T> clazz)
clazz - object class
public <T> T get(Class<T> clazz,
IoCResource.Scope scope)
clazz - object classscope - scope to search for the instance
public <T> T get(Class<T> clazz,
IoCResource.Scope scope,
String subscope)
clazz - object classscope - scope to search for the instancesubscope - subscope to search for the instance
public String getBoundCruxViewId()
getBoundCruxViewId in interface ViewAwarepublic View getBoundCruxView()
getBoundCruxView in interface ViewAwareprotected org.cruxframework.crux.core.client.ioc.IocScope _getScope(IoCResource.Scope scope)
scope -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||