public static function newFactory(processorType:Class, additionalArgs:Array = null):ObjectProcessorFactory
Create a new processor factory instance of the specified type, using the provided constructor arguments.
The specified arguments will always be added to the target argument of type ManagedObject
which will always be the first argument. The specified type must implement the ObjectProcessor
interface.
Parameters
| processorType:Class — the type of processor to create
|
| |
| additionalArgs:Array (default = null) — constructor arguments for the processor in addition to the target argument
|
Returns