Caches the parsed version of the specified CSS snippet. We key the cache based on CSS snippets (rather than requests and responses as is done above) because a) this allows us to cache inline CSS, b) CSS is extremely expensive to parse, so we want to avoid it as much as possible, c) CSS files aren't usually nearly as large as JavaScript files, so memory bloat won't be too bad, and d) caching on requests and responses requires checking dynamicity (see {@link #isDynamicContent(WebResponse)}), and headers often aren't set up correctly, disallowing caching when in fact it should be allowed.
@param css the CSS snippet from which styleSheet is derived
@param styleSheet the parsed version of css
Caches an instance in initial state in the invocation context and transitions it to clean state.
@param oid The instance OID.
@return The instance reference.
Cache a FinderQuery for the given key and value.
@param key for which the finder is cached.
@param value used to construct the finder query
@param fetch may contain hints to control cache operation.
@return the finder query that has been cached. It may be newly constructed or an existing query. If the given key-value can not be cached, then return null.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.