diff options
author | vamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-24 07:45:35 +0000 |
---|---|---|
committer | vamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-24 07:45:35 +0000 |
commit | 1a3e565b6ec275cb8ce1e06f05df4427fd88b242 (patch) | |
tree | 78582362bd732042a01139277fbec6813998124f /branches/sca-java-1.x/modules/contribution-jee-impl/src/main | |
parent | 3aaf8c95de13c405a50568dd635382197fb657fd (diff) |
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
Diffstat (limited to 'branches/sca-java-1.x/modules/contribution-jee-impl/src/main')
-rw-r--r-- | branches/sca-java-1.x/modules/contribution-jee-impl/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/JavaEEIntrospectorImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |