|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.launcher.jonas.JOnAS
public class JOnAS
JOnAS Running on OSGi framework.
| Constructor Summary | |
|---|---|
JOnAS(boolean forceCleanUp)
Creates a new configured framework instance. |
|
| Method Summary | |
|---|---|
protected IConfigurationProvider |
getConfigurationProvider()
|
org.osgi.framework.launch.Framework |
getFramework()
|
protected void |
initializeSystemProperties()
Initialize required System properties (using reasonable default values when needed). |
static void |
main(java.lang.String[] args)
Start a new JOnAS. |
protected void |
processBundles()
Auto install and auto start the bundles. |
protected void |
setDefaultPropertyIfNotSet(java.lang.String key,
java.lang.String def)
If the property was already set, do not change its value, otherwise, use the default. |
void |
start()
Start JOnAS on the gateway. |
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 java.lang.Exception
forceCleanUp - true if cache directory must be deleted.
java.lang.Exception - cannot create the internal gateway.| Method Detail |
|---|
public void start()
throws java.lang.Exception
java.lang.Exception - Thrown if the start fails
public void stop()
throws java.lang.Exception
java.lang.Exception - Thrown if the stop failsprotected IConfigurationProvider getConfigurationProvider()
IConfigurationProvider.
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - not used
java.lang.Exception - if something failedprotected void initializeSystemProperties()
protected void setDefaultPropertyIfNotSet(java.lang.String key,
java.lang.String def)
key - property namedef - default property value
protected void startTransientBundles()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException - If bundles startup failsprotected void processBundles()
protected void startTransient(org.osgi.framework.Bundle bundle)
throws org.osgi.framework.BundleException
bundle - the given bundle.
org.osgi.framework.BundleException - If bundle startup failspublic org.osgi.framework.launch.Framework getFramework()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||