Package com._1c.g5.v8.dt.internal.md
Class ExternalPropertyManagerBootstrap
java.lang.Object
com._1c.g5.v8.dt.internal.md.ExternalPropertyManagerBootstrap
@LifecycleService(name="EXTERNAL_PROPERTY_MANAGER_BOOTSTRAP")
public class ExternalPropertyManagerBootstrap
extends Object
External property manager bootstrap.
Initializes external property manager and wires it with big model instance.
-
Constructor Summary
ConstructorsConstructorDescriptionExternalPropertyManagerBootstrap
(IExternalPropertyManagerRegistry registry, IBmModelManager modelManager) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onStorageClosing
(ProjectContext context) Participates thestorage closing
phase.
Performs closing steps for BM Model associated with the project of the specifiedprojectContext
.void
onStorageInitialization
(ProjectContext context) Participates thestorage initialization
phase.
Initiates the BmModel instance for the project of the specifiedprojectContext
.
-
Constructor Details
-
ExternalPropertyManagerBootstrap
@Inject public ExternalPropertyManagerBootstrap(IExternalPropertyManagerRegistry registry, IBmModelManager modelManager) Constructs a new instance.- Parameters:
registry
- The external property manager registry. May not benull
.modelManager
- The BM model manager. May not benull
.
-
-
Method Details
-
onStorageInitialization
@LifecycleParticipant(phase=STORAGE_INITIALIZATION, dependsOn="BM_MODEL_MANAGER") public void onStorageInitialization(ProjectContext context) Participates thestorage initialization
phase.
Initiates the BmModel instance for the project of the specifiedprojectContext
.For more information see
LifecyclePhase.STORAGE_INITIALIZATION
- Parameters:
projectContext
- the project context, cannot benull
.- See Also:
-
onStorageClosing
@LifecycleParticipant(phase=STORAGE_CLOSING, dependsOn="BM_MODEL_MANAGER") public void onStorageClosing(ProjectContext context) Participates thestorage closing
phase.
Performs closing steps for BM Model associated with the project of the specifiedprojectContext
.For more information see
LifecyclePhase.STORAGE_CLOSING
- Parameters:
projectContext
- the project context, cannot benull
.- See Also:
-