|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.launcher.felix.JOnAS
public class JOnAS
JOnAS Running on OSGi/Felix.
Constructor Summary | |
---|---|
JOnAS(boolean forceCleanUp)
Creates a new configured framework instance. |
Method Summary | |
---|---|
protected IConfigurationProvider |
getConfigurationProvider()
|
protected void |
initializeSystemProperties()
Initialize required System properties (using reasonable default values when needed). |
static void |
main(String[] args)
Start a new JOnAS. |
protected void |
setDefaultPropertyIfNotSet(String key,
String def)
If the property was already set, do not change its value, otherwise, use the default. |
void |
start()
Start JOnAS on Felix. |
protected void |
startTransient(org.osgi.framework.Bundle bundle)
The bundle start operation is transient for the given bundle. |
protected void |
startTransientBundles()
The bundle start operation is transient for TUI and GUI bundles. |
void |
stop()
Stop JOnAS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JOnAS(boolean forceCleanUp) throws Exception
forceCleanUp
- true if cache directory must be deleted.
Exception
- cannot create the internal gateway.Method Detail |
---|
public void start() throws Exception
Exception
- Thrown if the start failspublic void stop() throws Exception
Exception
- Thrown if the stop failsprotected IConfigurationProvider getConfigurationProvider()
IConfigurationProvider
.public static void main(String[] args) throws Exception
args
- not used
Exception
- if something failedprotected void initializeSystemProperties()
protected void setDefaultPropertyIfNotSet(String key, String def)
key
- property namedef
- default property valueprotected void startTransientBundles() throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
- If bundles startup failsprotected void startTransient(org.osgi.framework.Bundle bundle) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
- If bundle startup fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |