public interface StartupExtenderImplementation
StartupExtender
. Of course it is
not mandatory to use such arguments and there is no way to force it.StartupExtender
,
StartupExtenderImplementation.Registration
Modifier and Type | Interface and Description |
---|---|
static interface |
StartupExtenderImplementation.Registration
Annotation used to properly register the SPI implementations.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getArguments(Lookup context,
StartupExtender.StartMode mode)
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