Package org.jboss.profileservice.spi.repository

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


/*     */   }
/*     */
/*     */   protected VFSDeployment getBootstrap(String vfsPath)
/*     */     throws Exception
/*     */   {
/* 439 */     Resource res = this.delegate.getResource(vfsPath);
/* 440 */     if ((res == null) || (!(res instanceof VFSDeploymentResource)))
/* 441 */       throw new NoSuchDeploymentException(vfsPath);
/* 442 */     VFSDeploymentResource vfsres = (VFSDeploymentResource)res;
/* 443 */     VFSDeployment deployment = (VFSDeployment)vfsres.getProperties().get("deployment");
/* 444 */     return deployment;
View Full Code Here


/*     */   }
/*     */
/*     */   protected VFSDeployment getDeployer(String vfsPath)
/*     */     throws Exception
/*     */   {
/* 450 */     Resource res = this.delegate.getResource(vfsPath);
/* 451 */     if ((res == null) || (!(res instanceof VFSDeploymentResource)))
/* 452 */       throw new NoSuchDeploymentException(vfsPath);
/* 453 */     VFSDeploymentResource vfsres = (VFSDeploymentResource)res;
/* 454 */     VFSDeployment deployment = (VFSDeployment)vfsres.getProperties().get("deployment");
/* 455 */     return deployment;
View Full Code Here

/*     */   }
/*     */
/*     */   protected VFSDeployment getApplication(String vfsPath)
/*     */     throws Exception
/*     */   {
/* 461 */     Resource res = this.delegate.getResource(vfsPath);
/* 462 */     if ((res == null) || (!(res instanceof VFSDeploymentResource)))
/* 463 */       throw new NoSuchDeploymentException(vfsPath);
/* 464 */     VFSDeploymentResource vfsres = (VFSDeploymentResource)res;
/* 465 */     VFSDeployment deployment = (VFSDeployment)vfsres.getProperties().get("deployment");
/* 466 */     return deployment;
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

TOP

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

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.