Package org.jboss.aop.array

Examples of org.jboss.aop.array.ArrayReplacement


      if (classExpr != null && ast != null)
      {
         throw new RuntimeException("You cannot define both a class and expr attribute in the same <arrayreplacement>");
      }

      ArrayReplacement pcut = null;
      if (classExpr != null)
      {
         pcut = new ArrayReplacement(name, classExpr);
      }
      else
      {
         ASTStart start = new TypeExpressionParser(new StringReader(ast)).Start();
         pcut = new ArrayReplacement(name, start);
      }
      manager.addArrayReplacement(pcut);
   }
View Full Code Here


    */
   public void removeArrayReplacement(String name)
   {
      synchronized (arrayReplacements)
      {
         ArrayReplacement pointcut = (ArrayReplacement) arrayReplacements.remove(name);
         if (pointcut == null) return;
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.aop.array.ArrayReplacement

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.