| Constructor and Description |
|---|
IocContainer(View view)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected org.cruxframework.crux.core.client.ioc.IocScope |
_getScope(IoCResource.Scope scope)
Retrieve the scope controller for the requested scope
|
<T> T |
get(Class<T> clazz)
Retrieve an object from IoCContainer
|
<T> T |
get(Class<T> clazz,
IoCResource.Scope scope)
Retrieve an object from IoCContainer
|
<T> T |
get(Class<T> clazz,
IoCResource.Scope scope,
String subscope)
Retrieve an object from IoCContainer
|
View |
getBoundCruxView() |
String |
getBoundCruxViewId() |
public IocContainer(View view)
view - public <T> T get(Class<T> clazz)
clazz - object classpublic <T> T get(Class<T> clazz, IoCResource.Scope scope)
clazz - object classscope - scope to search for the instancepublic <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 instancepublic String getBoundCruxViewId()
getBoundCruxViewId in interface ViewAwarepublic View getBoundCruxView()
getBoundCruxView in interface ViewAwareprotected org.cruxframework.crux.core.client.ioc.IocScope _getScope(IoCResource.Scope scope)
scope - Copyright © 2015. All rights reserved.