Config2_PlugInManager

Extension/Plugin management interface for the Version 2 API.

Instances of this class are obtained from:

Methods

MethodReturnsDescription
add() Config2_PlugIn

Add a new extension

.
get() Config2_PlugIn

Get an extension by name

.
remove() void

Remove an extension

.
toArray() Array.<Config2_PlugIn>

Get all extensions as array

.

Method Details

add(plugInName, plugInType, className) → {Config2_PlugIn}

Description:
  • Add a new extension

Parameters:
Name Type Description
plugInName String

Extension name

plugInType String

Extension type (e.g. 'Authenticator', 'FileSystem', etc.)

className String

Full class name (optional, defaults based on type)

Returns:

Created extension object

Type
Config2_PlugIn

get(plugInName) → {Config2_PlugIn|null}

Description:
  • Get an extension by name

Parameters:
Name Type Description
plugInName String

Extension name

Returns:

Extension object or null if not found

Type
Config2_PlugIn | null

remove(plugInName)

Description:
  • Remove an extension

Parameters:
Name Type Description
plugInName String

Extension name to remove

toArray(includeSystem) → {Array.<Config2_PlugIn>}

Description:
  • Get all extensions as array

Parameters:
Name Type Description
includeSystem Boolean

Whether to include system extensions

Returns:

Array of all extension objects

Type
Array.<Config2_PlugIn>