接口 JarMode
public interface JarMode
Interface registered in
spring.factories
to provides extended 'jarmode'
support.- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb
-
方法概要
-
方法详细资料
-
accepts
Returns if this accepts and can run the given mode.- 参数:
mode
- the mode to check- 返回:
- if this instance accepts the mode
-
run
Run the jar in the given mode.- 参数:
mode
- the mode to useargs
- any program arguments- 抛出:
JarModeErrorException
- on an error that should print a simple error message
-