DaemonManager daemonManager = new DaemonManager(“http://virtualnuggets.com:7580″);
if(daemonManager.getDaemonType() == DaemonManager.RVD) {
DaemonProxy daemonProxy = daemonManager.getDaemonProxy();
final RvdProxy rvdProxy = (RvdProxy) daemonProxy;
System.out.println(rvdProxy.getComponentName());
System.out.println(rvdProxy.getComponentInformation().getHostname());
System.out.println(rvdProxy.getComponentInformation().getIpAddress());
System.out.println(rvdProxy.getComponentInformation().getLicenseTicket());
System.out.println(rvdProxy.getComponentInformation().getName());
System.out.println(rvdProxy.getComponentInformation().getProcessID());
System.out.println(rvdProxy.getComponentInformation().getVersion());
Service[] services = rvdProxy.getServices();
System.out.println(services.length); //prints 0
for (Service service : services) {
System.out.println(service.getNetwork());
}
}
}
For training on TIBCO BusinessEvents mail us at [email protected]