code: public void sendHeartBeat(String ipAddress, int port) throws Exception {
      	MBeanServer mbeanServer = getMBeanServer();
  			
  		Set<ObjectName> queryNames = mbeanServer.queryNames(new ObjectName("*:type=Service,*"), null);
  		for(ObjectName objectName : queryNames) {								
  			mbeanServer.invoke(objectName, "sendHeartBeat", new Object[]{this.ipAddress, this.port, this.transport, ipAddress, port}, new String[] {String.class.getName() , "int", String.class.getName(), String.class.getName() , "int"});
  		} 
  			   
      }
docs: Send a heartbeat to the specified Ip address and port
  via this listening point. This method can be used to send out a period
  Double CR-LF for NAT keepalive as defined in RFC5626
  
  @since 1.7
  
  @param ipAddress
  @param port