Package org.nuxeo.runtime.util
Class NXRuntimeApplication
- java.lang.Object
-
- org.nuxeo.runtime.util.NXRuntimeApplication
-
public abstract class NXRuntimeApplication extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected File
home
protected RuntimeService
runtime
-
Constructor Summary
Constructors Modifier Constructor Description protected
NXRuntimeApplication()
protected
NXRuntimeApplication(File home)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
deploy(String bundle)
protected void
deployAll()
URL
getResource(String resource)
void
initialize(String[] args)
protected abstract void
run()
void
shutdown()
void
start()
void
start(String[] args)
void
undeploy(String bundle)
-
-
-
Field Detail
-
runtime
protected RuntimeService runtime
-
home
protected final File home
-
-
Constructor Detail
-
NXRuntimeApplication
protected NXRuntimeApplication(File home)
-
NXRuntimeApplication
protected NXRuntimeApplication()
-
-
Method Detail
-
start
public void start() throws InterruptedException
- Throws:
InterruptedException
-
start
public void start(String[] args) throws InterruptedException
- Throws:
InterruptedException
-
initialize
public void initialize(String[] args)
-
shutdown
public void shutdown() throws InterruptedException
- Throws:
InterruptedException
-
deploy
public void deploy(String bundle)
-
undeploy
public void undeploy(String bundle)
-
deployAll
protected void deployAll()
-
run
protected abstract void run()
-
-