Package org.jboss.ejb3.annotation

Examples of org.jboss.ejb3.annotation.Clustered.loadBalancePolicy()


      if(annotation == null)
         return;
     
      ClusterConfigMetaData clustered = new ClusterConfigMetaData();
     
      clustered.setBeanLoadBalancePolicy(annotation.loadBalancePolicy());
      clustered.setHomeLoadBalancePolicy(annotation.homeLoadBalancePolicy());
      clustered.setPartitionName(annotation.partition());
      clustered.setDescriptions(ProcessorUtils.getDescription(" @Clustered for bean: " + type));
     
      metaData.setClusterConfig(clustered);
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.