Merge branch 'master' of https://xp-dev.com/git/RRRRHHHH_Code
[RRRRHHHH_Code] / ruralHouses / src / launcher / RMILauncher.java
index 008e371..c76316a 100644 (file)
@@ -10,7 +10,6 @@ import businessLogic.BookingManager;
 import businessLogic.HouseManager;
 import businessLogic.LoginManager;
 import businessLogic.OfferManager;
-import businessLogic.OwnerManager;
 
 @SuppressWarnings("deprecation")
 public class RMILauncher {
@@ -37,7 +36,6 @@ public class RMILauncher {
                boolean bok = runBooking();
                boolean hou = runHouse();
                boolean off = runOffer();
-               boolean own = runOwner();
                boolean log = runLogin();
                boolean acc = runAccount();
 
@@ -46,7 +44,6 @@ public class RMILauncher {
                                                        "\t House:  "+hou+
                                                        "\t Login:  "+log+
                                                        "\t Offer:  "+off+
-                                                       "\t Owner:  "+own+
                                                        "\t Account: "+acc);
        }
        
@@ -126,17 +123,7 @@ public class RMILauncher {
        }
 
        
-       private static boolean runOwner() {
-               try {
-                       Remote remoteOwner = new OwnerManager();
-                       String authService = "rmi://localhost:9999//OwM";
-                       Naming.rebind(authService, remoteOwner);
-                       return true;
-               } catch (Exception e) {
-                       System.out.println(e.toString());
-                       return false;
-               }
-       }
+
        
        
 }