Worklight Adapter override adapter xml

瘦欲@ 提交于 2019-12-11 00:59:39

问题


Worklight 6.1

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?

Thanks


回答1:


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.

Related questions:

  • 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?


来源:https://stackoverflow.com/questions/27388508/worklight-adapter-override-adapter-xml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!