forked from michaelborn/sqlFormatter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ModuleConfig.cfc
43 lines (35 loc) · 914 Bytes
/
ModuleConfig.cfc
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
39
40
41
42
43
/**
* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
* www.ortussolutions.com
* ---
*/
component {
// Module Properties
this.title = "sqlFormatter";
this.author = "Ortus Solutions";
this.webURL = "https://www.ortussolutions.com";
this.description = "A CFML wrapper for the Vertical Blank sql-formatter java library";
// Model Namespace
this.modelNamespace = "sqlformatter";
// CF Mapping
this.cfmapping = "sqlformatter";
// Dependencies
this.dependencies = [ "cbjavaloader" ];
/**
* Configure Module
*/
function configure(){
settings = { libPath : modulePath & "/lib" };
}
/**
* Fired when the module is registered and activated.
*/
function onLoad(){
wireBox.getInstance( "loader@cbjavaloader" ).appendPaths( settings.libPath );
}
/**
* Fired when the module is unregistered and unloaded
*/
function onUnload(){
}
}