Top Description Constructors Methods
org.testng.internal.objects

public final Class Dispenser

extends Object
Class Inheritance
Imports
org.testng.ITestObjectFactory

Supports Object instantiation taking into account Dependency Injection.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static IObjectDispenser

Returns:

- An IObjectDispenser that backed by the chain of responsibilities.
newInstance
(ITestObjectFactory objectFactory)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Dispenserback to summary
private Dispenser()

Method Detail

newInstanceback to summary
public static IObjectDispenser newInstance(ITestObjectFactory objectFactory)
Returns:IObjectDispenser

- An IObjectDispenser that backed by the chain of responsibilities.