WHSSourceLineTableUpdateAttribute.useSingleton Method [AX 2012]
Determines if the same instance should be returned by the extension framework for a given extension.
Syntax
public boolean useSingleton()
Run On
Called
Return Value
Type: boolean
true, if the same instance should be used; otherwise, false.
Remarks
When returning false, the SysExtension framework will create a new class instance for every invocation.
If the class is immutable, consider returning true to save memory and gain performance.