-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
73 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
/** | ||
* This is a protection Application cfm for the config file. You do not | ||
* need to modify this file | ||
*/ | ||
component{ | ||
/** | ||
* This is a protection Application cfm for the config file. You do not | ||
* need to modify this file | ||
*/ | ||
component { | ||
|
||
abort; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,39 @@ | ||
component extends="coldbox.system.ioc.config.Binder"{ | ||
component extends="coldbox.system.ioc.config.Binder" { | ||
|
||
/** | ||
* Configure WireBox, that's it! | ||
*/ | ||
* 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" | ||
scopeRegistration : { | ||
enabled : true, | ||
scope : "application", // server, cluster, session, application | ||
key : "wireBox" | ||
}, | ||
|
||
// DSL Namespace registrations | ||
customDSL = { | ||
// namespace = "mapping name" | ||
customDSL : { | ||
// namespace = "mapping name" | ||
}, | ||
|
||
// Custom Storage Scopes | ||
customScopes = { | ||
// annotationName = "mapping name" | ||
customScopes : { | ||
// annotationName = "mapping name" | ||
}, | ||
|
||
// Package scan locations | ||
scanLocations = [], | ||
|
||
scanLocations : [], | ||
// Stop Recursions | ||
stopRecursions = [], | ||
|
||
stopRecursions : [], | ||
// Parent Injector to assign to the configured injector, this must be an object reference | ||
parentInjector = "", | ||
|
||
parentInjector : "", | ||
// Register all event listeners here, they are created in the specified order | ||
listeners = [ | ||
// { class="", name="", properties={} } | ||
] | ||
listeners : [ | ||
// { class="", name="", properties={} } | ||
] | ||
}; | ||
|
||
// Map Bindings below | ||
} | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters