Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.32 KB | None | 0 0
  1. For the lack of a horseshoe,
  2.     EquestrianDoctor.getLocalInstance().getHorseDispatcher().shoot();
  3.  
  4. For the lack of a horse,
  5.     RidersGuild.getRiderNotificationSubscriberList().getBroadcaster().run(
  6.       new BroadcastMessage(StableFactory.getNullHorseInstance()));
  7.  
  8. For the lack of a rider,
  9.     MessageDeliverySubsystem.getLogger().logDeliveryFailure(
  10.       MessageFactory.getAbstractMessageInstance(
  11.         new MessageMedium(MessageType.VERBAL),
  12.         new MessageTransport(MessageTransportType.MOUNTED_RIDER),
  13.         new MessageSessionDestination(BattleManager.getRoutingInfo(
  14.                                         BattleLocation.NEAREST))),
  15.       MessageFailureReasonCode.UNKNOWN_RIDER_FAILURE);
  16.  
  17. For the lack of a message,
  18.     ((BattleNotificationSender)
  19.       BattleResourceMediator.getMediatorInstance().getResource(
  20.         BattleParticipant.PROXY_PARTICIPANT,
  21.         BattleResource.BATTLE_NOTIFICATION_SENDER)).sendNotification(
  22.           ((BattleNotificationBuilder)
  23.             (BattleResourceMediator.getMediatorInstance().getResource(
  24.             BattleOrganizer.getBattleParticipant(Battle.Participant.GOOD_GUYS),
  25.             BattleResource.BATTLE_NOTIFICATION_BUILDER))).buildNotification(
  26.               BattleOrganizer.getBattleState(BattleResult.BATTLE_LOST),
  27.               BattleManager.getChainOfCommand().getCommandChainNotifier()));
  28.  
  29. For the lack of a battle,
  30.     try {
  31.         synchronized(BattleInformationRouterLock.getLockInstance()) {
  32.           BattleInformationRouterLock.getLockInstance().wait();
  33.         }
  34.     } catch (InterruptedException ix) {
  35.       if (BattleSessionManager.getBattleStatus(
  36.            BattleResource.getLocalizedBattleResource(Locale.getDefault()),
  37.            BattleContext.createContext(
  38.              Kingdom.getMasterBattleCoordinatorInstance(
  39.                new TweedleBeetlePuddlePaddleBattle()).populate(
  40.                  RegionManager.getArmpitProvince(Armpit.LEFTMOST)))) ==
  41.           BattleStatus.LOST) {
  42.         if (LOGGER.isLoggable(Level.TOTALLY_SCREWED)) {
  43.           LOGGER.logScrewage(BattleLogger.createBattleLogMessage(
  44.             BattleStatusFormatter.format(BattleStatus.LOST_WAR,
  45.                                          Locale.getDefault())));
  46.         }
  47.       }
  48.     }
  49.  
  50. For the lack of a war,
  51.     new ServiceExecutionJoinPoint(
  52.       DistributedQueryAnalyzer.forwardQueryResult(
  53.         NotificationSchemaManager.getAbstractSchemaMapper(
  54.           new PublishSubscribeNotificationSchema()).getSchemaProxy().
  55.             executePublishSubscribeQueryPlan(
  56.               NotificationSchema.ALERT,
  57.               new NotificationSchemaPriority(SchemaPriority.MAX_PRIORITY),
  58.               new PublisherMessage(MessageFactory.getAbstractMessage(
  59.                 MessageType.WRITTEN,
  60.                 new MessageTransport(MessageTransportType.WOUNDED_SURVIVOR),
  61.                 new MessageSessionDestination(
  62.                   DestinationManager.getNullDestinationForQueryPlan()))),
  63.               DistributedWarMachine.getPartyRoleManager().getRegisteredParties(
  64.                 PartyRoleManager.PARTY_KING ||
  65.                 PartyRoleManager.PARTY_GENERAL ||
  66.                 PartyRoleManager.PARTY_AMBASSADOR)).getQueryResult(),
  67.         PriorityMessageDispatcher.getPriorityDispatchInstance())).
  68.       waitForService();
  69.  
  70. All for the lack of a horseshoe nail.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement