public class SpringHostContainer extends Object implements HostContainer, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
SpringHostContainer() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
create(Class<T> moduleClass)
Constructs an instance of a class, matching the constructor with the largest number of arguments first, and
autowires as appropriate.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public <T> T create(Class<T> moduleClass) throws IllegalArgumentException
HostContainercreate in interface HostContainermoduleClass - The classIllegalArgumentException - If unable to instantiate the classpublic void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2019 Atlassian. All rights reserved.