Improve performance of Dynamic Application Factories
Also added a method overload to provide a Package Name. Useful for DX based second generation packages. Now each package can have their own bindings.
This commit is contained in:
+5
@@ -132,6 +132,11 @@ public virtual class fflib_AppBindingResolver
|
||||
return this;
|
||||
}
|
||||
|
||||
public fflib_IAppBindingResolver byPackageName(String packageName)
|
||||
{
|
||||
this.bindingToResolve.setPackageName(packageName);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles lazy loading of modules, if no custom module is configured (via addModule) the default module is returned
|
||||
|
||||
Reference in New Issue
Block a user