简体   繁体   English

ALSB自动化

[英]ALSB automation

One of the elegant things about WebLogic is WLST (Weblogic Scripting). 关于WebLogic的优雅之处之一是WLST(Weblogic脚本)。 Is it possible to script actions done in ALSB (Aqualogic Service Bus)? 是否可以对在ALSB(水文服务总线)中完成的操作编写脚本?

For example: Exporting resources from the bus. 例如:从总线导出资源。

I found out how to export. 我发现了如何出口。 You need to grab an instance of ALSBConfigurationMBean like so. 您需要像这样抓住ALSBConfigurationMBean的实例。

 if currentTree() != domainRuntime:
    domainRuntime()

alsbConfigBean = findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE)

From there you just do a query for the correct references. 从那里您只需查询正确的参考。 Documentation for ALSBConfigurationMBean is here ALSBConfigurationMBean的文档在这里

Found some sample Jython code here 在这里找到了一些示例Jython代码

The short answer is yes. 简短的答案是肯定的。 Check out Using deployment APIs . 签出使用部署API

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM