Examples of ProfileImpl


Examples of org.jboss.system.server.profile.basic.ProfileImpl

/* 121 */     this.mgtView = mgtView;
/*     */   }
/*     */
/*     */   public Profile newProfile(ProfileKey key)
/*     */   {
/* 127 */     return new ProfileImpl(this.profileRoot, key);
/*     */   }
View Full Code Here

Examples of org.jboss.system.server.profile.repository.ProfileImpl

/* 114 */     if (this.deploymentRepository == null)
/*     */     {
/* 116 */       this.deploymentRepository = this.profileRepository.getProfileDeploymentRepository(key);
/*     */     }
/* 118 */     log.info("Loading profile: " + this.name + " from: " + this.deploymentRepository);
/* 119 */     this.profile = new ProfileImpl(this.deploymentRepository, key);
/*     */   }
View Full Code Here

Examples of org.jboss.system.server.profile.repository.ProfileImpl

/*     */
/*     */   public Profile newProfile(ProfileKey key)
/*     */     throws Exception
/*     */   {
/* 175 */     DeploymentRepository repo = this.profileRepository.createProfileDeploymentRepository(key);
/* 176 */     return new ProfileImpl(repo, key);
/*     */   }
View Full Code Here

Examples of org.waveprotocol.wave.client.account.impl.ProfileImpl

  }

  static private void deserializeAndUpdateProfile(RemoteProfileManagerImpl manager,
      FetchedProfile fetchedProfile) {
    ParticipantId participantId = ParticipantId.ofUnsafe(fetchedProfile.getAddress());
    ProfileImpl profile = manager.getProfile(participantId);
    // Profiles already exist for all profiles that have been requested.
    assert profile != null;
    // Updates profiles - this also notifies listeners.
    profile
        .update(fetchedProfile.getName(), fetchedProfile.getName(), fetchedProfile.getImageUrl());
  }
View Full Code Here

Examples of org.waveprotocol.wave.client.account.impl.ProfileImpl

  }

  @Override
  public ProfileImpl getProfile(ParticipantId participantId) {
    String address = participantId.getAddress();
    ProfileImpl profile = profiles.get(address);
    if (profile == null) {
      profile = new ProfileImpl(this, participantId);
      profiles.put(address, profile);
      LOG.trace().log("Fetching profile: " + address);
      fetchProfilesService.fetch(this, address);
    }
    return profile;
View Full Code Here

Examples of org.waveprotocol.wave.client.account.impl.ProfileImpl

  }

  static private void deserializeAndUpdateProfile(RemoteProfileManagerImpl manager,
      FetchedProfile fetchedProfile) {
    ParticipantId participantId = ParticipantId.ofUnsafe(fetchedProfile.getAddress());
    ProfileImpl profile = manager.getProfile(participantId);
    // Profiles already exist for all profiles that have been requested.
    assert profile != null;
    // Updates profiles - this also notifies listeners.
    profile
        .update(fetchedProfile.getName(), fetchedProfile.getName(), fetchedProfile.getImageUrl());
  }
View Full Code Here

Examples of org.waveprotocol.wave.client.account.impl.ProfileImpl

  }

  @Override
  public ProfileImpl getProfile(ParticipantId participantId) {
    String address = participantId.getAddress();
    ProfileImpl profile = profiles.get(address);
    if (profile == null) {
      profile = new ProfileImpl(this, participantId);
      profiles.put(address, profile);
      LOG.trace().log("Fetching profile: " + address);
      fetchProfilesService.fetch(this, address);
    }
    return profile;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.