Package org.jboss.deployers.spi.structure

Examples of org.jboss.deployers.spi.structure.StructureMetaData.addContext()


      super(new AbstractDeploymentContext(deployment.getName(), ""));
      this.deployment = deployment;
      // Create a pre-determined, DEPLOYED deployment
      StructureMetaData structure = new StructureMetaDataImpl();
      ContextInfo rootInfo = new ContextInfoImpl("");
      structure.addContext(rootInfo);
      predeterminedManagedObjects.addAttachment(KnownDeploymentTypes.class, KnownDeploymentTypes.MCBeans);
      predeterminedManagedObjects.addAttachment(StructureMetaData.class, structure);
      predeterminedManagedObjects.addAttachment(KernelDeployment.class, deployment);
      DeploymentContext rootContext = getDeploymentContext();
      rootContext.setState(DeploymentState.DEPLOYED);
View Full Code Here


    */
   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path)
   {
      StructureMetaData structure = assureStructure(context);
      ContextInfo result = StructureMetaDataFactory.createContextInfo(path);
      structure.addContext(result);
      return result;
   }

   /**
    * Add a context to a deployment
View Full Code Here

    */
   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, List<ClassPathEntry> classPath)
   {
      StructureMetaData structure = assureStructure(context);
      ContextInfo result = StructureMetaDataFactory.createContextInfo(path, classPath);
      structure.addContext(result);
      return result;
   }

   /**
    * Add a context to a deployment
View Full Code Here

   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, String metaDataPath, List<ClassPathEntry> classPath)
   {
      StructureMetaData structure = assureStructure(context);
      MetaDataEntry entry = createMetaDataPathEntry(metaDataPath);
      ContextInfo result = StructureMetaDataFactory.createContextInfo(path, entry, classPath);
      structure.addContext(result);
      return result;
   }
  
   /**
    * Add a context to a deployment
View Full Code Here

    */
   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, List<String> metaDataPath, List<ClassPathEntry> classPath)
   {
      StructureMetaData structure = assureStructure(context);
      ContextInfo result = StructureMetaDataFactory.createContextInfo(path, metaDataPath, classPath);
      structure.addContext(result);
      return result;
   }

   /**
    * Create a new metadata path entry.
View Full Code Here

            parentContextInfo = StructureMetaDataFactory.createContextInfo(relativePath, metaDataPath, recognised.getClassPath());

         // copy the modification type information
         parentContextInfo.setModificationType(recognised.getModificationType());
         StructureMetaData structureMetaData = parentContext.getMetaData();
         structureMetaData.addContext(parentContextInfo);
         MutableAttachments attachments = (MutableAttachments) parentContextInfo.getPredeterminedManagedObjects();
         attachments.addAttachment(StructureMetaData.class, structure);
      }
      return result;
   }
View Full Code Here

/*     */ {
/*     */   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path)
/*     */   {
/*  55 */     StructureMetaData structure = assureStructure(context);
/*  56 */     ContextInfo result = StructureMetaDataFactory.createContextInfo(path);
/*  57 */     structure.addContext(result);
/*  58 */     return result;
/*     */   }
/*     */
/*     */   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, List<ClassPathEntry> classPath)
/*     */   {
View Full Code Here

/*     */
/*     */   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, List<ClassPathEntry> classPath)
/*     */   {
/*  72 */     StructureMetaData structure = assureStructure(context);
/*  73 */     ContextInfo result = StructureMetaDataFactory.createContextInfo(path, classPath);
/*  74 */     structure.addContext(result);
/*  75 */     return result;
/*     */   }
/*     */
/*     */   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, String metaDataPath, List<ClassPathEntry> classPath)
/*     */   {
View Full Code Here

/*     */
/*     */   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, String metaDataPath, List<ClassPathEntry> classPath)
/*     */   {
/*  90 */     StructureMetaData structure = assureStructure(context);
/*  91 */     ContextInfo result = StructureMetaDataFactory.createContextInfo(path, metaDataPath, classPath);
/*  92 */     structure.addContext(result);
/*  93 */     return result;
/*     */   }
/*     */
/*     */   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, List<String> metaDataPath, List<ClassPathEntry> classPath)
/*     */   {
View Full Code Here

/*     */
/*     */   public ContextInfo addContext(PredeterminedManagedObjectAttachments context, String path, List<String> metaDataPath, List<ClassPathEntry> classPath)
/*     */   {
/* 108 */     StructureMetaData structure = assureStructure(context);
/* 109 */     ContextInfo result = StructureMetaDataFactory.createContextInfo(path, metaDataPath, classPath);
/* 110 */     structure.addContext(result);
/* 111 */     return result;
/*     */   }
/*     */
/*     */   public static ClassPathEntry createClassPathEntry(String path)
/*     */   {
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.