org.eclipse.birt.core.framework
Class PlatformConfig
java.lang.Object
org.eclipse.birt.core.framework.PlatformConfig
- All Implemented Interfaces:
- IPlatformConfig
public class PlatformConfig
- extends java.lang.Object
- implements IPlatformConfig
Defines an implementation of IPlatformConfig to access OSGi framework.
implements the interface IPlatformConfig
Field Summary |
protected java.util.HashMap |
properties
the properties that needed when platfrom is running it's an instance of
HashMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
protected java.util.HashMap properties
- the properties that needed when platfrom is running it's an instance of
HashMap
PlatformConfig
public PlatformConfig()
getProperty
public java.lang.Object getProperty(java.lang.String name)
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
getProperties
public java.util.HashMap getProperties()
getBIRTHome
public java.lang.String getBIRTHome()
setBIRTHome
public void setBIRTHome(java.lang.String birtHome)
getOSGiArguments
public java.lang.String[] getOSGiArguments()
setOSGiArguments
public void setOSGiArguments(java.lang.String[] arguments)
setOSGiConfig
public void setOSGiConfig(java.util.Map osgiConfigMap)
- set the configuration used by the OSGi framework. The configuration
includes all valid osgi configs except some reserved as follow:
- 1. osgi.install.area, using the one defined by BIRT_HOME.
- 2. eclipse.ignoreApp, be true.
- 3. osgi.noShutDown, be true.
- 4. osgi.framework, using the one defined by BIRT_HOME
- 5. osgi.framework.useSystemProperties, be false.
- Parameters:
osgiConfigMap
-
getOSGiConfig
public java.util.Map getOSGiConfig()
getPlatformContext
public IPlatformContext getPlatformContext()
setPlatformContext
public void setPlatformContext(IPlatformContext context)
Copyright © 2008 Actuate Corp. All rights reserved.