| Package | Description |
|---|---|
| org.cruxframework.crux.core.ioc | |
| org.cruxframework.crux.core.rebind.ioc |
| Modifier and Type | Class and Description |
|---|---|
class |
IocConfigImpl<T> |
| Modifier and Type | Method and Description |
|---|---|
protected <T> IocConfig<T> |
IocContainerConfigurations.bindType(Class<T> clazz)
Call this method on your configure method to create a configuration for some Type.
|
IocConfig<T> |
IocConfigImpl.runtimeAccessible(boolean accessible) |
IocConfig<T> |
IocConfig.runtimeAccessible(boolean accessible)
By default, types assigned to container can not be requested directly by user programmatically.
|
IocConfig<T> |
IocConfig.scope(IoCResource.Scope scope)
Defines the scope where the created object will be saved
|
IocConfig<T> |
IocConfig.toClass(Class<? extends T> toClass)
Bound a new concrete class that will be returned when given class is requested to IOC container.
|
IocConfig<T> |
IocConfig.toProvider(Class<? extends IocProvider<? extends T>> providerClass)
Bound a provider class that will be used to instantiate new objects by IOC container.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,IocConfig<?>> |
IocContainerManager.getConfigurationsForView(View view,
DeviceAdaptive.Device device) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,IocConfig<?>> |
IocContainerRebind.configurations |
Copyright © 2015. All rights reserved.