From 1a3e565b6ec275cb8ce1e06f05df4427fd88b242 Mon Sep 17 00:00:00 2001 From: vamsic007 Date: Tue, 24 Mar 2009 07:45:35 +0000 Subject: TUSCANY-2936 Extension point API for Java EE o Changed WebModuleInfo to identify individual class artifacts. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757679 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/contribution/jee/impl/JavaEEIntrospectorImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'branches/sca-java-1.x/modules/contribution-jee-impl/src/main/java') diff --git a/branches/sca-java-1.x/modules/contribution-jee-impl/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEIntrospectorImpl.java b/branches/sca-java-1.x/modules/contribution-jee-impl/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEIntrospectorImpl.java index f342bc89f1..ff4a10bff8 100644 --- a/branches/sca-java-1.x/modules/contribution-jee-impl/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEIntrospectorImpl.java +++ b/branches/sca-java-1.x/modules/contribution-jee-impl/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEIntrospectorImpl.java @@ -126,7 +126,7 @@ public class JavaEEIntrospectorImpl implements JavaEEIntrospector { // Process Servlets for(Servlet servlet: webApp.getServlet()) { try { - wmInfo.getClassesToScan().add(classLoader.loadClass(servlet.getServletClass())); + wmInfo.getServletClasses().add(classLoader.loadClass(servlet.getServletClass())); } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); @@ -136,7 +136,7 @@ public class JavaEEIntrospectorImpl implements JavaEEIntrospector { // Process Filters for(Filter filter: webApp.getFilter()) { try { - wmInfo.getClassesToScan().add(classLoader.loadClass(filter.getFilterClass())); + wmInfo.getFilterClasses().add(classLoader.loadClass(filter.getFilterClass())); } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); @@ -146,7 +146,7 @@ public class JavaEEIntrospectorImpl implements JavaEEIntrospector { // Process Listeners for(Listener listener: webApp.getListener()) { try { - wmInfo.getClassesToScan().add(classLoader.loadClass(listener.getListenerClass())); + wmInfo.getListenerClasses().add(classLoader.loadClass(listener.getListenerClass())); } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); -- cgit v1.2.3