You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ Apache License, Version 2.0.
17
17
18
18
## System Requirements
19
19
20
-
- Lucee 4.5+
21
-
- ColdFusion 11+
20
+
- Lucee 5+
21
+
- ColdFusion 2016+
22
22
23
23
## Instructions
24
24
@@ -29,13 +29,15 @@ Just drop into your **modules** folder or use the box-cli to install
29
29
The module has a default folder called `lib` where any jars you drop there will be class loaded automatically. However, we recommend using the `loadpaths` setting for selecting an array of locations to class load, so when the module updates you won't lose those files.
30
30
31
31
## Models
32
+
32
33
The module registers the following mapping in WireBox: `loader@cbjavaloader`. Which is the class you will use to class load, append paths and much more. Check out the included API Docs for much more information. The main methods of importance of the java loader are:
33
34
34
35
*`create( class )` - Create a loaded Java class
35
36
*`appendPath( dirPath, filter)` - Appends a directory path of *.jar's,*.classes to the current loaded class loader.
36
37
*`getLoadedURLs()` - Get all the loaded URLs
37
38
38
39
## WireBox DSL
40
+
39
41
The module also registers a new WireBox DSL called `javaloader`. You can then use this custom DSL for injecting direct java class loaded classes very easily:
40
42
41
43
```js
@@ -101,7 +103,8 @@ Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
0 commit comments