public static void setAttribute(String key, Object value) {
        assertInitialized();
        getAppFramework().setAttribute(key, value);
    }
public static void setAttribute ( String key , Object value ) { assertInitialized ( ) ; getAppFramework ( ) . setAttribute ( key , value ) ; }
Stores an arbitrary named attribute in the attribute cache.

@param key Attribute name.
@param value Attribute value. If null, value is removed from cache.
@throws IllegalStateException if AppFramework is not initialized