All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fluentlenium.core.inject.ContainerInstantiator Maven / Gradle / Ivy

package org.fluentlenium.core.inject;

/**
 * Creates container instances.
 */
public interface ContainerInstantiator {

    /**
     * Creates a new instance of a container class and inject it.
     *
     * @param cls     class of the object to create
     * @param context parent content for the newly created container
     * @param      type of the container
     * @return new instance of the container class
     * @see FluentInjectControl#inject(Object)
     */
     T newInstance(Class cls, ContainerContext context);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy