org.wso2.carbon.server
Class CarbonLauncher

java.lang.Object
  extended by org.wso2.carbon.server.CarbonLauncher

public class CarbonLauncher
extends Object

Responsible for launching the Carbon server by launching Equinox OSGi framework.


Field Summary
protected static String FILE_SCHEME
           
protected static String FRAMEWORK_BUNDLE_NAME
           
protected static String FRAMEWORKPROPERTIES
           
protected static String NULL_IDENTIFIER
           
protected static String OSGI_CONFIGURATION_AREA
           
protected static String OSGI_FRAMEWORK
           
protected static String OSGI_INSTALL_AREA
           
protected static String OSGI_INSTANCE_AREA
           
protected static String P2_DATA_AREA
           
protected static String STARTER
           
 
Constructor Summary
CarbonLauncher()
           
 
Method Summary
 void launch()
          Launches Equinox OSGi framework by invoking EclipseStarter.startup() method using reflection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_SCHEME

protected static final String FILE_SCHEME
See Also:
Constant Field Values

FRAMEWORK_BUNDLE_NAME

protected static final String FRAMEWORK_BUNDLE_NAME
See Also:
Constant Field Values

STARTER

protected static final String STARTER
See Also:
Constant Field Values

FRAMEWORKPROPERTIES

protected static final String FRAMEWORKPROPERTIES
See Also:
Constant Field Values

NULL_IDENTIFIER

protected static final String NULL_IDENTIFIER
See Also:
Constant Field Values

OSGI_FRAMEWORK

protected static final String OSGI_FRAMEWORK
See Also:
Constant Field Values

OSGI_INSTANCE_AREA

protected static final String OSGI_INSTANCE_AREA
See Also:
Constant Field Values

OSGI_CONFIGURATION_AREA

protected static final String OSGI_CONFIGURATION_AREA
See Also:
Constant Field Values

OSGI_INSTALL_AREA

protected static final String OSGI_INSTALL_AREA
See Also:
Constant Field Values

P2_DATA_AREA

protected static final String P2_DATA_AREA
See Also:
Constant Field Values
Constructor Detail

CarbonLauncher

public CarbonLauncher()
Method Detail

launch

public void launch()
Launches Equinox OSGi framework by invoking EclipseStarter.startup() method using reflection. Creates a ChildFirstClassLoader out of the OSGi framework jar and set the classloader as the framework classloader.



Copyright © 2014 WSO2 Inc. All rights reserved.