public class SimpleConstructorHostContainer extends java.lang.Object implements HostContainer
| Constructor and Description |
|---|
SimpleConstructorHostContainer(java.util.Map<java.lang.Class<?>,java.lang.Object> context) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
create(java.lang.Class<T> moduleClass)
Creates a class instance, performing dependency injection using the initialised context map
|
public SimpleConstructorHostContainer(java.util.Map<java.lang.Class<?>,java.lang.Object> context)
public <T> T create(java.lang.Class<T> moduleClass)
throws java.lang.IllegalArgumentException
create in interface HostContainermoduleClass - The target object classjava.lang.IllegalArgumentException - Wraps any exceptions thrown during the constructor callCopyright © 2013 Atlassian. All Rights Reserved.