/** * <p>Return the entire set of properties for which the specified bean * provides a read method.</p> * * <p>For more details see <code>PropertyUtilsBean</code>.</p> * * @param bean Bean whose properties are to be extracted * @return The set of properties for the bean * * @throws IllegalAccessException if the caller does not have * access to the property accessor method * @throws IllegalArgumentException if <code>bean</code> is null * @throws InvocationTargetException if the property accessor method * throws an exception * @throws NoSuchMethodException if an accessor method for this * propety cannot be found * @see PropertyUtilsBean#describe */ public static Map<String, Object> describe(final Object bean) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { return (PropertyUtilsBean.getInstance().describe(bean)); }
/** * <p>Return the entire set of properties for which the specified bean * provides a read method.</p> * * <p>For more details see <code>PropertyUtilsBean</code>.</p> * * @param bean Bean whose properties are to be extracted * @return The set of properties for the bean * * @throws IllegalAccessException if the caller does not have * access to the property accessor method * @throws IllegalArgumentException if <code>bean</code> is null * @throws InvocationTargetException if the property accessor method * throws an exception * @throws NoSuchMethodException if an accessor method for this * propety cannot be found * @see PropertyUtilsBean#describe */ public static Map<String, Object> describe(final Object bean) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { return (PropertyUtilsBean.getInstance().describe(bean)); }
/** * <p>Return the entire set of properties for which the specified bean * provides a read method.</p> * * <p>For more details see <code>PropertyUtilsBean</code>.</p> * * @param bean Bean whose properties are to be extracted * @return The set of properties for the bean * * @exception IllegalAccessException if the caller does not have * access to the property accessor method * @exception IllegalArgumentException if <code>bean</code> is null * @exception InvocationTargetException if the property accessor method * throws an exception * @exception NoSuchMethodException if an accessor method for this * propety cannot be found * @see PropertyUtilsBean#describe */ public static Map describe(Object bean) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { return (PropertyUtilsBean.getInstance().describe(bean)); }
/** * <p>Return the entire set of properties for which the specified bean * provides a read method.</p> * * <p>For more details see <code>PropertyUtilsBean</code>.</p> * * @param bean Bean whose properties are to be extracted * @return The set of properties for the bean * * @throws IllegalAccessException if the caller does not have * access to the property accessor method * @throws IllegalArgumentException if <code>bean</code> is null * @throws InvocationTargetException if the property accessor method * throws an exception * @throws NoSuchMethodException if an accessor method for this * propety cannot be found * @see PropertyUtilsBean#describe */ public static Map<String, Object> describe(final Object bean) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { return (PropertyUtilsBean.getInstance().describe(bean)); }
/** * <p>Return the entire set of properties for which the specified bean * provides a read method.</p> * * <p>For more details see <code>PropertyUtilsBean</code>.</p> * * @param bean Bean whose properties are to be extracted * @return The set of properties for the bean * * @exception IllegalAccessException if the caller does not have * access to the property accessor method * @exception IllegalArgumentException if <code>bean</code> is null * @exception InvocationTargetException if the property accessor method * throws an exception * @exception NoSuchMethodException if an accessor method for this * propety cannot be found * @see PropertyUtilsBean#describe */ public static Map describe(Object bean) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { return (PropertyUtilsBean.getInstance().describe(bean)); }
/** * <p>Return the entire set of properties for which the specified bean * provides a read method.</p> * * <p>For more details see <code>PropertyUtilsBean</code>.</p> * * @param bean Bean whose properties are to be extracted * @return The set of properties for the bean * * @exception IllegalAccessException if the caller does not have * access to the property accessor method * @exception IllegalArgumentException if <code>bean</code> is null * @exception InvocationTargetException if the property accessor method * throws an exception * @exception NoSuchMethodException if an accessor method for this * propety cannot be found * @see PropertyUtilsBean#describe */ public static Map describe(Object bean) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException { return (PropertyUtilsBean.getInstance().describe(bean)); }
private static Map<String, Object> convert(BluetoothBindingConfig config) { try { return BeanUtilsBean.getInstance().getPropertyUtils().describe(config); } catch (IllegalAccessException | InvocationTargetException | NoSuchMethodException e) { throw new IllegalStateException(e); } }
try { beanProperties = BeanUtilsBean.getInstance().getPropertyUtils().describe(managementEndpoint); } catch (Exception e) { throw new IllegalStateException("can't read properties from EnforcementPoint <" + managementEndpoint + ">",
beanUtilsBean.getPropertyUtils().describe(fromBean); for (Map.Entry<String, Object> entry : propertiesMap.entrySet()) { String property = entry.getKey();
Map<String, Object> propertiesMap = propertyUtilsBean.describe(bean); for (String property : propertiesMap.keySet()) {