Exemple #1
0
 private void share(Track track) {
   try {
     AllLink allLink = AllLink.parse(track.getDownloadString());
     sharerManager.share(allLink);
   } catch (IllegalArgumentException iae) {
     log.error("Unable to share track" + track, iae);
   } catch (ShareException e) {
     log.error("Unable to share track" + track, e);
   }
 }
Exemple #2
0
 @PostConstruct
 public void initialize() {
   sharerManager.addSharerListener(this);
 }