Package org.fluentlenium.core.inject
Interface ContainerInstantiator
-
- All Known Implementing Classes:
DefaultContainerInstantiator
public interface ContainerInstantiator
Creates container instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
newInstance(Class<T> cls, ContainerContext context)
Creates a new instance of a container class and inject it.
-
-
-
Method Detail
-
newInstance
<T> T newInstance(Class<T> cls, ContainerContext context)
Creates a new instance of a container class and inject it.- Type Parameters:
T
- type of the container- Parameters:
cls
- class of the object to createcontext
- parent content for the newly created container- Returns:
- new instance of the container class
- See Also:
FluentInjectControl.inject(Object)
-
-