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-ejb | |
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 '')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/impl/EJBImplementationImpl.java | 42 |
1 files changed, 5 insertions, 37 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/impl/EJBImplementationImpl.java b/branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/impl/EJBImplementationImpl.java index cf220a8339..8bcff6eb70 100644 --- a/branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/impl/EJBImplementationImpl.java +++ b/branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/impl/EJBImplementationImpl.java @@ -18,15 +18,13 @@ */ package org.apache.tuscany.sca.implementation.ejb.impl; -import java.util.ArrayList; -import java.util.List; - 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.ejb.EJBImplementation; import org.apache.tuscany.sca.runtime.RuntimeComponent; @@ -36,42 +34,28 @@ import org.apache.tuscany.sca.runtime.RuntimeComponent; * * @version $Rev$ $Date$ */ -class EJBImplementationImpl implements EJBImplementation, ComponentPreProcessor { +class EJBImplementationImpl extends ImplementationImpl implements EJBImplementation, ComponentPreProcessor { - private List<Property> properties = new ArrayList<Property>(); - private List<Service> services = new ArrayList<Service>(); - private List<Reference> references = new ArrayList<Reference>(); private String ejbLink; - private String uri; - private boolean unresolved; /** * Constructs a new EJB implementation. */ EJBImplementationImpl() { + super(); } + @Override public ConstrainingType getConstrainingType() { // The EJB 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; - } - public String getEJBLink() { return ejbLink; } + @Override public void setConstrainingType(ConstrainingType constrainingType) { // The EJB implementation does not support constrainingTypes } @@ -80,22 +64,6 @@ class EJBImplementationImpl implements EJBImplementation, ComponentPreProcessor this.ejbLink = ejbLink; } - 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; - } - /** * Use preProcess to add any references and properties dynamically */ |