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

Gavin King gavin.king at jboss.com
Sun Jul 23 20:40:45 EDT 2006


  User: gavin   
  Date: 06/07/23 20:40:45

  Modified:    src/main/org/jboss/seam  Component.java
  Log:
  inject logs at init times
  
  Revision  Changes    Path
  1.148     +5 -2      jboss-seam/src/main/org/jboss/seam/Component.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Component.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
  retrieving revision 1.147
  retrieving revision 1.148
  diff -u -b -r1.147 -r1.148
  --- Component.java	17 Jul 2006 20:14:42 -0000	1.147
  +++ Component.java	24 Jul 2006 00:40:44 -0000	1.148
  @@ -86,7 +86,7 @@
    *
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
    * @author Gavin King
  - * @version $Revision: 1.147 $
  + * @version $Revision: 1.148 $
    */
   @Scope(ScopeType.APPLICATION)
   public class Component
  @@ -799,6 +799,9 @@
      public void initialize(Object bean) throws Exception
      {
         if ( log.isDebugEnabled() ) log.debug("initializing new instance of: " + name);
  +      
  +      injectLog(bean);
  +
         for ( Map.Entry<Method, InitialValue> me: initializerSetters.entrySet() )
         {
            setPropertyValue(bean, me.getKey(), me.getKey().getName(), me.getValue().getValue() );
  @@ -811,7 +814,7 @@
   
      public void inject(Object bean/*, boolean isActionInvocation*/)
      {
  -      injectLog(bean);
  +      //injectLog(bean);
         injectMethods(bean/*, isActionInvocation*/);
         injectFields(bean/*, isActionInvocation*/);
         injectDataModelSelection(bean);
  
  
  



More information about the jboss-cvs-commits mailing list