Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 577 Bytes

cachebox-namespace.md

File metadata and controls

16 lines (12 loc) · 577 Bytes

CacheBox Namespace

This DSL namespace is only active if using CacheBox or a ColdBox application context.

DSL Description
cachebox Get a reference to the application's CacheBox instance
cachebox:{name} Get a reference to a named cache inside of CacheBox
cachebox:{name}:{objectKey} Get an object from the named cache inside of CacheBox according to the objectKey
property name="cacheFactory" inject="cacheBox";
property name="cache" inject="cachebox:default";
property name="data" inject="cachebox:default:myKey";