}
protected void startDependency(JbiDeployableArtifact jbiDeployable) {
getLog().info("Starting " + jbiDeployable.getName());
if (JBI_SERVICE_ASSEMBLY.equals(jbiDeployable.getType())) {
StartServiceAssemblyTask startTask = new StartServiceAssemblyTask();
initializeJbiTask(startTask);
startTask.setName(jbiDeployable.getName());
startTask.execute();
}
if (JBI_COMPONENT.equals(jbiDeployable.getType())) {
StartComponentTask startTask = new StartComponentTask();
initializeJbiTask(startTask);
startTask.setName(jbiDeployable.getName());
startTask.execute();
}
}