createdBy abstract method
Configures a factory method for creating this pod.
factoryClass
: Class containing the factory method.methodName
: Method name to call for pod creation.
Example
spec.createdBy('ServiceFactory', 'createService');
Implementation
Spec<T> createdBy(String factoryClass, String methodName);