Package org.jboss.profileservice.spi.repository

Examples of org.jboss.profileservice.spi.repository.MutableRepository


/*     */
/*     */   public Collection<ModificationInfo> getModifiedDeployments() throws Exception
/*     */   {
/* 322 */     ArrayList modified = new ArrayList();
/* 323 */     URI appURI = getApplicationURI();
/* 324 */     MutableRepository repo = getRepository(appURI);
/* 325 */     Collection resources = repo.getModifiedResources();
/* 326 */     boolean trace = log.isTraceEnabled();
/* 327 */     if (trace)
/* 328 */       log.trace("Checking applications for modifications");
/* 329 */     if (resources != null)
/*     */     {
View Full Code Here


/*     */     throws Exception
/*     */   {
/* 429 */     Repository repo = this.delegate.getRepository(uri);
/* 430 */     if (!(repo instanceof MutableRepository))
/* 431 */       throw new IllegalStateException("Repository does not support MutableRepository");
/* 432 */     MutableRepository mrepo = (MutableRepository)repo;
/* 433 */     return mrepo;
/*     */   }
View Full Code Here

/*     */     }
/*     */   }
/*     */
/*     */   protected VFSDeployment removeDeployment(String name, URI uri) throws Exception
/*     */   {
/* 503 */     MutableRepository mrepo = getRepository(uri);
/* 504 */     Resource res = mrepo.removeResource(name);
/* 505 */     VFSDeploymentResource vfsres = (VFSDeploymentResource)res;
/* 506 */     VFSDeployment deployment = (VFSDeployment)vfsres.getProperties().get("deployment");
/* 507 */     return deployment;
/*     */   }
View Full Code Here

/*     */   private ProfileKey key;
/*     */
/*     */   public void addDeployment(String vfsPath, VFSDeployment d, ManagedDeployment.DeploymentPhase phase)
/*     */     throws Exception
/*     */   {
/*  83 */     MutableRepository mrepo = getRepository(d.getRoot().toURI());
/*  84 */     VFSDeploymentResource dres = new VFSDeploymentResource(d, phase, mrepo);
/*  85 */     mrepo.addResource(dres);
/*     */   }
View Full Code Here

/*  92 */     throw new IOException("Not yet implemented");
/*     */   }
/*     */
/*     */   public void addManagedObject(String vfsPath, Attachments edits) throws Exception
/*     */   {
/*  97 */     MutableRepository repo = getRepository(this.adminEditsRoot.toURI());
/*  98 */     AttachmentsResource attachments = new AttachmentsResource(vfsPath, edits, repo);
/*  99 */     repo.addResource(attachments);
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.profileservice.spi.repository.MutableRepository

Copyright © 2018 www.massapicom. 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.