FileOutputStream fos = getFilename();
springFile.marshal(fos);
}
protected org.fusesource.camel.component.sap.model.rfc.SapConnectionConfiguration getSapConnectionConfigurationModel() {
SapConnectionsView view = (SapConnectionsView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(SapConnectionsView.ID);
if (view != null) {
return view.getSapConnectionConfiguration();
}
// SapConnectionsView is not active: retrieve stored configuration instead.
return ModelUtil.getModel(new ResourceSetImpl());
}