wro4j-core/src/main/java/ro/isdc/wro/http/support/ServletContextAttributeHelper.java
final void setAttribute(final Attribute attribute, final Object object) {
    Validate.notNull(attribute);
    LOG.debug("setting attribute: {} with value: {}", attribute, object);
    Validate.isTrue(attribute.isValid(object), object + " is not of valid subType for attribute: " + attribute);
    servletContext.setAttribute(getAttributeName(attribute), object);
  }
final void setAttribute(final Attribute attribute, final Object object) {
    Validate.notNull(attribute);
    LOG.debug("setting attribute: {} with value: {}", attribute, object);
    Validate.isTrue(attribute.isValid(object), object + " is not of valid subType for attribute: " + attribute);
    servletContext.setAttribute(getAttributeName(attribute), object);
  }
final void setAttribute ( final Attribute attribute , final Object object ) { Validate . notNull ( attribute ) ; LOG . debug ( "setting attribute: {} with value: {}" , attribute , object ) ; Validate . isTrue ( attribute . isValid ( object ) , object + " is not of valid subType for attribute: " + attribute ) ; servletContext . setAttribute ( getAttributeName ( attribute ) , object ) ; }
Sets the attribute into the servlet context. The name of the attribute will be computed for you.
Sets the attribute into the servlet context . The name of the attribute will be computed for you .