You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by mc...@apache.org on 2008/05/15 11:24:22 UTC

svn commit: r656567 - in /incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring: SCAParentApplicationContext.java xml/SpringBeanIntrospector.java xml/SpringXMLComponentTypeLoader.java

Author: mcombellack
Date: Thu May 15 02:24:21 2008
New Revision: 656567

URL: http://svn.apache.org/viewvc?rev=656567&view=rev
Log:
Minor corrections to the JavaDoc

Modified:
    incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java
    incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringBeanIntrospector.java
    incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringXMLComponentTypeLoader.java

Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java?rev=656567&r1=656566&r2=656567&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java Thu May 15 02:24:21 2008
@@ -77,9 +77,10 @@
     }
 
     /**
-     * Get a Bean for a reference or for a property..
+     * Get a Bean for a reference or for a property.
+     *
      * @param name - the name of the Bean required
-     * @param requiredtype - the required type of the Bean (either a Java class or a Java interface)
+     * @param requiredType - the required type of the Bean (either a Java class or a Java interface)
      * @return Object - a Bean which matches the requested bean
      */
     public Object getBean(String name, Class requiredType) throws BeansException {

Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringBeanIntrospector.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringBeanIntrospector.java?rev=656567&r1=656566&r2=656567&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringBeanIntrospector.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringBeanIntrospector.java Thu May 15 02:24:21 2008
@@ -59,11 +59,12 @@
     private JavaImplementationFactory javaImplementationFactory;
 
     /**
-     * The constructor sets up the various visitor elements that will be used to inrospect
-     * the Spring bean and extract SCA information
-     * @param assemblyFactory - an AssemblyFactory
-     * @param interfaceIntrospector - an Java InterfaceIntrospector
-     * @param javaFactory - a Java Interface Factory
+     * The constructor sets up the various visitor elements that will be used to introspect
+     * the Spring bean and extract SCA information.
+     *
+     * @param assemblyFactory The Assembly Factory to use
+     * @param javaFactory The Java Interface Factory to use
+     * @param policyFactory The Policy Factory to use.
      */
     public SpringBeanIntrospector(AssemblyFactory assemblyFactory,
                                   JavaInterfaceFactory javaFactory,

Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringXMLComponentTypeLoader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringXMLComponentTypeLoader.java?rev=656567&r1=656566&r2=656567&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringXMLComponentTypeLoader.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringXMLComponentTypeLoader.java Thu May 15 02:24:21 2008
@@ -119,11 +119,10 @@
 
     /**
      * Method which fills out the component type for a Spring implementation by reading the 
-     * Spring application-context.xml file
-     * @param componentType - the component type to complete
-     * @param location - a string containing the relative location of the application-context.xml
-     * @return a Spring Resource for the application-context
-     * file
+     * Spring application-context.xml file.
+     * 
+     * @param implementation SpringImplementation into which to load the component type information
+     * @throws ContributionReadException Failed to read the contribution
      */
     private void loadFromXML(SpringImplementation implementation) throws ContributionReadException {
         XMLStreamReader reader;