ServersManager
Extends:
Servers manager class for plugins managing.
Constructor Summary
Public Constructor | ||
public |
constructor(arg_log_context: string | undefined, arg_logger_manager: LoggerManager): nothing Create a ServersManager instance |
Member Summary
Public Members | ||
public |
|
Method Summary
Public Methods | ||
public |
plugin_is_valid(arg_plugin: Plugin): boolean Test if plugin is valid. |
Inherited Summary
From class PluginsManager | ||
public |
|
|
public |
|
|
public |
|
|
private |
_runtime: * |
|
public |
enabled_plugin(arg_name: string): Plugin Get a enabled plugin by its name. |
|
public |
error_already_registered(arg_plugin_name: string): nothing Error wrapper - on registering an already registered plugin |
|
public |
error_not_registered(arg_plugin_name: string): nothing Error wrapper - a plugin is not registered |
|
public |
Get class name. |
|
public |
get_plugins(): array Get registered plugins list. |
|
public |
get_runtime(): * |
|
public |
get_typed_plugins(arg_type_or_types: string | array): array Get registered plugins list with a filtered type. |
|
public |
load(arg_plugins: array): nothing Load a map of plugins. |
|
public |
load_at_first(arg_plugin: Plugin): nothing Load plugin at first position |
|
public |
Get a registered plugin by its name and its enabled flag. |
|
public |
register_plugin(arg_plugin: object, arg_position: integer): object Register a plugin to be used later, do not active it now. |
|
public |
registered_plugin(arg_name: string): Plugin Get a registered plugin by its name. |
|
public |
unregister_plugin(arg_plugin: object): object Unregister a registered plugin and disble it before if needed. |
From class FeaturesManager | ||
public |
instances: {"all": *} |
|
public |
|
|
public |
add_instance(arg_instance: object): nothing Register an instance which is created outside this plugins manager. |
|
public |
Create a feature instance by lookup on self contained plugins. |
|
public |
Get class name. |
|
public |
get_feature_class(arg_class_name: string): boolean Get a feature class. |
|
public |
get_instance(arg_class_name: string, arg_name: string): object Get an instance. |
|
public |
Test if a feature class is known into self contained plugins. |
|
public |
has_instance(arg_class_name: string, arg_name: string): boolean Has an instance? |
|
public |
remove_instance(arg_class_name: string, arg_name: string): nothing Remove an instance. |
Public Constructors
public constructor(arg_log_context: string | undefined, arg_logger_manager: LoggerManager): nothing source
Create a ServersManager instance
Override:
FeaturesManager#constructorReturn:
nothing |