private static final long serialVersionUID = 1L;
@Override
public void actionPerformed(ActionEvent e) {
if (XBayaUtil.acquireJCRRegistry(engine)) {
try {
DeploymentDescriptionDialog serviceDescriptionDialog = new DeploymentDescriptionDialog(XBayaMenuItem.this.engine.getGUI().getFrame(), engine.getConfiguration()
.getAiravataAPI());
serviceDescriptionDialog.open();
// ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(
// engine.getConfiguration().getJcrComponentRegistry()
// .getRegistry());
// serviceDescriptionDialog.open();
if (serviceDescriptionDialog.isServiceCreated()){
// engine.reloadRegistry();
ComponentRegistryLoader loader = ComponentRegistryLoader.getLoader(engine, RegistryConstants.REGISTRY_TYPE_JCR);
loader.load(engine.getConfiguration().getJcrComponentRegistry());
}
} catch (Exception e1) {