Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

WireBox.cfc 1.1 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  1. component extends="coldbox.system.ioc.config.Binder" {
  2. /**
  3. * Configure WireBox, that's it!
  4. */
  5. function configure(){
  6. /**
  7. * --------------------------------------------------------------------------
  8. * WireBox Configuration (https://wirebox.ortusbooks.com)
  9. * --------------------------------------------------------------------------
  10. * Configure WireBox
  11. */
  12. wireBox = {
  13. // Scope registration, automatically register a wirebox injector instance on any CF scope
  14. // By default it registeres itself on application scope
  15. scopeRegistration : {
  16. enabled : true,
  17. scope : "application", // server, cluster, session, application
  18. key : "wireBox"
  19. },
  20. // DSL Namespace registrations
  21. customDSL : {},
  22. // Custom Storage Scopes
  23. customScopes : {},
  24. // Package scan locations
  25. scanLocations : [],
  26. // Stop Recursions
  27. stopRecursions : [],
  28. // Parent Injector to assign to the configured injector, this must be an object reference
  29. parentInjector : "",
  30. // Register all event listeners here, they are created in the specified order
  31. listeners : []
  32. };
  33. // Map Bindings below
  34. }
  35. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...