|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.core.framework.Platform
public class Platform
Defines a generic Platform class that wraps around an
EclipsePlatform
or ServerPlatform
class.
This class is a singleton.
Field Summary | |
---|---|
static int |
ECLIPSE_PLATFORM
|
protected static OSGILauncher |
launcher
|
protected static java.util.logging.Logger |
log
|
protected static IPlatform |
platform
|
protected static int |
platformType
|
static java.lang.String |
PROPERTY_BIRT_HOME
|
static java.lang.String |
PROPERTY_RUN_UNDER_ECLIPSE
Deprecated. since BIRT 2.1 |
static int |
SERVER_PLATFORM
Deprecated. since BIRT 2.1 |
static int |
UNKNOWN_PLATFORM
|
Constructor Summary | |
---|---|
Platform()
|
Method Summary | |
---|---|
static java.net.URL |
asLocalURL(java.net.URL url)
Deprecated. since BIRT 2.1 |
static java.lang.Object |
createFactoryObject(java.lang.String extensionId)
create an object inside the OSGIframework and give it out of the framework. |
static java.net.URL |
find(IBundle bundle,
IPlatformPath path)
Deprecated. since BIRT 2.1 |
static IBundle |
getBundle(java.lang.String symbolicName)
Deprecated. since BIRT 2.1 |
static java.lang.ClassLoader |
getContextClassLoader()
|
static java.lang.String |
getDebugOption(java.lang.String name)
Deprecated. since BIRT 2.1 |
static IExtensionRegistry |
getExtensionRegistry()
|
static int |
getPlatformType()
Deprecated. since BIRT 2.1 |
static void |
initialize(PlatformConfig config)
Deprecated. since BIRT 2.1 |
static void |
intializeTracing(java.lang.String pluginName)
|
static boolean |
runningEclipse()
Deprecated. since BIRT 2.1 |
static void |
setContextClassLoader(java.lang.ClassLoader classLoader)
|
static void |
setPlatform(IPlatform platform)
this class can only be called by org.eclipse.birt.core.plugin.CorePlugin#start(BundleContext) |
static void |
shutdown()
|
static void |
startup(PlatformConfig config)
startup the platform. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_RUN_UNDER_ECLIPSE
public static final java.lang.String PROPERTY_BIRT_HOME
public static int UNKNOWN_PLATFORM
public static int ECLIPSE_PLATFORM
public static final int SERVER_PLATFORM
protected static int platformType
protected static IPlatform platform
protected static java.util.logging.Logger log
protected static OSGILauncher launcher
Constructor Detail |
---|
public Platform()
Method Detail |
---|
public static void startup(PlatformConfig config) throws BirtException
config
- PlatformConfig
BirtException
public static void shutdown()
public static void initialize(PlatformConfig config)
context
- org.eclipse.birt.core.Platform.startup(IPlatformContext context)
public static void setPlatform(IPlatform platform)
platform
- org.eclipes.birt.core.plugin.CorePlugin#start(BundleContext)
public static IExtensionRegistry getExtensionRegistry()
IExtensionRegistry
public static IBundle getBundle(java.lang.String symbolicName)
symbolicName
-
public static java.net.URL find(IBundle bundle, IPlatformPath path)
bundle
- path
-
public static int getPlatformType()
public static java.net.URL asLocalURL(java.net.URL url) throws java.io.IOException
url
-
java.io.IOException
public static boolean runningEclipse()
public static void intializeTracing(java.lang.String pluginName)
public static java.lang.String getDebugOption(java.lang.String name)
name
-
org.eclipse.core.runtime.Platform.getDebugOption(String name)
public static java.lang.Object createFactoryObject(java.lang.String extensionId)
extensionId
- factory extension id
org.eclipse.birt.core.IPlatform#
public static void setContextClassLoader(java.lang.ClassLoader classLoader)
public static java.lang.ClassLoader getContextClassLoader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |