[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/search/metamodel ...
Christian Bauer
christian at hibernate.org
Wed Jul 11 12:17:46 EDT 2007
User: cbauer
Date: 07/07/11 12:17:46
Modified: examples/wiki/src/main/org/jboss/seam/wiki/core/search/metamodel
SearchRegistry.java
Log:
Added DBUnit support to tests
Revision Changes Path
1.3 +3 -2 jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/search/metamodel/SearchRegistry.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SearchRegistry.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/search/metamodel/SearchRegistry.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SearchRegistry.java 21 Jun 2007 11:05:50 -0000 1.2
+++ SearchRegistry.java 11 Jul 2007 16:17:46 -0000 1.3
@@ -1,6 +1,7 @@
package org.jboss.seam.wiki.core.search.metamodel;
import org.jboss.seam.annotations.*;
+import org.jboss.seam.annotations.Observer;
import org.jboss.seam.ScopeType;
import org.jboss.seam.wiki.core.search.annotations.*;
import org.jboss.seam.core.Events;
@@ -25,7 +26,7 @@
*/
@Name("searchRegistry")
@Scope(ScopeType.APPLICATION)
- at Startup(depends = "wikiInit")
+ at Startup
public class SearchRegistry {
@Logger
@@ -34,7 +35,7 @@
Map<String, SearchableEntity> searchableEntitiesByName = new HashMap<String, SearchableEntity>();
List<SearchableEntity> searchableEntities = new ArrayList<SearchableEntity>();
- @Create
+ @Observer("Wiki.started")
public void scanForSearchSupportComponents() {
log.debug("initializing search registry");
More information about the jboss-cvs-commits
mailing list