Package org.jboss.arquillian.drone.spi
Interface Instantiator<T,C extends DroneConfiguration<C>>
-
- Type Parameters:
T- Type of drone instancesC- Type of drone configurations
- All Superinterfaces:
Sortable
public interface Instantiator<T,C extends DroneConfiguration<C>> extends Sortable
Defines a contract for instantiating a DroneDriver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TcreateInstance(C configuration)Creates an instance of Drone Driver.-
Methods inherited from interface org.jboss.arquillian.drone.spi.Sortable
getPrecedence
-
-
-
-
Method Detail
-
createInstance
T createInstance(C configuration)
Creates an instance of Drone Driver.The instance is created before execution of the first method of the test class automatically by calling this method. The object is then bound to the Arquillian context, where it stays until the execution of the last test method is finished.
- Parameters:
configuration- the configuration object for the extension- Returns:
- Newly created instance of the driver
-
-