This class is mis-named.  A factory "creates" instances of the target class.  The fact that this class requires that the class instance be set by calling a setter method means this class is a singlton rather than a factory.  Please rename the class.