public interface StartupExtenderImplementation
StartupExtender. Of course it is not mandatory to use such arguments and there is no way to force it.
The implementation should not quote or escape parameters it returns. Each item in the
should be passed as it should be seen by the target process and the API user (launcher) decides on quoting appropriate for the
intended purpose (i.e. to construct a command line, depending on OS).
|Modifier and Type||Interface and Description|
Annotation used to properly register the SPI implementations.
|Modifier and Type||Method and Description|
Returns the list of arguments to pass to the process for the given start mode.
@NonNull List<String> getArguments(@NonNull Lookup context, @NonNull StartupExtender.StartMode mode)
context- the lookup providing the contract between client and provider (see
StartupExtender.getExtenders(Lookup context, StartupExtender.StartMode mode)for details)
mode- the startup mode the client is going to use