public ServiceHost startFactory(Supplier<FactoryService> factoryCreator,String servicePath){
  Operation post=Operation.createPost(UriUtils.buildUri(this,servicePath));
  FactoryService factoryService=factoryCreator.get();
  return startService(post,factoryService);
}

public ServiceHost startFactory ( Supplier < FactoryService > factoryCreator , String servicePath ) { Operation post = Operation . createPost ( UriUtils . buildUri ( this , servicePath ) ) ; FactoryService factoryService = factoryCreator . get ( ) ; return startService ( post , factoryService ) ; }
starts a factory service using the provided factory creator and the provided factory uri . this is helpful for starting a factory with a custom path .
