com.ptc.windchill.util.packaging.install
Interface ModuleRegistrar

All Known Implementing Classes:
ModuleRegistrarImpl

public interface ModuleRegistrar



Supported API: false

Extendable: false


Method Summary
 void installModule(String name, boolean dependencies)
          Install named module into ModuleRegistry and ensure that; any current PackagingConsumers are notified of the new module, and any new PackagingConsumers are added to the list of interested notification recipients.
 void installModule(UnitIdentifier module, boolean dependencies)
          Install identified module into ModuleRegistry and ensure that; any current PackagingConsumers are notified of the new module, and any new PackagingConsumers are added to the list of interested notification recipients.
 void unInstallModule(String name, boolean dependencies)
          Uninstall identified module from ModuleRegistry and ensure that; any current PackagingConsumers are notified of the removed module, and any removed PackagingConsumers are removed from the list of interested notification recipients.
 void unInstallModule(UnitIdentifier module, boolean dependencies)
          Uninstall named module from ModuleRegistry and ensure that; any current PackagingConsumers are notified of the removed module, and any removed PackagingConsumers are removed from the list of interested notification recipients.
 

Method Detail

installModule

public void installModule(String name,
                          boolean dependencies)
                   throws WTException
Install named module into ModuleRegistry and ensure that; any current PackagingConsumers are notified of the new module, and any new PackagingConsumers are added to the list of interested notification recipients. If dependencies are also to be processed, ensure that all dependent modules are also registered.

Supported API: false

Parameters:
name -
dependencies -
Throws:
WTException

installModule

public void installModule(UnitIdentifier module,
                          boolean dependencies)
                   throws WTException
Install identified module into ModuleRegistry and ensure that; any current PackagingConsumers are notified of the new module, and any new PackagingConsumers are added to the list of interested notification recipients. If dependencies are also to be processed, ensure that all dependent modules are also registered.

Supported API: false

Parameters:
module -
dependencies -
Throws:
WTException

unInstallModule

public void unInstallModule(String name,
                            boolean dependencies)
                     throws WTException
Uninstall identified module from ModuleRegistry and ensure that; any current PackagingConsumers are notified of the removed module, and any removed PackagingConsumers are removed from the list of interested notification recipients. If dependencies are also to be processed, remove any Subsystems dependencies, which are not dependencies of any remaining Subsystems.

Supported API: false

Parameters:
name -
dependencies -
Throws:
WTException

unInstallModule

public void unInstallModule(UnitIdentifier module,
                            boolean dependencies)
                     throws WTException
Uninstall named module from ModuleRegistry and ensure that; any current PackagingConsumers are notified of the removed module, and any removed PackagingConsumers are removed from the list of interested notification recipients. If dependencies are also to be processed, remove any Subsystems dependencies, which are not dependencies of any remaining Subsystems.

Supported API: false

Parameters:
module -
dependencies -
Throws:
WTException