NewComponentInfo - Add dependency in setDriverFor

This commit is contained in:
Emmanuel BENOîT 2015-09-13 16:09:13 +02:00
parent 095ecca3dc
commit f115bb7168

View file

@ -354,6 +354,7 @@ public final class NewComponentInfo< T >
public NewComponentInfo< T > setDriverFor( final String driverFor )
{
this.driverFor = driverFor;
this.dependencies.add( new DependencyInfo( driverFor ) );
return this;
}