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

net.anotheria.moskito.webui.tracers.api.TracerAPIFactory Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package net.anotheria.moskito.webui.tracers.api;

import net.anotheria.anoplass.api.APIFactory;
import net.anotheria.anoplass.api.APIFinder;
import net.anotheria.anoprise.metafactory.ServiceFactory;

/**
 * Factory for Tracer API.
 *
 * @author lrosenberg
 * @since 05.05.15 12:36
 */
public class TracerAPIFactory implements APIFactory, ServiceFactory {
	@Override
	public TracerAPI createAPI() {
		return new TracerAPIImpl();
	}

	@Override
	public TracerAPI create() {
		APIFinder.addAPIFactory(TracerAPI.class, this);
		return APIFinder.findAPI(TracerAPI.class);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy