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

com.github.nill14.utils.init.api.ILazyPojo Maven / Gradle / Ivy

The newest version!
package com.github.nill14.utils.init.api;

import java.io.Serializable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;

import javax.inject.Provider;

import com.google.common.reflect.TypeToken;

public interface ILazyPojo extends Serializable {

	T getInstance();
	
	boolean freeInstance();

	TypeToken getType();
	
	Future init(ExecutorService executor);
	
	Future destroy(ExecutorService executor);
	
	Provider toProvider();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy