All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.davfx.ninio.proxy.ProxyReadyFactory Maven / Gradle / Ivy

package com.davfx.ninio.proxy;

import com.davfx.ninio.common.Queue;
import com.davfx.ninio.common.Ready;
import com.davfx.ninio.common.ReadyFactory;

final class ProxyReadyFactory implements ReadyFactory {
	private final ProxyReady proxyReady;
	private final String type;
	public ProxyReadyFactory(ProxyReady proxyReady, String type) {
		this.proxyReady = proxyReady;
		this.type = type;
	}

	@Override
	public Ready create(Queue queue) {
		return proxyReady.get(queue, type);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy