[jboss-cvs] jboss-seam/src/main/org/jboss/seam/init ...

Michael Youngstrom youngm at gmail.com
Mon Aug 6 17:51:43 EDT 2007


  User: myoungstrom
  Date: 07/08/06 17:51:43

  Modified:    src/main/org/jboss/seam/init  Initialization.java
  Log:
  JBSEAM-1760
  
  Revision  Changes    Path
  1.190     +17 -13    jboss-seam/src/main/org/jboss/seam/init/Initialization.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Initialization.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/init/Initialization.java,v
  retrieving revision 1.189
  retrieving revision 1.190
  diff -u -b -r1.189 -r1.190
  --- Initialization.java	25 Jul 2007 14:40:31 -0000	1.189
  +++ Initialization.java	6 Aug 2007 21:51:43 -0000	1.190
  @@ -711,6 +711,7 @@
   
      private void installScannedComponentAndRoles(Class<Object> scannedClass)
      {
  +      try {
         if ( scannedClass.isAnnotationPresent(Name.class) )
         {
            addComponentDescriptor( new ComponentDescriptor(scannedClass) );
  @@ -727,6 +728,9 @@
               installRole(scannedClass, role);
            }
         }
  +      } catch(TypeNotPresentException e) {
  +         log.info("Failed to install "+scannedClass.getName()+": "+e.getMessage());
  +      }
      }
   
      private void installRole(Class<Object> scannedClass, Role role)
  
  
  



More information about the jboss-cvs-commits mailing list