Class InfobaseApplicationBehaviourDelegate

java.lang.Object
com.e1c.g5.dt.internal.applications.infobases.ui.InfobaseApplicationBehaviourDelegate
All Implemented Interfaces:
IApplicationBehaviourDelegate

public class InfobaseApplicationBehaviourDelegate extends Object implements IApplicationBehaviourDelegate
Behavior implementation for applications which are hosted on a file or server (1C cluster) infobase.

Preparing infobase application consists in connecting project and infobase. Symmetrically, cleaning up infobase application is disconnecting project from infobase. Deleting the application means disassociation (preceeded by disconnection much like during cleanup).

InfobaseApplicationProvisionDelegate will notify IApplicationManager through IApplicationProvisionNotifier that an application has been either LifecycleState.CREATED or LifecycleState.STOPPED when association context is changed. When this happens, the delegate will either prepare(com.e1c.g5.dt.applications.IApplication, java.lang.String, com.e1c.g5.dt.applications.ExecutionContext, org.eclipse.core.runtime.SubMonitor) or cleanup(com.e1c.g5.dt.applications.IApplication, com.e1c.g5.dt.applications.ExecutionContext, org.eclipse.core.runtime.SubMonitor) the application