net.anotheria.portalkit.apis.asynctask.AsyncTaskAPIFactory Maven / Gradle / Ivy
package net.anotheria.portalkit.apis.asynctask;
import net.anotheria.anoplass.api.APIFactory;
import net.anotheria.portalkit.apis.asynctask.broker.AsyncTaskMessageBroker;
/**
* @author ynikonchuk
*/
public class AsyncTaskAPIFactory implements APIFactory {
private final AsyncTaskMessageBroker messageBroker;
public AsyncTaskAPIFactory(AsyncTaskMessageBroker messageBroker) {
this.messageBroker = messageBroker;
}
@Override
public AsyncTaskAPI createAPI() {
return new AsyncTaskAPIImpl(messageBroker);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy