com.github.nill14.utils.init.api.IPojoInitializer Maven / Gradle / Ivy
package com.github.nill14.utils.init.api;
import java.io.Serializable;
import javax.inject.Provider;
import com.github.nill14.utils.init.impl.ChainingPojoInitializer;
import com.github.nill14.utils.init.impl.EmptyPojoInitializer;
public interface IPojoInitializer extends Serializable {
void init(Provider> factory, T instance);
void destroy(Provider> factory, T instance);
static IPojoInitializer empty() {
return EmptyPojoInitializer.getInstance();
}
static IPojoInitializer
© 2015 - 2025 Weber Informatics LLC | Privacy Policy