Enhance the java doc of dubbo-container module (#3437)

Fixes #2994
This commit is contained in:
Ankit Kumar 2019-02-11 08:45:27 +05:30 committed by Ian Luo
parent b2901f5cb4
commit e9e176b1f1
5 changed files with 10 additions and 2 deletions

View File

@ -25,12 +25,12 @@ import org.apache.dubbo.common.extension.SPI;
public interface Container {
/**
* start.
* start method to load the container.
*/
void start();
/**
* stop.
* stop method to unload the container.
*/
void stop();

View File

@ -33,6 +33,8 @@ import java.util.concurrent.locks.ReentrantLock;
/**
* Main. (API, Static, ThreadSafe)
*
* This class is entry point loading containers.
*/
public class Main {

View File

@ -30,6 +30,8 @@ import java.util.Properties;
/**
* Log4jContainer. (SPI, Singleton, ThreadSafe)
*
* The container class implementation for Log4j
*/
public class Log4jContainer implements Container {

View File

@ -31,6 +31,8 @@ import org.slf4j.LoggerFactory;
/**
* LogbackContainer. (SPI, Singleton, ThreadSafe)
*
* The container class implementation for Logback
*/
public class LogbackContainer implements Container {

View File

@ -26,6 +26,8 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* SpringContainer. (SPI, Singleton, ThreadSafe)
*
* The container class implementation for Spring
*/
public class SpringContainer implements Container {