tracker issue : CF-3972121

select a category, or use search below
(searches all categories and all time range)
Title:

Augment createObject() to optionally tag init() args & call initmethod if so

| View in Tracker

Status/Resolution/Reason: To Fix//EnhancementRequired

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 04/19/2015

Components: Language, CF Component

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Basically this method signature:

createObject(String componentPath[, ArgumentCollection initArgs])

And if initArgs is passed, then the designated initmethod is called and the args passed. createObject() then returns whatever init() returns.

Oh and when I say "ArgumentCollection" I mean either an array or positional args, or a struct of named ones).

As far as I can tell that method signature doesn't collide with any other current method signature, so should be a safe addition?

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3972121

External Customer Info:
External Company:  
External Customer Name: Adam
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments: