diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-02 08:56:07 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-02 08:56:07 +0000 |
commit | 9fb7e225d5e387bab48312eab567a3661214558a (patch) | |
tree | 212807b424f77fa1038ce4f7ab0517508a71c5c7 /java/sca/modules/myfaces/src/main | |
parent | a4cf73926c2e560a3a51b6d5e10027efeefb6a3b (diff) |
Clean up some dependencies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@749239 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/myfaces/src/main')
-rw-r--r-- | java/sca/modules/myfaces/src/main/java/org/apache/tuscany/myfaces/TuscanyAnnotationLifecycleProvider.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/sca/modules/myfaces/src/main/java/org/apache/tuscany/myfaces/TuscanyAnnotationLifecycleProvider.java b/java/sca/modules/myfaces/src/main/java/org/apache/tuscany/myfaces/TuscanyAnnotationLifecycleProvider.java index a7152206eb..8f9000ffe6 100644 --- a/java/sca/modules/myfaces/src/main/java/org/apache/tuscany/myfaces/TuscanyAnnotationLifecycleProvider.java +++ b/java/sca/modules/myfaces/src/main/java/org/apache/tuscany/myfaces/TuscanyAnnotationLifecycleProvider.java @@ -20,20 +20,20 @@ package org.apache.tuscany.myfaces;
import java.lang.reflect.InvocationTargetException;
+import java.util.logging.Logger;
import javax.faces.context.ExternalContext;
import javax.naming.NamingException;
import javax.servlet.ServletContext;
import org.apache.AnnotationProcessor;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
import org.apache.myfaces.config.annotation.DiscoverableLifecycleProvider;
import org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider;
import org.apache.myfaces.shared_impl.util.ClassUtils;
+import org.apache.tuscany.sca.node.impl.NodeImpl;
public class TuscanyAnnotationLifecycleProvider extends TomcatAnnotationLifecycleProvider implements DiscoverableLifecycleProvider {
- private static Log log = LogFactory.getLog(TomcatAnnotationLifecycleProvider.class);
+ private static final Logger logger = Logger.getLogger(TuscanyAnnotationLifecycleProvider.class.getName());
private TuscanyAnnotationProcessor annotationProcessor;
private ServletContext servletContext;
@@ -48,7 +48,7 @@ public class TuscanyAnnotationLifecycleProvider extends TomcatAnnotationLifecycl public Object newInstance(String className) throws InstantiationException, IllegalAccessException, InvocationTargetException, NamingException, ClassNotFoundException {
Class<?> clazz = ClassUtils.classForName(className);
- log.info("Creating instance of " + className);
+ logger.info("Creating instance of " + className);
Object object = clazz.newInstance();
annotationProcessor.processAnnotations(object, servletContext);
annotationProcessor.postConstruct(object);
|