public interface Launcher
Launcher
interface is implemented by the delegate classes
inside the Launcher JAR and are used by the actual Main class or servlet to
configure and start the framework.Modifier and Type | Method and Description |
---|---|
void |
setCommandLine(Map<String,String> args)
The commandline provided from the standalone launch case.
|
void |
setNotifiable(Notifiable notifiable)
The
Notifiable to notify on framework stop or update |
void |
setSlingHome(String slingHome)
Sets the sling.home to be used for starting the framework.
|
boolean |
start()
Starts the framework and returns
true if successfull. |
void |
stop()
Stops the framework.
|
void setSlingHome(String slingHome)
null
argument before trying to
start the framework.void setNotifiable(Notifiable notifiable)
Notifiable
to notify on framework stop or updatevoid setCommandLine(Map<String,String> args)
boolean start()
true
if successfull.void stop()
Copyright © 2017 The Apache Software Foundation. All rights reserved.