diff options
author | vamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-13 09:11:12 +0000 |
---|---|---|
committer | vamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-13 09:11:12 +0000 |
commit | 0aafa12010ca496809a7fa7e5327d1f90556d399 (patch) | |
tree | 248c1c7ed7acaf011c7fb873efae5bddef804054 /branches/sca-java-1.x/modules/implementation-jee/src/main | |
parent | 1a73ab88104f97f91b23da408a4b8fe0339550a9 (diff) |
TUSCANY-2958 JEEImplementationImpl, WebImplementationImpl and EJBImplementationImpl need to implement PolicySetAttachPoint
o Make these classes extend ImplementationImpl.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@764380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/implementation-jee/src/main')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/impl/JEEImplementationImpl.java | 46 |
1 files changed, 5 insertions, 41 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/impl/JEEImplementationImpl.java b/branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/impl/JEEImplementationImpl.java index 8492befda5..1a63f52d3e 100644 --- a/branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/impl/JEEImplementationImpl.java +++ b/branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/impl/JEEImplementationImpl.java @@ -18,13 +18,8 @@ */ package org.apache.tuscany.sca.implementation.jee.impl; -import java.util.ArrayList; -import java.util.List; - import org.apache.tuscany.sca.assembly.ConstrainingType; -import org.apache.tuscany.sca.assembly.Property; -import org.apache.tuscany.sca.assembly.Reference; -import org.apache.tuscany.sca.assembly.Service; +import org.apache.tuscany.sca.assembly.impl.ImplementationImpl; import org.apache.tuscany.sca.implementation.jee.JEEImplementation; /** @@ -32,59 +27,28 @@ import org.apache.tuscany.sca.implementation.jee.JEEImplementation; * * @version $Rev$ $Date$ */ -class JEEImplementationImpl implements JEEImplementation { +class JEEImplementationImpl extends ImplementationImpl implements JEEImplementation { - private List<Property> properties = new ArrayList<Property>(); - private List<Service> services = new ArrayList<Service>(); - private List<Reference> references = new ArrayList<Reference>(); - private String uri; - private boolean unresolved; - private String archive; /** * Constructs a new JEE implementation. */ JEEImplementationImpl() { + super(); } + @Override public ConstrainingType getConstrainingType() { // The JEE implementation does not support constrainingTypes return null; } - - public List<Property> getProperties() { - return properties; - } - - public List<Service> getServices() { - return services; - } - public List<Reference> getReferences() { - return references; - } - + @Override public void setConstrainingType(ConstrainingType constrainingType) { // The JEE implementation does not support constrainingTypes } - public String getURI() { - return uri; - } - - public void setURI(String uri) { - this.uri = uri; - } - - public boolean isUnresolved() { - return unresolved; - } - - public void setUnresolved(boolean unresolved) { - this.unresolved = unresolved; - } - public String getArchive() { return archive; } |