1 8 9 package mx4j.remote.rmi; 10 11 import java.io.IOException ; 12 import java.util.Map ; 13 14 import javax.management.remote.rmi.RMIConnection ; 15 16 import mx4j.remote.AbstractHeartBeat; 17 import mx4j.remote.ConnectionNotificationEmitter; 18 19 23 public class RMIHeartBeat extends AbstractHeartBeat 24 { 25 private final RMIConnection connection; 26 27 public RMIHeartBeat(RMIConnection connection, ConnectionNotificationEmitter emitter, Map environment) 28 { 29 super(emitter, environment); 30 this.connection = connection; 31 } 32 33 protected void pulse() throws IOException 34 { 35 connection.getDefaultDomain(null); 36 } 37 } 38 | Popular Tags |