/** * Returns a context property or null if it cannot be found. * * @param desc the property descriptor * @param <T> the property parameter type * @return the property value * @throws NullPointerException if the descriptor argument is null */ public <T> T getProperty(PropertyDescriptor<T> desc) throws NullPointerException { return propertyManager.getPropertyValue(desc); }
/** * Returns a context property or null if it cannot be found. * * @param desc the property descriptor * @param <T> the property parameter type * @return the property value * @throws NullPointerException if the descriptor argument is null */ public <T> T getProperty(PropertyDescriptor<T> desc) throws NullPointerException { return propertyManager.getPropertyValue(desc); }
/** * Returns a context property or null if it cannot be found. * * @param desc the property descriptor * @param <T> the property parameter type * @return the property value * @throws NullPointerException if the descriptor argument is null */ public <T> T getProperty(PropertyDescriptor<T> desc) throws NullPointerException { return propertyManager.getPropertyValue(desc); }