// OPTIONAL: TO pass default values for configuration settings, create a struct var settings = structNew(); // Call the base init() method to set sensible defaults. Do NOT remove this. Super.init(); // OPTIONAL: Set lazy loading: true or false. If true, Singletons will only be created when requested. If false, they will all be created when LightWire is first initialized. Default if you don't set: LazyLoad = true. setLazyLoad("false"); // provide a default value for dsn settings.dsn = "dsn_name"; // parse xml bean definitions using default settings parseXMLConfigFile("#expandPath('.')#/beandefs.xml.cfm",settings); // set mixins programatically addMixinProperty("ProductService","MyMixinTitle","My Mixin Title Goes Here"); addMixinProperty("ProductService","AnotherMixinProperty","My Other Mixin Property is Here"); addMixinDependency("ProductService", "CategoryService");