ORM Entity Injection
WireBox 2.0.0 supports entity injection via
ColdBox ORM Module - for use in ColdBox applications
Custom ORM Event Handler - for use in any CFML application
Custom ORM Event Handler
In order to leverage WireBox for entity injection you will have to create your own custom ORM event handler and activate event handling in the ORM at the Application.cfc
Then you can create the custom event handler with a custom postLoad()
function where you will leverage WireBox for DI.
Last updated