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(java.util.Map<java.lang.String,java.lang.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(java.lang.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(java.lang.String slingHome)
null
argument before trying to
start the framework.void setNotifiable(Notifiable notifiable)
Notifiable
to notify on framework stop or updatevoid setCommandLine(java.util.Map<java.lang.String,java.lang.String> args)
boolean start()
true
if successfull.void stop()
Copyright © 2018 The Apache Software Foundation. All rights reserved.