diff options
author | vamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-05 06:08:47 +0000 |
---|---|---|
committer | vamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-05 06:08:47 +0000 |
commit | 73f83aa2af6c25757ca8eee53d6d5ecb6fd7d6df (patch) | |
tree | d1f1bfb87bcb4801d295ad04e69fbf23ce3d2d79 /branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementation.java | |
parent | 4d7463b06ae6fc6760d2bbbd0b448b1904ea9b3e (diff) |
Obtain the injection points for ejb component from implementation.web
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@833009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementation.java')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementation.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementation.java b/branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementation.java index 0d3b05f0c9..3243c94aa7 100644 --- a/branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementation.java +++ b/branches/sca-java-1.x/modules/implementation-ejb/src/main/java/org/apache/tuscany/sca/implementation/ejb/EJBImplementation.java @@ -18,7 +18,13 @@ */ package org.apache.tuscany.sca.implementation.ejb; +import java.util.Collection; +import java.util.Map; + import org.apache.tuscany.sca.assembly.Implementation; +import org.apache.tuscany.sca.contribution.jee.InjectionTarget; +import org.apache.tuscany.sca.implementation.java.impl.JavaElementImpl; +import org.apache.tuscany.sca.implementation.java.impl.JavaResourceImpl; @@ -41,4 +47,35 @@ public interface EJBImplementation extends Implementation { */ void setEJBLink(String ejbLink); + /** + * Returns the injection points for SCA references + * + * @return Map with injection points for SCA references + */ + Map<String, JavaElementImpl> getReferenceInjectionPoints(); + + /** + * Returns the injection points for SCA properties + * + * @return Map with injection points for SCA properties + */ + Map<String, JavaElementImpl> getPropertyInjectionPoints(); + + /** + * Returns the injection points for SCA resources like component context, component name, etc. + * + * @return Map with injection points for SCA resources + */ + Map<String, JavaResourceImpl> getResourceInjectionPoints(); + + /** + * Returns the injection points for SCA callbacks + * + * @return Map with injection points for SCA callbacks + */ + Map<String, Collection<JavaElementImpl>> getCallbackInjectionPoints(); + + Map<InjectionTarget, Class<?>> getOptExtensionReferenceInjectionPoints(); + + Map<String, String> getOptExtensionPropertyInjectionPoints(); } |