Class 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 Detail

      • properties

        protected java.util.HashMap properties
        the properties that needed when platfrom is running it's an instance of HashMap
    • Constructor Detail

      • PlatformConfig

        public PlatformConfig()
    • Method Detail

      • 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 -