this.profileKey = this.profileService.registerProfile(profileMetaData);
deploymentRoot, this.deploymentNames.toArray(new String[this.deploymentNames.size()])); this.profileKey = this.profileService.registerProfile(metadata);
/** * Builds a profile from the {@link #getURIList() URI list} and registers * it under the configured {@link #getProfileKey()}. */ public void start() throws Exception { if (getProfileService() == null) { throw new IllegalStateException("Must configure profileService"); } // TODO add dependencies on bootstrap profiles String[] rootSubProfiles = new String[0]; // Create a hotdeployment profile ProfileMetaData metadata = createProfileMetaData(true, deployURI, rootSubProfiles); setProfileKey(getProfileService().registerProfile(metadata)); }
/** * start() * * @throws Exception */ public void start() throws Exception { Profile profile = new TransientDeploymentsProfile(); TRANSIENT_PROFILE_KEY = this.ps.registerProfile(new EmptyProfileMetaData(TRANSIENT_PROFILE_KEY.getName()), profile); this.ps.activateProfile(TRANSIENT_PROFILE_KEY); this.ps.validateProfile(TRANSIENT_PROFILE_KEY); }