[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/preferences ...

Christian Bauer christian at hibernate.org
Wed Jul 11 12:17:45 EDT 2007


  User: cbauer  
  Date: 07/07/11 12:17:45

  Modified:    examples/wiki/src/main/org/jboss/seam/wiki/preferences 
                        PreferenceRegistry.java
  Log:
  Added DBUnit support to tests
  
  Revision  Changes    Path
  1.3       +2 -1      jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/preferences/PreferenceRegistry.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PreferenceRegistry.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/preferences/PreferenceRegistry.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- PreferenceRegistry.java	12 Jun 2007 12:30:05 -0000	1.2
  +++ PreferenceRegistry.java	11 Jul 2007 16:17:45 -0000	1.3
  @@ -1,6 +1,7 @@
   package org.jboss.seam.wiki.preferences;
   
   import org.jboss.seam.annotations.*;
  +import org.jboss.seam.annotations.Observer;
   import org.jboss.seam.ScopeType;
   import org.jboss.seam.Component;
   import org.jboss.seam.log.Log;
  @@ -27,7 +28,7 @@
       SortedSet<PreferenceComponent> preferenceComponents = new TreeSet<PreferenceComponent>();
       Map<String, PreferenceComponent> preferenceComponentsByName = new HashMap<String, PreferenceComponent>();
   
  -    @Create
  +    @Observer("Wiki.started")
       public void scanPreferenceComponents() {
           log.debug("initializing preference registry");
   
  
  
  



More information about the jboss-cvs-commits mailing list