public interface JobProxyFactory
JobProxy
,
depending on the implementation.
To use a custom JobProxy
, create an implementation of that interface, an implementation
of this interface which instantiates the custom proxy and finally reference the custom factory
in the config JobsResourceConfig.CONFIG_JOB_PROXY_FACTORY
.Modifier and Type | Method and Description |
---|---|
JobProxy |
getJobProxy(JobsResourceConfig config)
Creates a new
JobProxy and initializes it with the specified config. |
JobProxy getJobProxy(JobsResourceConfig config)
JobProxy
and initializes it with the specified config.config
- the JobsResourceConfig
to pass to the proxy.