Package org.jboss.iiop.rmi

Examples of org.jboss.iiop.rmi.OperationAnalysis


      beanMethodMap = new HashMap();

      AttributeAnalysis[] attrs = interfaceAnalysis.getAttributes();
      for (int i = 0; i < attrs.length; i++) {
         OperationAnalysis op = attrs[i].getAccessorAnalysis();

         logger.debug("    " + op.getJavaName()
                      + "\n                " + op.getIDLName());
         beanMethodMap.put(op.getIDLName(),
                           new SkeletonStrategy(op.getMethod()));
         op = attrs[i].getMutatorAnalysis();
         if (op != null) {
            logger.debug("    " + op.getJavaName()
                         + "\n                " + op.getIDLName());
            beanMethodMap.put(op.getIDLName(),
                              new SkeletonStrategy(op.getMethod()));
         }
      }

      OperationAnalysis[] ops = interfaceAnalysis.getOperations();
      for (int i = 0; i < ops.length; i++) {
         logger.debug("    " + ops[i].getJavaName()
                      + "\n                " + ops[i].getIDLName());
         beanMethodMap.put(ops[i].getIDLName(),
                           new SkeletonStrategy(ops[i].getMethod()));
      }

      // Initialize repository ids of remote interface
      beanRepositoryIds = interfaceAnalysis.getAllTypeIds();

      // Create home method mappings for container invoker
      logger.debug("Home methods:");

      interfaceAnalysis =
            InterfaceAnalysis.getInterfaceAnalysis(
                  ((EJBProxyFactoryContainer)container).getHomeClass());

      homeMethodMap = new HashMap();

      attrs = interfaceAnalysis.getAttributes();
      for (int i = 0; i < attrs.length; i++) {
         OperationAnalysis op = attrs[i].getAccessorAnalysis();

         logger.debug("    " + op.getJavaName()
                      + "\n                " + op.getIDLName());
         homeMethodMap.put(op.getIDLName(),
                           new SkeletonStrategy(op.getMethod()));
         op = attrs[i].getMutatorAnalysis();
         if (op != null) {
            logger.debug("    " + op.getJavaName()
                         + "\n                " + op.getIDLName());
            homeMethodMap.put(op.getIDLName(),
                              new SkeletonStrategy(op.getMethod()));
         }
      }

      ops = interfaceAnalysis.getOperations();
      for (int i = 0; i < ops.length; i++) {
View Full Code Here


      }
     
      this.methodMap = new HashMap<String, SkeletonStrategy>();
      AttributeAnalysis[] attrs = interfaceAnalysis.getAttributes();
      for (int i = 0; i < attrs.length; i++) {
         OperationAnalysis op = attrs[i].getAccessorAnalysis();

         log.debug("    " + op.getJavaName() + ": " + op.getIDLName());
         methodMap.put(op.getIDLName(),
                           new SkeletonStrategy(op.getMethod()));
         op = attrs[i].getMutatorAnalysis();
         if (op != null) {
            log.debug("    " + op.getJavaName() + ": " + op.getIDLName());
            methodMap.put(op.getIDLName(),
                              new SkeletonStrategy(op.getMethod()));
         }
      }

      OperationAnalysis[] ops = interfaceAnalysis.getOperations();
      for (int i = 0; i < ops.length; i++) {
View Full Code Here

      beanMethodMap = new HashMap();

      AttributeAnalysis[] attrs = interfaceAnalysis.getAttributes();
      for (int i = 0; i < attrs.length; i++) {
         OperationAnalysis op = attrs[i].getAccessorAnalysis();

         logger.debug("    " + op.getJavaName()
                      + "\n                " + op.getIDLName());
         beanMethodMap.put(op.getIDLName(),
                           new SkeletonStrategy(op.getMethod()));
         op = attrs[i].getMutatorAnalysis();
         if (op != null) {
            logger.debug("    " + op.getJavaName()
                         + "\n                " + op.getIDLName());
            beanMethodMap.put(op.getIDLName(),
                              new SkeletonStrategy(op.getMethod()));
         }
      }

      OperationAnalysis[] ops = interfaceAnalysis.getOperations();
      for (int i = 0; i < ops.length; i++) {
         logger.debug("    " + ops[i].getJavaName()
                      + "\n                " + ops[i].getIDLName());
         beanMethodMap.put(ops[i].getIDLName(),
                           new SkeletonStrategy(ops[i].getMethod()));
      }

      // Initialize repository ids of remote interface
      beanRepositoryIds = interfaceAnalysis.getAllTypeIds();

      // Create home method mappings for container invoker
      logger.debug("Home methods:");

      interfaceAnalysis =
            InterfaceAnalysis.getInterfaceAnalysis(
                  ((EJBProxyFactoryContainer)container).getHomeClass());

      homeMethodMap = new HashMap();

      attrs = interfaceAnalysis.getAttributes();
      for (int i = 0; i < attrs.length; i++) {
         OperationAnalysis op = attrs[i].getAccessorAnalysis();

         logger.debug("    " + op.getJavaName()
                      + "\n                " + op.getIDLName());
         homeMethodMap.put(op.getIDLName(),
                           new SkeletonStrategy(op.getMethod()));
         op = attrs[i].getMutatorAnalysis();
         if (op != null) {
            logger.debug("    " + op.getJavaName()
                         + "\n                " + op.getIDLName());
            homeMethodMap.put(op.getIDLName(),
                              new SkeletonStrategy(op.getMethod()));
         }
      }

      ops = interfaceAnalysis.getOperations();
      for (int i = 0; i < ops.length; i++) {
View Full Code Here

      int methodIndex = 0;
     
      AttributeAnalysis[] attrs = interfaceAnalysis.getAttributes();
      for (int i = 0; i < attrs.length; i++) {
         OperationAnalysis op = attrs[i].getAccessorAnalysis();
         generateMethodCode(asm, superclass, op.getMethod(), op.getIDLName(),
                            strategy(methodIndex), init(methodIndex));
         methodIndex++;
         op = attrs[i].getMutatorAnalysis();
         if (op != null) {
            generateMethodCode(asm, superclass,
                               op.getMethod(), op.getIDLName(),
                               strategy(methodIndex), init(methodIndex));
            methodIndex++;
         }
      }
     
View Full Code Here

/*     */
/* 304 */     this.beanMethodMap = new HashMap();
/*     */
/* 306 */     AttributeAnalysis[] attrs = interfaceAnalysis.getAttributes();
/* 307 */     for (int i = 0; i < attrs.length; i++) {
/* 308 */       OperationAnalysis op = attrs[i].getAccessorAnalysis();
/*     */
/* 310 */       this.logger.debug("    " + op.getJavaName() + "\n                " + op.getIDLName());
/*     */
/* 312 */       this.beanMethodMap.put(op.getIDLName(), new SkeletonStrategy(op.getMethod()));
/*     */
/* 314 */       op = attrs[i].getMutatorAnalysis();
/* 315 */       if (op != null) {
/* 316 */         this.logger.debug("    " + op.getJavaName() + "\n                " + op.getIDLName());
/*     */
/* 318 */         this.beanMethodMap.put(op.getIDLName(), new SkeletonStrategy(op.getMethod()));
/*     */       }
/*     */
/*     */     }
/*     */
/* 323 */     OperationAnalysis[] ops = interfaceAnalysis.getOperations();
/* 324 */     for (int i = 0; i < ops.length; i++) {
/* 325 */       this.logger.debug("    " + ops[i].getJavaName() + "\n                " + ops[i].getIDLName());
/*     */
/* 327 */       this.beanMethodMap.put(ops[i].getIDLName(), new SkeletonStrategy(ops[i].getMethod()));
/*     */     }
/*     */
/* 332 */     this.beanRepositoryIds = interfaceAnalysis.getAllTypeIds();
/*     */
/* 335 */     this.logger.debug("Home methods:");
/*     */
/* 337 */     interfaceAnalysis = InterfaceAnalysis.getInterfaceAnalysis(((EJBProxyFactoryContainer)this.container).getHomeClass());
/*     */
/* 341 */     this.homeMethodMap = new HashMap();
/*     */
/* 343 */     attrs = interfaceAnalysis.getAttributes();
/* 344 */     for (int i = 0; i < attrs.length; i++) {
/* 345 */       OperationAnalysis op = attrs[i].getAccessorAnalysis();
/*     */
/* 347 */       this.logger.debug("    " + op.getJavaName() + "\n                " + op.getIDLName());
/*     */
/* 349 */       this.homeMethodMap.put(op.getIDLName(), new SkeletonStrategy(op.getMethod()));
/*     */
/* 351 */       op = attrs[i].getMutatorAnalysis();
/* 352 */       if (op != null) {
/* 353 */         this.logger.debug("    " + op.getJavaName() + "\n                " + op.getIDLName());
/*     */
/* 355 */         this.homeMethodMap.put(op.getIDLName(), new SkeletonStrategy(op.getMethod()));
/*     */       }
/*     */
/*     */     }
/*     */
/* 360 */     ops = interfaceAnalysis.getOperations();
View Full Code Here

/*     */     }
/*     */
/* 117 */     this.methodMap = new HashMap();
/* 118 */     AttributeAnalysis[] attrs = interfaceAnalysis.getAttributes();
/* 119 */     for (int i = 0; i < attrs.length; i++) {
/* 120 */       OperationAnalysis op = attrs[i].getAccessorAnalysis();
/*     */
/* 122 */       log.debug("    " + op.getJavaName() + ": " + op.getIDLName());
/* 123 */       this.methodMap.put(op.getIDLName(), new SkeletonStrategy(op.getMethod()));
/*     */
/* 125 */       op = attrs[i].getMutatorAnalysis();
/* 126 */       if (op != null) {
/* 127 */         log.debug("    " + op.getJavaName() + ": " + op.getIDLName());
/* 128 */         this.methodMap.put(op.getIDLName(), new SkeletonStrategy(op.getMethod()));
/*     */       }
/*     */
/*     */     }
/*     */
/* 133 */     OperationAnalysis[] ops = interfaceAnalysis.getOperations();
View Full Code Here

TOP

Related Classes of org.jboss.iiop.rmi.OperationAnalysis

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.