Esempio n. 1
0
 /**
  * Creates an {@link OortService} with the given name.
  *
  * @param oort the Oort where this service lives
  * @param name the unique name across the cluster of this service
  */
 protected OortService(Oort oort, String name) {
   this.oort = oort;
   this.name = name;
   this.forwardChannelName = "/service/oort/service/" + name;
   this.broadcastChannelName = "/oort/service/" + name;
   this.resultChannelName = forwardChannelName + "/result";
   this.session = oort.getBayeuxServer().newLocalSession(name);
   this.logger =
       LoggerFactory.getLogger(
           getClass().getName() + "." + Oort.replacePunctuation(oort.getURL(), '_') + name);
 }
 public OortMulticastConfigurer(Oort oort) {
   this.logger =
       LoggerFactory.getLogger(
           getClass().getName() + "." + Oort.replacePunctuation(oort.getURL(), '_'));
   this.oort = oort;
 }