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/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/WebModuleInfoImpl.java | |
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/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/WebModuleInfoImpl.java')
-rw-r--r-- | branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/WebModuleInfoImpl.java | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/WebModuleInfoImpl.java b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/WebModuleInfoImpl.java index 353ac7b5c5..9e9a6e3de9 100644 --- a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/WebModuleInfoImpl.java +++ b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/WebModuleInfoImpl.java @@ -32,14 +32,31 @@ public class WebModuleInfoImpl implements WebModuleInfo { private URI uri; private String moduleName; - private Collection<Class<?>> classesToScan = new ArrayList<Class<?>>(); + + private Collection<Class<?>> servletClasses = new ArrayList<Class<?>>(); + private Collection<Class<?>> listenerClasses = new ArrayList<Class<?>>(); + private Collection<Class<?>> filterClasses = new ArrayList<Class<?>>(); + private Collection<Class<?>> jsfClasses = new ArrayList<Class<?>>(); + private Map<String, EjbReferenceInfo> ejbReferences = new HashMap<String, EjbReferenceInfo>(); private Map<String, EnvEntryInfo> envEntries = new HashMap<String, EnvEntryInfo>(); public WebModuleInfoImpl() { } - public Collection<Class<?>> getClassesToScan() { - return classesToScan; + public Collection<Class<?>> getServletClasses() { + return servletClasses; + } + + public Collection<Class<?>> getListenerClasses() { + return listenerClasses; + } + + public Collection<Class<?>> getFilterClasses() { + return filterClasses; + } + + public Collection<Class<?>> getJSFClasses() { + return jsfClasses; } public EjbReferenceInfo getEjbReference(String ejbRefName) { |