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
-
-
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
-
getResource
public URL getResource(String resource)
-
deployAll
protected void deployAll()
-
run
protected abstract void run()
-
-