コード例 #1
0
  // prevent instantiation by others
  private ApplicationLogic() {
    if (analyticsServer == null) analyticsServer = AuctionServerMain.getAnalyticsServer();

    if (billingServer == null) {
      billingServer = AuctionServerMain.getBillingServer();
      try {
        billingServer.login("auctionserver", "auctionserver");
      } catch (RemoteException e) {
        log.error("could not login on billingserver, billing users will not work!!!");
      }
    }
  }