[jboss-cvs] jboss-seam/src/ioc/org/jboss/seam/ioc/microcontainer ...

Gavin King gavin.king at jboss.com
Wed Jun 20 13:47:18 EDT 2007


  User: gavin   
  Date: 07/06/20 13:47:18

  Modified:    src/ioc/org/jboss/seam/ioc/microcontainer  
                        JMXNotificationComponent.java
                        PojoNotificationComponent.java
  Log:
  refactored interception annotations
  
  Revision  Changes    Path
  1.4       +5 -4      jboss-seam/src/ioc/org/jboss/seam/ioc/microcontainer/JMXNotificationComponent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JMXNotificationComponent.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/ioc/org/jboss/seam/ioc/microcontainer/JMXNotificationComponent.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- JMXNotificationComponent.java	17 May 2007 23:31:39 -0000	1.3
  +++ JMXNotificationComponent.java	20 Jun 2007 17:47:18 -0000	1.4
  @@ -21,18 +21,19 @@
   */
   package org.jboss.seam.ioc.microcontainer;
   
  +import static org.jboss.seam.annotations.Install.FRAMEWORK;
  +
   import java.io.Serializable;
  +
   import javax.management.MBeanServer;
   import javax.management.ObjectName;
   
   import org.jboss.mx.util.MBeanProxyExt;
   import org.jboss.mx.util.MBeanServerLocator;
   import org.jboss.seam.Component;
  -import static org.jboss.seam.InterceptionType.NEVER;
   import org.jboss.seam.annotations.Install;
  -import static org.jboss.seam.annotations.Install.FRAMEWORK;
  -import org.jboss.seam.annotations.Intercept;
   import org.jboss.seam.annotations.Startup;
  +import org.jboss.seam.annotations.intercept.BypassInterceptors;
   import org.jboss.system.ServiceControllerMBean;
   
   /**
  @@ -42,7 +43,7 @@
    *
    * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
    */
  - at Intercept(NEVER)
  + at BypassInterceptors
   @Startup
   @Install(value = false, precedence = FRAMEWORK)
   public class JMXNotificationComponent extends ControllerNotificationComponent implements JMXNotificationComponentMBean, Serializable
  
  
  
  1.3       +2 -3      jboss-seam/src/ioc/org/jboss/seam/ioc/microcontainer/PojoNotificationComponent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoNotificationComponent.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/ioc/org/jboss/seam/ioc/microcontainer/PojoNotificationComponent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- PojoNotificationComponent.java	17 May 2007 23:31:39 -0000	1.2
  +++ PojoNotificationComponent.java	20 Jun 2007 17:47:18 -0000	1.3
  @@ -27,10 +27,9 @@
   import org.jboss.kernel.Kernel;
   import org.jboss.kernel.spi.dependency.KernelController;
   import org.jboss.seam.Component;
  -import org.jboss.seam.InterceptionType;
   import org.jboss.seam.annotations.Install;
  -import org.jboss.seam.annotations.Intercept;
   import org.jboss.seam.annotations.Startup;
  +import org.jboss.seam.annotations.intercept.BypassInterceptors;
   
   /**
    * Notifies Seam components in current underlying Microcontainer Controller.
  @@ -39,7 +38,7 @@
    *
    * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
    */
  - at Intercept(InterceptionType.NEVER)
  + at BypassInterceptors
   @Startup
   @Install(value = false, precedence = Install.FRAMEWORK)
   public class PojoNotificationComponent extends ControllerNotificationComponent implements Serializable
  
  
  



More information about the jboss-cvs-commits mailing list