Worklight适配器覆盖适配器xml [英] Worklight Adapter override adapter xml

查看:159
本文介绍了Worklight适配器覆盖适配器xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Worklight 6.1

Worklight 6.1

一旦部署了适配器,是否可以在适配器过程中以编程方式覆盖以前在适配器xml中定义的?

Once an adapter is deployed is it possible programmatically from within an adapters procedure to override the and that was previously defined in the adapters xml?

谢谢

推荐答案

在所有Worklight版本中,包括最近发布的IBM MobileFirst Platform Foundation 6.3(以前称为Worklight),一旦部署了JavaScript或Java适配器,它就会成为存储在内存中的对象。因此无法更改适配器XML文件中定义的后端URL属性。

In all Worklight releases up to and including the recently released IBM MobileFirst Platform Foundation 6.3 (formerly Worklight), once a JavaScript or Java adapter has been deployed it becomes an object that is stored in memory. It is therefore not possible to alter the backend URL properties that were defined in the adapter's XML file.

相关问题:

  • IBM Worklight - Can I change invokeProcedure hostname and port?
  • 5.0.6 - Changing Adapter domain and port configuration after deploy through configuration - for QA and Testing team in development process
  • IBM Worklight - How to change dynamically domain/hostname to which the adapter connects from the client at launch or runtime?

这篇关于Worklight适配器覆盖适配器xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆