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-web | |
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-web')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/impl/WebImplementationImpl.java | 41 |
1 files changed, 8 insertions, 33 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/impl/WebImplementationImpl.java b/branches/sca-java-1.x/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/impl/WebImplementationImpl.java index f44da1f5bb..bd48f7a521 100644 --- a/branches/sca-java-1.x/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/impl/WebImplementationImpl.java +++ b/branches/sca-java-1.x/modules/implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/impl/WebImplementationImpl.java @@ -18,16 +18,16 @@ */
package org.apache.tuscany.sca.implementation.web.impl;
-import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
-import org.apache.tuscany.sca.assembly.ConstrainingType;
-import org.apache.tuscany.sca.assembly.builder.ComponentPreProcessor;
import org.apache.tuscany.sca.assembly.Component;
+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.builder.ComponentPreProcessor;
+import org.apache.tuscany.sca.assembly.impl.ImplementationImpl;
import org.apache.tuscany.sca.implementation.web.WebImplementation;
import org.apache.tuscany.sca.runtime.RuntimeComponent;
@@ -35,59 +35,34 @@ import org.apache.tuscany.sca.runtime.RuntimeComponent; /**
* The model representing an Web implementation in an SCA assembly model.
*/
-class WebImplementationImpl implements WebImplementation, ComponentPreProcessor {
+class WebImplementationImpl extends ImplementationImpl implements WebImplementation, ComponentPreProcessor {
- private List<Property> properties = new ArrayList<Property>();
- private List<Reference> references = new ArrayList<Reference>();
- private String uri;
- private boolean unresolved;
-
private String webURI;
/**
* Constructs a new Web implementation.
*/
WebImplementationImpl() {
+ super();
}
+ @Override
public ConstrainingType getConstrainingType() {
// The Web implementation does not support constrainingTypes
return null;
}
- public List<Property> getProperties() {
- return properties;
- }
-
+ @Override
public List<Service> getServices() {
// The Web implementation does not offer services
return Collections.emptyList();
}
- public List<Reference> getReferences() {
- return references;
- }
-
+ @Override
public void setConstrainingType(ConstrainingType constrainingType) {
// The Web 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 getWebURI() {
return webURI;
}
|