FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

ColdBox Properties Loader

v1.0.2 Public

ColdBox Properties Loader

This module reads the Java System properties (java.lang.system.getProperties()) and loads the values into the ColdBox settings.

Installation

box install cbox-properties-loader

Usage

All your properties will be loaded by default.

You can access these in your ColdBox app by using getSetting("PROPERTY_NAME")or by injecting it with property name="secret" inject="coldbox:setting: PROPERTY_NAME";.

Other packages you might want

[box install commandbox-dotenv](https://www.forgebox.io/view/commandbox-dotenv)

Adds the contents of a .env file to your Java System properties when using CommandBox servers.

Dependencies (0)


Dev Dependencies (0)


 

$ box install cbox-properties-loader

No collaborators yet.
   
  • Jun 21 2016 11:26 PM
  • Jun 21 2016 11:38 PM
  • 1,204
  • 28
  • 12