Guest User

Untitled

a guest
Feb 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. connect('wls','wls123','t3://host:5001')
  2. servers = domainRuntimeService.getServerRuntimes();
  3. if (len(servers) > 0):
  4. for server in servers:
  5. jmsRuntime = server.getJMSRuntime();
  6. jmsServers = jmsRuntime.getJMSServers();
  7. for jmsServer in jmsServers:
  8. destinations = jmsServer.getDestinations();
  9. for destination in destinations:
  10. print ' DestinationInfo ' , destination.getDestinationInfo()
  11. print ' DestinationType ' , destination.getDestinationType()
  12. print ' Parent ' , destination.getParent()
  13. print ' State ' , destination.getState()
  14. print ' Type ' , destination.getType()
  15.  
  16. connect('wls','wls123','t3://host:5001');
  17. configToScript('/<pathtowlsdomain>','/tmp');
Add Comment
Please, Sign In to add comment