// 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"); // BEAN DEFINITIONS (see top of bean for instructions) // Examples (just delete these once you've got the hang of the API) // Product Service // addSingleton("lightwire.LightWireTest.com.model.Product.ProductService"); // addConstructorDependency("ProductService","ProdDAO"); // addConstructorProperty("ProductService","MyTitle","My Title Goes Here"); // addSetterProperty("ProductService","MySetterTitle","My Setter Title Goes Here"); // addMixinProperty("ProductService","MyMixinTitle","My Mixin Title Goes Here"); // addMixinProperty("ProductService","AnotherMixinProperty","My Other Mixin Property is Here"); // addMixinDependency("ProductService", "CategoryService"); // Product DAO // addSingleton("lightwire.LightWireTest.com.model.Product.ProductDAO","ProdDAO"); // Product // addTransient("lightwire.LightWireTest.com.model.Product.ProductBean","Product"); // addConstructorDependency("Product","ProdDAO"); // Transfer Factory // addSingleton("transfer.TransferFactory"); // addConstructorProperty("TransferFactory","datasourcePath","/tblog/resources/xml/datasource.xml"); // addConstructorProperty("TransferFactory","configPath","/tblog/resources/xml/transfer.xml"); // addConstructorProperty("TransferFactory","definitionPath","/tblog/definitions"); // Transfer // addSingletonFromFactory("TransferFactory","getTransfer","transfer");