Title:
Ability to class load via createobject(java, class, jars/class array) and new function to class load
| View in TrackerStatus/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Luis Majano / Luis Majano (Luis Majano)
Created: 07/10/2013
Components: Language, CF Component
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 3
Can createobject be enhanced for java so we can pass a list or array as the third argument for jar or class locations?
createObject("java", "class", [ "path/lib.jar", "otherpath/lib.jar" ])
This way we can class load those paths instead of touching Application.cfc. Also maybe having another function that can do class loading would be helpful. Relying on Application.cfc is great for static loading, but sometimes we need the ability to class load dynamically or on demand. Obviously this can be done outside of the core CF via network class loaders or the java loader project. But why not complete was what started in cf10?
javaLoadPaths( paths, cfclassLoader )??
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3592789
External Customer Info:
External Company:
External Customer Name: LuisMajano
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: