Package org.jboss.deployers.structure.spi.scope

Examples of org.jboss.deployers.structure.spi.scope.ScopeBuilder


   public ScopeKey getMutableScope()
   {
      if (mutableScope == null)
      {
         ScopeBuilder builder = getScopeBuilder(this);
         mutableScope = builder.getMutableDeploymentScope(this);
      }
      return mutableScope;
   }
View Full Code Here


   public ScopeKey getScope()
   {
      if (scope == null)
      {
         ScopeBuilder builder = AbstractDeploymentContext.getScopeBuilder(this);
         scope = builder.getComponentScope(this);
      }
      return scope;
   }
View Full Code Here

   public ScopeKey getMutableScope()
   {
      if (mutableScope == null)
      {
         ScopeBuilder builder = AbstractDeploymentContext.getScopeBuilder(this);
         mutableScope = builder.getMutableComponentScope(this);
      }
      return mutableScope;
   }
View Full Code Here

/*     */
/*     */   public ScopeKey getScope()
/*     */   {
/* 181 */     if (this.scope == null)
/*     */     {
/* 183 */       ScopeBuilder builder = AbstractDeploymentContext.getScopeBuilder(this);
/* 184 */       this.scope = builder.getComponentScope(this);
/*     */     }
/* 186 */     return this.scope;
/*     */   }
View Full Code Here

/*     */
/*     */   public ScopeKey getMutableScope()
/*     */   {
/* 196 */     if (this.mutableScope == null)
/*     */     {
/* 198 */       ScopeBuilder builder = AbstractDeploymentContext.getScopeBuilder(this);
/* 199 */       this.mutableScope = builder.getMutableComponentScope(this);
/*     */     }
/* 201 */     return this.mutableScope;
/*     */   }
View Full Code Here

/*     */
/*     */   public static ScopeBuilder getScopeBuilder(DeploymentContext deploymentContext)
/*     */   {
/* 143 */     if (deploymentContext == null)
/* 144 */       throw new IllegalArgumentException("Null deployment context");
/* 145 */     ScopeBuilder builder = (ScopeBuilder)deploymentContext.getTransientAttachments().getAttachment(ScopeBuilder.class);
/* 146 */     if (builder != null)
/* 147 */       return builder;
/* 148 */     DeploymentContext parent = deploymentContext.getParent();
/* 149 */     if (parent != null)
/* 150 */       return getScopeBuilder(parent);
View Full Code Here

/*     */   private static void initMetaDataRetrieval(MutableMetaDataRepository repository, DeploymentContext deploymentContext)
/*     */   {
/* 278 */     if (deploymentContext == null) {
/* 279 */       throw new IllegalArgumentException("Null deployment context");
/*     */     }
/* 281 */     ScopeBuilder builder = (ScopeBuilder)deploymentContext.getTransientAttachments().getAttachment(ScopeBuilder.class);
/* 282 */     if (builder == null)
/* 283 */       builder = DefaultScopeBuilder.INSTANCE;
/* 284 */     builder.initMetaDataRetrieval(repository, deploymentContext);
/*     */   }
View Full Code Here

/*     */   private static void initMutableMetaDataRetrieval(MutableMetaDataRepository repository, DeploymentContext deploymentContext)
/*     */   {
/* 295 */     if (deploymentContext == null) {
/* 296 */       throw new IllegalArgumentException("Null deployment context");
/*     */     }
/* 298 */     ScopeBuilder builder = (ScopeBuilder)deploymentContext.getTransientAttachments().getAttachment(ScopeBuilder.class);
/* 299 */     if (builder == null)
/* 300 */       builder = DefaultScopeBuilder.INSTANCE;
/* 301 */     builder.initMutableMetaDataRetrieval(repository, deploymentContext);
/*     */   }
View Full Code Here

/*     */
/*     */   public ScopeKey getScope()
/*     */   {
/* 412 */     if (this.scope == null)
/*     */     {
/* 414 */       ScopeBuilder builder = getScopeBuilder(this);
/* 415 */       this.scope = builder.getDeploymentScope(this);
/*     */     }
/* 417 */     return this.scope;
/*     */   }
View Full Code Here

/*     */
/*     */   public ScopeKey getMutableScope()
/*     */   {
/* 427 */     if (this.mutableScope == null)
/*     */     {
/* 429 */       ScopeBuilder builder = getScopeBuilder(this);
/* 430 */       this.mutableScope = builder.getMutableDeploymentScope(this);
/*     */     }
/* 432 */     return this.mutableScope;
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.deployers.structure.spi.scope.ScopeBuilder

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.