You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
422 B
22 lines
422 B
7 years ago
|
package com.fr.start.module;
|
||
|
|
||
|
import com.fr.module.Activator;
|
||
7 years ago
|
import com.fr.start.server.FineEmbedServer;
|
||
7 years ago
|
|
||
|
/**
|
||
|
* Created by juhaoyu on 2018/6/6.
|
||
|
* 基于env的模块启动关闭
|
||
|
*/
|
||
|
public class EnvBasedModule extends Activator {
|
||
|
|
||
|
@Override
|
||
|
public void start() {
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void stop() {
|
||
|
//先关闭tomcat(如果已经启动了的话)
|
||
7 years ago
|
FineEmbedServer.stop();
|
||
7 years ago
|
}
|
||
|
}
|