org.openfact.provider.ProviderFactory Maven / Gradle / Ivy
package org.openfact.provider;
/**
* At boot time, openfact discovers all factories. For each discovered factory, the init() method is called. After
* all factories have been initialized, the postInit() method is called. close() is called when the server shuts down.
*
* Only one instance of a factory exists per server.
*/
public interface ProviderFactory {
T create();
String getId();
}