Package org.jboss.aspects.remoting

Examples of org.jboss.aspects.remoting.FamilyWrapper


      String familyInfoName = getClusterFamilyNamePolicy().getClusterFamilyName(containerName, locator, partitionName);
     
      HAPartition partition = HAPartitionLocator.getHAPartitionLocator().getHAPartition(partitionName, null);
      HATarget hatarget = new HATarget(partition, familyInfoName, locator, HATarget.ENABLE_INVOCATIONS);
     
      FamilyWrapper wrapper = new FamilyWrapper(familyInfoName, hatarget.getReplicants());
     
      String lbpClassKey = clusterMetadata.getLoadBalancePolicy();
      Class<? extends LoadBalancePolicy> lbPolicyClass = getLoadBalancePolicyClass(lbpClassKey, metadata.isStateful());        
    
      lbpClassKey = clusterMetadata.getHomeLoadBalancePolicy();
View Full Code Here


            + " class name is required, but is not specified; improperly bound reference in JNDI";
     
      ClassLoader tccl = Thread.currentThread().getContextClassLoader();
      LoadBalancePolicy loadBalancePolicy = (LoadBalancePolicy) tccl.loadClass(lbpClass).newInstance();
     
      FamilyWrapper wrapper = getFamilyWrapper(name, refAddrs);
     
      Class<?>[] interfaces = {this.getProxyFactoryClass()};
      Interceptor[] interceptors = { IsLocalProxyFactoryInterceptor.singleton,
                                     ClusterChooserInterceptor.singleton,
                                     InvokeRemoteInterceptor.singleton };
View Full Code Here

         }
      }
     
      log.debug("Creating " + FamilyWrapper.class.getSimpleName() + " for family " +
                familyName + " using targets " + targets);
      return new FamilyWrapper(familyName, targets);
   }
View Full Code Here

         catch (LoadBalancePolicyNotRegisteredException e){}
        
         lbPolicy = (LoadBalancePolicy)Thread.currentThread().getContextClassLoader().loadClass(policyClass)
               .newInstance();
      }
      wrapper = new FamilyWrapper(proxyFamilyName, hatarget.getReplicants());
     
      drm.registerListener(proxyFamilyName, this);
     
      super.start();
   }
View Full Code Here

         catch (LoadBalancePolicyNotRegisteredException e){}
        
         lbPolicy = (LoadBalancePolicy)Thread.currentThread().getContextClassLoader().loadClass(policyClass)
               .newInstance();
      }
      wrapper = new FamilyWrapper(proxyFamilyName, hatarget.getReplicants());
     
      drm.registerListener(proxyFamilyName, this);
     
      super.start();
     
View Full Code Here

         catch (LoadBalancePolicyNotRegisteredException e){}
        
         lbPolicy = (LoadBalancePolicy)Thread.currentThread().getContextClassLoader().loadClass(policyClass)
               .newInstance();
      }
      wrapper = new FamilyWrapper(proxyFamilyName, hatarget.getReplicants());
     
      this.drm = partition.getDistributedReplicantManager();
      drm.registerListener(proxyFamilyName, this);
     
      super.start();
View Full Code Here

/*     */     }
/*     */     else
/*     */     {
/* 103 */       this.lbPolicy = ((LoadBalancePolicy)this.clustered.loadBalancePolicy().newInstance());
/*     */     }
/* 105 */     this.wrapper = new FamilyWrapper(this.proxyFamilyName, this.hatarget.getReplicants());
/*     */
/* 107 */     this.drm = partition.getDistributedReplicantManager();
/* 108 */     this.drm.registerListener(this.proxyFamilyName, this);
/*     */
/* 110 */     super.start();
View Full Code Here

/*     */     }
/*     */     else
/*     */     {
/* 112 */       this.lbPolicy = ((LoadBalancePolicy)this.clustered.loadBalancePolicy().newInstance());
/*     */     }
/* 114 */     this.wrapper = new FamilyWrapper(this.proxyFamilyName, this.hatarget.getReplicants());
/*     */
/* 116 */     this.drm = partition.getDistributedReplicantManager();
/* 117 */     this.drm.registerListener(this.proxyFamilyName, this);
/*     */
/* 119 */     super.start();
View Full Code Here

         catch (LoadBalancePolicyNotRegisteredException e){}
        
         lbPolicy = (LoadBalancePolicy)Thread.currentThread().getContextClassLoader().loadClass(policyClass)
               .newInstance();
      }
      wrapper = new FamilyWrapper(proxyFamilyName, hatarget.getReplicants());
     
      drm.registerListener(proxyFamilyName, this);
     
      super.start();
     
View Full Code Here

         catch (LoadBalancePolicyNotRegisteredException e){}
        
         lbPolicy = (LoadBalancePolicy)Thread.currentThread().getContextClassLoader().loadClass(policyClass)
               .newInstance();
      }
      wrapper = new FamilyWrapper(proxyFamilyName, hatarget.getReplicants());
     
      this.drm = partition.getDistributedReplicantManager();
      drm.registerListener(proxyFamilyName, this);
     
      super.start();
View Full Code Here

TOP

Related Classes of org.jboss.aspects.remoting.FamilyWrapper

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.