public String[] getUnsatisfiedConstraints(BundleInfo bInfo) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("getUnsatisfiedConstraints(BundleInfo bInfo) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ }
public void resolve(boolean increment) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("resolve(boolean increment) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ }
@Override public String[] getUnsatisfiedConstraints(BundleInfo bInfo) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("getUnsatisfiedConstraints(BundleInfo bInfo) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ }
@Override public boolean isResolved() throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("isResolved() is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ }
@Override public boolean isResolved(BundleInfo bInfo) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("isResolved(BundleInfo bInfo) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ }
@Override public void resolve(boolean increment) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("resolve(boolean increment) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ }
public boolean isResolved() throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("isResolved() is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ }
public boolean isResolved(BundleInfo bInfo) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("isResolved(BundleInfo bInfo) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ }
public boolean isResolved() throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("isResolved() is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); }
public String[] getUnsatisfiedConstraints(BundleInfo bInfo) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("getUnsatisfiedConstraints(BundleInfo bInfo) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); }
public boolean isResolved(BundleInfo bInfo) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("isResolved(BundleInfo bInfo) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); }
public void resolve(boolean increment) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("resolve(boolean increment) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); }
/** * Check if the specified FrameworkAdmin is available. * * @param fwAdmin * @throws FrameworkAdminRuntimeException */ public static void checkAvailability(FrameworkAdmin fwAdmin) throws FrameworkAdminRuntimeException { if (!fwAdmin.isActive()) throw new FrameworkAdminRuntimeException("FrameworkAdmin creates this object is no more available.", FrameworkAdminRuntimeException.FRAMEWORKADMIN_UNAVAILABLE); //$NON-NLS-1$ }
/** * Check if the specified FrameworkAdmin is available. * * @param fwAdmin * @throws FrameworkAdminRuntimeException */ public static void checkAvailability(FrameworkAdmin fwAdmin) throws FrameworkAdminRuntimeException { if (!fwAdmin.isActive()) throw new FrameworkAdminRuntimeException("FrameworkAdmin creates this object is no more available.", FrameworkAdminRuntimeException.FRAMEWORKADMIN_UNAVAILABLE); }
/** * Check if the specified FrameworkAdmin is available. * * @param fwAdmin * @throws FrameworkAdminRuntimeException */ public static void checkAvailability(FrameworkAdmin fwAdmin) throws FrameworkAdminRuntimeException { if (!fwAdmin.isActive()) throw new FrameworkAdminRuntimeException("FrameworkAdmin creates this object is no more available.", FrameworkAdminRuntimeException.FRAMEWORKADMIN_UNAVAILABLE); //$NON-NLS-1$ }
public BundleInfo[] getExpectedState() throws FrameworkAdminRuntimeException { if (!fwAdmin.isActive()) throw new FrameworkAdminRuntimeException("FrameworkAdmin creates this object is no more available.", FrameworkAdminRuntimeException.FRAMEWORKADMIN_UNAVAILABLE); //$NON-NLS-1$ return Utils.getBundleInfosFromList(this.bundleInfosList); }
public BundleInfo[] getExpectedState() throws FrameworkAdminRuntimeException { if (!fwAdmin.isActive()) throw new FrameworkAdminRuntimeException("FrameworkAdmin creates this object is no more available.", FrameworkAdminRuntimeException.FRAMEWORKADMIN_UNAVAILABLE); return Utils.getBundleInfosFromList(this.bundleInfosList); }
@Override public BundleInfo[] getExpectedState() throws FrameworkAdminRuntimeException { if (!fwAdmin.isActive()) throw new FrameworkAdminRuntimeException("FrameworkAdmin creates this object is no more available.", FrameworkAdminRuntimeException.FRAMEWORKADMIN_UNAVAILABLE); //$NON-NLS-1$ return Utils.getBundleInfosFromList(this.bundleInfosList); }
private void loadWithoutFwPersistentData() throws IOException { SimpleBundlesState.checkAvailability(fwAdmin); File launcherConfigFile = getLauncherConfigLocation(launcherData); if (launcherConfigFile != null && !launcherConfigFile.getName().endsWith(IGNORED)) { // use launcher. -- > load from LaucnherConfig file. // the parameters in memory will be updated. EclipseLauncherParser parser = new EclipseLauncherParser(); parser.read(launcherConfigFile, launcherData); } checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(launcherData); File fwConfigFile = new File(launcherData.getFwConfigLocation(), EquinoxConstants.CONFIG_INI); EquinoxFwConfigFileParser parser = new EquinoxFwConfigFileParser(context); if (fwConfigFile.exists()) try { parser.readFwConfig(this, fwConfigFile); } catch (URISyntaxException e) { throw new FrameworkAdminRuntimeException(e, NLS.bind(Messages.exception_errorReadingFile, fwConfigFile.getAbsolutePath())); } }
private void loadWithoutFwPersistentData() throws IOException { SimpleBundlesState.checkAvailability(fwAdmin); File launcherConfigFile = getLauncherConfigLocation(launcherData); if (launcherConfigFile != null && !launcherConfigFile.getName().endsWith(IGNORED)) { // use launcher. -- > load from LaucnherConfig file. // the parameters in memory will be updated. EclipseLauncherParser parser = new EclipseLauncherParser(); parser.read(launcherConfigFile, launcherData); } checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(launcherData); File fwConfigFile = new File(launcherData.getFwConfigLocation(), EquinoxConstants.CONFIG_INI); EquinoxFwConfigFileParser parser = new EquinoxFwConfigFileParser(context); if (fwConfigFile.exists()) try { parser.readFwConfig(this, fwConfigFile); } catch (URISyntaxException e) { throw new FrameworkAdminRuntimeException(e, NLS.bind(Messages.exception_errorReadingFile, fwConfigFile.getAbsolutePath())); } }