public interface JarMode
spring.factories
to provides extended 'jarmode'
support.Modifier and Type | Method and Description |
---|---|
boolean |
accepts(java.lang.String mode)
Returns if this accepts and can run the given mode.
|
void |
run(java.lang.String mode,
java.lang.String[] args)
Run the jar in the given mode.
|
boolean accepts(java.lang.String mode)
mode
- the mode to checkvoid run(java.lang.String mode, java.lang.String[] args)
mode
- the mode to useargs
- any program arguments