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

com.shark.container.boot.Boot Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package com.shark.container.boot;

import com.shark.container.Container;

/**
 * @Author: SuLiang
 * @Date: 2018/11/14
 */
public interface Boot {

	/**
	 * Set a container
	 * @param container that need to be started
	 * @return Boot
	 */
	Boot container(Container container);

	/**
	 * Get the container
	 * @param  The type of Container
	 * @return Container
	 */
	 T container();

	/**
	 * Launch the container
	 * @return Boot
	 */
	Boot launch();

	/**
	 * Provide a default container
	 * @return Container
	 */
	Container provide();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy