Revisions:
20020313 Juha Lindfors:
20020710 Adrian Brock:
183184185186187188189190
ConfigurationManager.getInstance().reload(configurationName); // register categories again categoryMBeanRegistration(); } catch (ConfigurationManagerException cme) { throw new MBeanException(cme); } }
194195196197198199200201
System.out.println("saveConfiguration called"); try { ConfigurationManager.getInstance().save(configurationName); } catch (ConfigurationManagerException cme) { throw new MBeanException(cme); } }
347348349350351352353354
} catch (Exception e) { if (logger.isLoggable(MLevel.WARNING)) logger.log(MLevel.WARNING, "Failed to get requested attribute: " + attr, e); throw new MBeanException(e); } }
425426427428429430431432433434435436437
{ setAttribute(new Attribute(Character.toLowerCase(operation.charAt(3)) + operation.substring(4), paramVals[0])); return null; } else throw new MBeanException(e); } catch (Exception e2) { throw new MBeanException(e2); } } catch (Exception e) { throw new MBeanException(e); } }
508509510511512513514515
} catch (Exception e) { if (logger.isLoggable(MLevel.WARNING)) logger.log(MLevel.WARNING, "Failed to set requested attribute: " + attrObj, e); throw new MBeanException(e); } }
156157158159160161162163
} InputStream is = new URL(location).openStream(); bundles.get(0).update(is); } catch (Exception e) { throw new MBeanException(null, e.getMessage()); } }
169170171172173174175176
public void resolve(String bundleId) throws MBeanException { try { List<Bundle> bundles = selectBundles(bundleId); getFrameworkWiring().resolveBundles(bundles); } catch (Exception e) { throw new MBeanException(null, e.getMessage()); } }
186187188189190191192193
for (Bundle bundle : bundles) { bundle.stop(); bundle.start(); } } catch (Exception e) { throw new MBeanException(null, e.getMessage()); } }
202203204205206207208209
if (start) { bundle.start(); } return bundle.getBundleId(); } catch (Exception e) { throw new MBeanException(null, e.getMessage()); } }
214215216217218219220221
for (Bundle bundle : bundles) { bundle.start(); } } catch (Exception e) { throw new MBeanException(null, e.getMessage()); } }