Blog

WireBox 1.2.0 Released

Luis Majano June 23, 2011

Spread the word

Luis Majano

June 23, 2011

Spread the word


Share your thoughts

In the spirit of more releases, please welcome WireBox 1.2.0 to the playground. This is a nice release that sports tons of fixes and tweaks for our dependency injection framework, but finally sports our complete AOP (Aspect Oriented Programming) Implementation.

Fixes

  • metadata override of CacheBox properties so they are available in introspection
  • cache=false was not being respected on metadata introspection
  • scan locations now need a length to register, needed for shared hosting
  • alias annotation was throwing an exception when mapping objects
  • updated processing of DI metadata as to NOT affect the original metadata that ColdFusion for some reason caches
  • injector was not advising parent injectors of shutdowns

Enhancements

  • mapDirectory() gets two new arguments: include,exclude that are regex to include or exclude CFCs when mapping entire directories:
mapDirectory(packagePath="model",exclude="entities\.");
  • New wirebox dsl addition: wirebox:properties that can inject the entire properties structure the injector is initialized with or if in a ColdBox application all of the application settings
  • New wirebox dsl addition: wirebox:property:{key} that can inject a specific property from the properties structure
  • Enhanced logging and debugging when objects are wired and discovered via LogBox
  • Internal update for all DSL builders so they receive the target object in wiring so they can do more funky stuff with the target. This is mostly directed for DSL builder developers. The interface for the DSL Builder has been updated.
  • New binder mappings dsl method: providerMethod(method, mapping) that will allow you to programmatically tell the binder how many provider methods should be overriden or injected into a target. Please refer to WireBox's Provider section. What this allows is for you to not only override methods in the target object but inject new methods (mixins) that provide you with mappings. That's right, you can tell WireBox to dynamically add new methods that will provide objects to you without those methods existing in the target object.
mapPath("model.security.UserService") .providerMethod("getUser", "user") .providerMethod("newMethod", "newUser");
  • New Injector Interface: wirebox.sytem.ioc.IInjector that will allow you to build custom parent injectors. You can use this to build interfaces to old legacy factory objects or other ioc containers you want to seamlessly use with WireBox and object hierarchies. As long as they implement the following methods, you are golden.
  • Last but not least, our complete AOP implementation that will transform the way you code.
So if you are using WireBox standalone, get the update or if you are using ColdBox, then just upgrade to the latest ColdBox build.

Add Your Comment

Recent Entries

Into the Box 2025 Virtual Tickets Are Now LIVE!

Into the Box 2025 Virtual Tickets Are Now LIVE!

The wait is over! By popular demand, Into the Box 2025 virtual tickets are officially available! Secure your spot today and take advantage of our exclusive early bird pricing before it’s gone!

We’re bringing the community together to push the boundaries of modern development—because change starts with us. We’ve taken the first step, now it’s your turn to evolve and take action!

Maria Jose Herrera
Maria Jose Herrera
April 03, 2025
Security Red Flags in Your ColdFusion App (and how to fix them!)

Security Red Flags in Your ColdFusion App (and how to fix them!)

Security breaches can lead to data leaks, legal issues, and irreversible damage to your company's reputation. Many ColdFusion applications—especially older ones—are vulnerable to cyber threats due to outdated code, weak authentication, and improper security configurations.

When was the last time you audited your ColdFusion application for security risks? If you’re unsure, it’s time for a professional security review.


Top ColdFusion Security Risks – Are You Expose...

Cristobal Escobar
Cristobal Escobar
April 03, 2025
BoxLang 1.0.0 RC3 Has Landed!

BoxLang 1.0.0 RC3 Has Landed!

We are thrilled to announce the release of BoxLang 1.0.0-RC.3, marking a significant milestone in the development of our dynamic JVM language. This release brings a major performance boost and over 100 bug fixes and improvements, making it our most robust release to date. We are now entering the final stretch towards our full release on May 1st, and we need your help to ensure everything is in perfect shape. Please test your applications and report any issues.

Luis Majano
Luis Majano
April 03, 2025