public interface Configurer
This interface serves as the the Rumi external configuration
service provider interface. Implementations of this interface are
invoked Main immediately on startup to configure the
platform before the main class loads and starts the requested
Rumi server.
Main class locates an instance of Configurer
using java's standard ServiceLoader.load(Class) mechanism.| Modifier and Type | Method and Description |
|---|---|
String[] |
configure(String[] args)
Invoked to configure the platform.
|
String[] configure(String[] args) throws Exception
args - Contains the arguments supplied to Main
when the Rumi server was started.
This method is invoked by Main on startup. The
Main class invoked this method supplying it the
command line arguments that it received. It expects the
method to perform any platform configuration it needs to
perform and to return back the modified set of arguments
to Main to use.
ExceptionCopyright © 2019 N5 Technologies, Inc. All Rights Reserved.