public class DefaultContainerInstanciator extends java.lang.Object implements ContainerInstanciator
| Constructor and Description |
|---|
DefaultContainerInstanciator(FluentControl control)
Creates a new container instanciator
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
newInstance(java.lang.Class<T> cls,
ContainerContext context)
Creates a new instance of a container class and inject it.
|
public DefaultContainerInstanciator(FluentControl control)
control - FluentLenium controlpublic <T> T newInstance(java.lang.Class<T> cls,
ContainerContext context)
ContainerInstanciatornewInstance in interface ContainerInstanciatorT - type of the containercls - class of the object to createcontext - parent content for the newly created containerFluentInjectControl.inject(Object)Copyright © 2018 FluentLenium. All Rights Reserved.