code: public void setActionStubFactory(ActionStubFactory actionStubFactory) {
  		this.actionStubFactory = actionStubFactory;
  		if (actionStubFactory != null) {
  			actionStubFactory.init(new ActionStubFactoryContext() {
  
  				@Override
  				public ServiceUrlProvider getServiceUrlProvider() {
  					return moduleRegistry.getResourceRegistry().getServiceUrlProvider();
  				}
  
  				@Override
  				public HttpAdapter getHttpAdapter() {
  					return httpAdapter;
  				}
  			});
  		}
  	}
docs: Sets the factory to use to create action stubs (like JAX-RS annotated
  repository methods).
  
  @param actionStubFactory
  to use