}
}
// Unzip artifact
Utility.unzip(artifact, installDir);
// Create Unit
Unit unit = registry.createUnit(suName);
unit.setAssembly(this);
unit.setRegistryComponent(component);
unit.setInstallRoot(installDir.getAbsolutePath());
// Deploy this unit
String result = unit.deploy();
// TODO: analyse result
}
// Deploy connections
if (jbi.getServiceAssembly().isSetConnections()) {
Connections connections = jbi.getServiceAssembly().getConnections();