[WFLY-1284] user correct factory API method