public class Restarter extends Object
| 限定符 | 构造器和说明 |
|---|---|
protected |
Restarter(String[] args,
PatternClassPathStrategy initializer,
Thread thread) |
| 限定符和类型 | 方法和说明 |
|---|---|
URL[] |
getBaseUrls() |
static Restarter |
getInstance() |
static void |
initialize(String[] args,
PatternClassPathStrategy initializer) |
protected Throwable |
relaunch(ClassLoader classLoader) |
void |
restart() |
protected Object |
start() |
protected void |
stop() |
protected Restarter(String[] args, PatternClassPathStrategy initializer, Thread thread)
public static Restarter getInstance()
public static void initialize(String[] args, PatternClassPathStrategy initializer)
public URL[] getBaseUrls()
protected Throwable relaunch(ClassLoader classLoader) throws Exception
Exceptionpublic void restart()
protected void stop()
Copyright © 2020. All rights reserved.