public void setLauncherData(LauncherData launcherData) { loadDelegate(); manipulator.setLauncherData(launcherData); } }
public void setLauncherData(LauncherData launcherData) { loadDelegate(); manipulator.setLauncherData(launcherData); } }
/** * If useFwPersistentData flag equals false, this constructor will not take * a framework persistent data into account. Otherwise, it will. * * @param context * @param fwAdmin * @param manipulator * @param useFwPersistentData */ EquinoxBundlesState(BundleContext context, EquinoxFwAdminImpl fwAdmin, Manipulator manipulator, PlatformAdmin admin, boolean useFwPersistentData) { this.context = context; this.fwAdmin = fwAdmin; this.platformAdmin = admin; // copy manipulator object for avoiding modifying the parameters of the // manipulator. this.manipulator = fwAdmin.getManipulator(); this.manipulator.setConfigData(manipulator.getConfigData()); this.manipulator.setLauncherData(manipulator.getLauncherData()); initialize(useFwPersistentData); }
/** * If the manifest of the target fw implementation has Constants.BUNDLE_SYMBOLICNAME header, * this constructor should be used. * * @param ManipulatorAdmin * @param Manipulator * @param systemBundleSymbolicName */ public SimpleBundlesState(FrameworkAdmin ManipulatorAdmin, Manipulator Manipulator, String systemBundleSymbolicName) { super(); this.fwAdmin = ManipulatorAdmin; // copy Manipulator object for avoiding modifying the parameters of the Manipulator. this.manipulator = ManipulatorAdmin.getManipulator(); this.manipulator.setConfigData(Manipulator.getConfigData()); this.manipulator.setLauncherData(Manipulator.getLauncherData()); this.systemBundleSymbolicName = systemBundleSymbolicName; this.systemBundleName = null; this.systemBundleVendor = null; initialize(); }
/** * If useFwPersistentData flag equals false, this constructor will not take * a framework persistent data into account. Otherwise, it will. * * @param context * @param fwAdmin * @param manipulator * @param useFwPersistentData */ EquinoxBundlesState(BundleContext context, EquinoxFwAdminImpl fwAdmin, Manipulator manipulator, PlatformAdmin admin, boolean useFwPersistentData) { this.context = context; this.fwAdmin = fwAdmin; this.platformAdmin = admin; // copy manipulator object for avoiding modifying the parameters of the // manipulator. this.manipulator = fwAdmin.getManipulator(); this.manipulator.setConfigData(manipulator.getConfigData()); this.manipulator.setLauncherData(manipulator.getLauncherData()); initialize(useFwPersistentData); }
/** * If the manifest of the target fw implementation has not Constants.BUNDLE_SYMBOLICNAME header * but , Constants.BUNDLE_NAME and BUNDLE_VERSION, * this constructor should be used. * * @param ManipulatorAdmin * @param Manipulator * @param systemBundleName * @param systemBundleVender */ public SimpleBundlesState(FrameworkAdmin ManipulatorAdmin, Manipulator Manipulator, String systemBundleName, String systemBundleVender) { super(); this.fwAdmin = ManipulatorAdmin; // copy Manipulator object for avoiding modifying the parameters of the Manipulator. this.manipulator = ManipulatorAdmin.getManipulator(); this.manipulator.setConfigData(Manipulator.getConfigData()); this.manipulator.setLauncherData(Manipulator.getLauncherData()); this.systemBundleSymbolicName = null; this.systemBundleName = systemBundleName; this.systemBundleVendor = systemBundleVender; initialize(); }
/** * If the manifest of the target fw implementation has Constants.BUNDLE_SYMBOLICNAME header, * this constructor should be used. * * @param ManipulatorAdmin * @param Manipulator * @param systemBundleSymbolicName */ public SimpleBundlesState(FrameworkAdmin ManipulatorAdmin, Manipulator Manipulator, String systemBundleSymbolicName) { super(); this.fwAdmin = ManipulatorAdmin; // copy Manipulator object for avoiding modifying the parameters of the Manipulator. this.manipulator = ManipulatorAdmin.getManipulator(); this.manipulator.setConfigData(Manipulator.getConfigData()); this.manipulator.setLauncherData(Manipulator.getLauncherData()); this.systemBundleSymbolicName = systemBundleSymbolicName; this.systemBundleName = null; this.systemBundleVendor = null; initialize(); }
/** * If the manifest of the target fw implementation has Constants.BUNDLE_SYMBOLICNAME header, * this constructor should be used. * * @param ManipulatorAdmin * @param Manipulator * @param systemBundleSymbolicName */ public SimpleBundlesState(FrameworkAdmin ManipulatorAdmin, Manipulator Manipulator, String systemBundleSymbolicName) { super(); this.fwAdmin = ManipulatorAdmin; // copy Manipulator object for avoiding modifying the parameters of the Manipulator. this.manipulator = ManipulatorAdmin.getManipulator(); this.manipulator.setConfigData(Manipulator.getConfigData()); this.manipulator.setLauncherData(Manipulator.getLauncherData()); this.systemBundleSymbolicName = systemBundleSymbolicName; this.systemBundleName = null; this.systemBundleVendor = null; initialize(); }
/** * If the manifest of the target fw implementation has not Constants.BUNDLE_SYMBOLICNAME header * but , Constants.BUNDLE_NAME and BUNDLE_VERSION, * this constructor should be used. * * @param ManipulatorAdmin * @param Manipulator * @param systemBundleName * @param systemBundleVender */ public SimpleBundlesState(FrameworkAdmin ManipulatorAdmin, Manipulator Manipulator, String systemBundleName, String systemBundleVender) { super(); this.fwAdmin = ManipulatorAdmin; // copy Manipulator object for avoiding modifying the parameters of the Manipulator. this.manipulator = ManipulatorAdmin.getManipulator(); this.manipulator.setConfigData(Manipulator.getConfigData()); this.manipulator.setLauncherData(Manipulator.getLauncherData()); this.systemBundleSymbolicName = null; this.systemBundleName = systemBundleName; this.systemBundleVendor = systemBundleVender; initialize(); }
/** * If the manifest of the target fw implementation has not Constants.BUNDLE_SYMBOLICNAME header * but , Constants.BUNDLE_NAME and BUNDLE_VERSION, * this constructor should be used. * * @param ManipulatorAdmin * @param Manipulator * @param systemBundleName * @param systemBundleVender */ public SimpleBundlesState(FrameworkAdmin ManipulatorAdmin, Manipulator Manipulator, String systemBundleName, String systemBundleVender) { super(); this.fwAdmin = ManipulatorAdmin; // copy Manipulator object for avoiding modifying the parameters of the Manipulator. this.manipulator = ManipulatorAdmin.getManipulator(); this.manipulator.setConfigData(Manipulator.getConfigData()); this.manipulator.setLauncherData(Manipulator.getLauncherData()); this.systemBundleSymbolicName = null; this.systemBundleName = systemBundleName; this.systemBundleVendor = systemBundleVender; initialize(); }
/** * This constructor does NOT take a framework persistent data into account. * It will create State object based on the specified platformProperties. * * @param context * @param fwAdmin * @param manipulator * @param platformProperties */ EquinoxBundlesState(BundleContext context, EquinoxFwAdminImpl fwAdmin, Manipulator manipulator, PlatformAdmin admin, Properties platformProperties) { super(); this.context = context; this.fwAdmin = fwAdmin; this.platformAdmin = admin; // copy manipulator object for avoiding modifying the parameters of the // manipulator. this.manipulator = fwAdmin.getManipulator(); this.manipulator.setConfigData(manipulator.getConfigData()); this.manipulator.setLauncherData(manipulator.getLauncherData()); LauncherData launcherData = manipulator.getLauncherData(); ConfigData configData = manipulator.getConfigData(); BundleInfo[] bInfos = configData.getBundles(); this.composeNewState(launcherData, configData, platformProperties, bInfos); }
/** * This constructor does NOT take a framework persistent data into account. * It will create State object based on the specified platformProperties. * * @param context * @param fwAdmin * @param manipulator * @param platformProperties */ EquinoxBundlesState(BundleContext context, EquinoxFwAdminImpl fwAdmin, Manipulator manipulator, PlatformAdmin admin, Properties platformProperties) { super(); this.context = context; this.fwAdmin = fwAdmin; this.platformAdmin = admin; // copy manipulator object for avoiding modifying the parameters of the // manipulator. this.manipulator = fwAdmin.getManipulator(); this.manipulator.setConfigData(manipulator.getConfigData()); this.manipulator.setLauncherData(manipulator.getLauncherData()); LauncherData launcherData = manipulator.getLauncherData(); ConfigData configData = manipulator.getConfigData(); BundleInfo[] bInfos = configData.getBundles(); this.composeNewState(launcherData, configData, platformProperties, bInfos); }