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/03/20 22:56:09 UTC
svn commit: r639477 - in
/incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility:
ServiceDeclaration.java ServiceDiscovery.java
Author: mcombellack
Date: Thu Mar 20 14:56:08 2008
New Revision: 639477
URL: http://svn.apache.org/viewvc?rev=639477&view=rev
Log:
Minor JavaDoc updates and spelling corrections
Modified:
incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDeclaration.java
incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java
Modified: incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDeclaration.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDeclaration.java?rev=639477&r1=639476&r2=639477&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDeclaration.java (original)
+++ incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDeclaration.java Thu Mar 20 14:56:08 2008
@@ -25,7 +25,7 @@
/**
* Service declaration using J2SE Jar service provider spec Classes specified
- * inside this declaration are loaded using the classloader used to read the
+ * inside this declaration are loaded using the ClassLoader used to read the
* configuration file corresponding to this declaration.
*/
public class ServiceDeclaration {
@@ -39,8 +39,8 @@
/**
* Service declaration constructor
*
- * @param className Service implementation classname
- * @param classLoader Classloader corresponding to this service
+ * @param className Service implementation class name
+ * @param classLoader ClassLoader corresponding to this service
* implementation
* @param attributes Optional attributes for this service declaration
*/
@@ -64,7 +64,7 @@
}
/**
- * Load another class using the classloader of this service implementation
+ * Load another class using the ClassLoader of this service implementation
*
* @param anotherClassName
* @return Class
@@ -85,9 +85,9 @@
}
/**
- * Classloader associated with this service declaration
+ * ClassLoader associated with this service declaration
*
- * @return classloader
+ * @return ClassLoader
*/
public ClassLoader getClassLoader() {
return classLoader.get();
@@ -96,7 +96,7 @@
/**
* Service implementation class corresponding to this declaration
*
- * @return classname
+ * @return The Service implementation class corresponding to this declaration
*/
public String getClassName() {
return className;
Modified: incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java?rev=639477&r1=639476&r2=639477&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java (original)
+++ incubator/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java Thu Mar 20 14:56:08 2008
@@ -37,8 +37,8 @@
/**
* Service discovery for Tuscany based on J2SE Jar service provider spec.
* Services are described using configuration files in META-INF/services.
- * Service description specifies a classname followed by optional properties.
- * Multi-classloader environments are supported through a classloader
+ * Service description specifies a class name followed by optional properties.
+ * Multi-ClassLoader environments are supported through a ClassLoader
* registration API
*/
public class ServiceDiscovery {
@@ -50,7 +50,7 @@
/**
* Get an instance of Service discovery, one instance is created per
- * classloader that this class is loaded from
+ * ClassLoader that this class is loaded from
*
* @return
*/
@@ -65,8 +65,8 @@
}
/**
- * Register a classloader with this discovery mechanism. Tuscany extension
- * classloaders are registered here.
+ * Register a ClassLoader with this discovery mechanism. Tuscany extension
+ * ClassLoaders are registered here.
*
* @param classLoader
*/
@@ -129,11 +129,11 @@
/**
* Returns a unique list of resource URLs of name META-INF/services/<name>
- * Each URL is associated with the first classloader that it was visible
+ * Each URL is associated with the first ClassLoader that it was visible
* from
*
* @param name Name of resource
- * @return Table of URLs with associated classloaders
+ * @return Table of URLs with associated ClassLoaders
* @throws IOException
*/
public Hashtable<ClassLoader, Set<URL>> getServiceResources(String name) throws IOException {
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org