[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Gavin King
gavin.king at jboss.com
Tue May 29 23:39:30 EDT 2007
User: gavin
Date: 07/05/29 23:39:30
Modified: src/main/org/jboss/seam/core Events.java
Log:
obsolete code
Revision Changes Path
1.23 +0 -18 jboss-seam/src/main/org/jboss/seam/core/Events.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Events.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Events.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- Events.java 1 May 2007 16:43:51 -0000 1.22
+++ Events.java 30 May 2007 03:39:30 -0000 1.23
@@ -3,14 +3,11 @@
import static org.jboss.seam.InterceptionType.NEVER;
import static org.jboss.seam.annotations.Install.BUILT_IN;
-import java.io.InputStream;
import java.util.Date;
import java.util.List;
-import org.dom4j.DocumentException;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
-import org.jboss.seam.annotations.Create;
import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Intercept;
import org.jboss.seam.annotations.Name;
@@ -21,7 +18,6 @@
import org.jboss.seam.core.Init.ObserverMethodExpression;
import org.jboss.seam.log.LogProvider;
import org.jboss.seam.log.Logging;
-import org.jboss.seam.util.Resources;
@Scope(ScopeType.STATELESS)
@Intercept(NEVER)
@@ -32,20 +28,6 @@
private static final LogProvider log = Logging.getLogProvider(Events.class);
- @Create
- public void initialize() throws DocumentException
- {
- InputStream stream = Resources.getResourceAsStream("/WEB-INF/events.xml");
- if (stream==null)
- {
- log.info("no events.xml file found");
- }
- else
- {
- log.info("reading events.xml");
- }
- }
-
public void addListener(String type, String methodBindingExpression, Class... argTypes)
{
MethodExpression methodBinding = Expressions.instance().createMethodExpression(methodBindingExpression, Object.class, argTypes);
More information about the jboss-cvs-commits
mailing list