AdminComponentException
This exception class is capable of containing multiple exceptions. See {@link AdminException} for details.
373374375376377378379380
try { ManagedComponent mc = getView().getComponent(DQPNAME, DQPTYPE); MetaValue value = ManagedUtil.executeOperation(mc, "getWorkerPoolStatistics");//$NON-NLS-1$ return (WorkerPoolStatistics)MetaValueFactory.getInstance().unwrap(value, WorkerPoolStatisticsMetadata.class); } catch (Exception e) { throw new AdminComponentException(e.getMessage(), e); } }
441442443444445446447448449450
p.setRequired(mp.isMandatory()); props.add(p); }; return props; } catch (NoSuchDeploymentException e) { throw new AdminComponentException(e.getMessage(), e); } catch(Exception e) { throw new AdminComponentException(e.getMessage(), e); } }
474475476477478479480481
} try { getView().updateComponent(mc); } catch (Exception e) { throw new AdminComponentException(e.getMessage(), e); } }
530531532533534535536537
587588589590591592593594
618619620621622623624625
SimpleValueSupport.wrap(sourceVDBName), SimpleValueSupport.wrap(sourceVDBVersion), SimpleValueSupport.wrap(targetVDBName), SimpleValueSupport.wrap(targetVDBVersion)); } catch (Exception e) { throw new AdminComponentException(e.getMessage(), e); } }
671672673674675676677678679680
} } info.getProperties().get("jndi-name").setValue(SimpleValueSupport.wrap(deploymentName)); //$NON-NLS-1$ getView().applyTemplate(deploymentName, info); } catch (NoSuchDeploymentException e) { throw new AdminComponentException(e.getMessage(), e); } catch(Exception e) { throw new AdminComponentException(e.getMessage(), e); } }
685686687688689690691692
ManagedComponent mc = getDatasource(deployedName); if (mc != null) { ManagedUtil.removeArchive(getDeploymentManager(),mc.getDeployment().getName()); } } catch (Exception e) { throw new AdminComponentException(e); } }
708709710711712713714715716
for (ManagedComponent mc:mcs) { names.add(((SimpleValue)mc.getProperty("jndi-name").getValue()).getValue().toString()); //$NON-NLS-1$ } } } catch (Exception e) { throw new AdminComponentException(e); } return names; }
732733734735736737738739
try { ManagedComponent mc = getView().getComponent(DQPNAME, DQPTYPE); MetaValue value = ManagedUtil.executeOperation(mc, "getCacheStatistics", SimpleValueSupport.wrap(cacheType));//$NON-NLS-1$ return (CacheStatistics)MetaValueFactory.getInstance().unwrap(value, CacheStatisticsMetadata.class); } catch (Exception e) { throw new AdminComponentException(e.getMessage(), e); } }