code: protected synchronized void objectAvailable (AgentObject agentObject)
      {
          int oid = agentObject.getOid();
  
          log.info("Object " + oid + " now available");
  
          Agent agent;
          try {
              agent = createAgent(agentObject);
              agent.init(agentObject);
              agent.start();
          } catch (Throwable t) {
              log.warning("Could not create agent", "obj", agentObject, t);
              _bureauService.agentCreationFailed(oid);
              return;
          }
  
          _agents.put(oid, agent);
          _bureauService.agentCreated(oid);
      }
docs: Callback for when the a request to subscribe to an object finishes and the object is
  available.