Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed unwanted files from fw/1 example

  • Loading branch information...
commit 9e9f75c265f09dab2bd2fbd7e4e56d49cd3ccae7 1 parent 4a67233
@cfaddict authored
Showing with 0 additions and 66 deletions.
  1. +0 −66 samples/frameworks/fw1/assets/config/WireBox.cfc
View
66 samples/frameworks/fw1/assets/config/WireBox.cfc
@@ -1,66 +0,0 @@
-<!-----------------------------------------------------------------------
-********************************************************************************
-Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
-www.coldbox.org | www.luismajano.com | www.ortussolutions.com
-********************************************************************************
-Author : Luis Majano
-Description :
- Your WireBox Configuration Binder
------------------------------------------------------------------------>
-<cfcomponent output="false" hint="The default WireBox Injector configuration object" extends="coldbox.system.ioc.config.Binder">
-<cfscript>
-
- /**
- * Configure WireBox, that's it!
- */
- function configure(){
-
- // The WireBox configuration structure DSL
- wireBox = {
- // Scope registration, automatically register a wirebox injector instance on any CF scope
- // By default it registeres itself on application scope
- scopeRegistration = {
- enabled = true,
- scope = "application", // server, cluster, session, application
- key = "wireBox"
- },
-
- // DSL Namespace registrations
- customDSL = {
- // namespace = "mapping name"
- },
-
- // Custom Storage Scopes
- customScopes = {
- // annotationName = "mapping name"
- },
-
- // Package scan locations
- scanLocations = [],
-
- // Stop Recursions
- stopRecursions = [],
-
- // Parent Injector to assign to the configured injector, this must be an object reference
- parentInjector = "",
-
- // Register all event listeners here, they are created in the specified order
- listeners = [
- // { class="", name="", properties={} }
- ]
- };
-
- // Map Bindings below
- //map("CategoryService").to("model.category.CategoryService").asSingleton();
- //map("ProductService").to("model.product.ProductService").asSingleton();
-
- mapDirectory( getAppMapping() & ".model" );
-
- map("ValidationService")
- .to("hyrule.system.core.Hyrule")
- .asSingleton()
- .initWith({validator=getProperty('validator'),rbPath=getProperty('rbPath')});
-
- }
-</cfscript>
-</cfcomponent>
Please sign in to comment.
Something went wrong with that request. Please try again.