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/26 21:55:39 UTC
svn commit: r641571 - in
/incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node:
SCADomainAccess.java SCANode.java
Author: mcombellack
Date: Wed Mar 26 13:55:38 2008
New Revision: 641571
URL: http://svn.apache.org/viewvc?rev=641571&view=rev
Log:
Removed redundant modifiers from methods on interface
Modified:
incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCADomainAccess.java
incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANode.java
Modified: incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCADomainAccess.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCADomainAccess.java?rev=641571&r1=641570&r2=641571&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCADomainAccess.java (original)
+++ incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCADomainAccess.java Wed Mar 26 13:55:38 2008
@@ -25,17 +25,17 @@
/**
* Provides access to the components in a domain.
- *
+ *
* @version $Rev$ $Date$
*/
public interface SCADomainAccess {
-
+
/**
* Cast a type-safe reference to a CallahbleReference. Converts a type-safe
* reference to an equivalent CallableReference; if the target refers to a
* service then a ServiceReference will be returned, if the target refers to
* a callback then a CallableReference will be returned.
- *
+ *
* @param target a reference proxy provided by the SCA runtime
* @param <B> the Java type of the business interface for the reference
* @param <R> the type of reference to be returned
@@ -43,29 +43,29 @@
* @throws IllegalArgumentException if the supplied instance is not a
* reference supplied by the SCA runtime
*/
- public <B, R extends CallableReference<B>> R cast(B target) throws IllegalArgumentException;
+ <B, R extends CallableReference<B>> R cast(B target) throws IllegalArgumentException;
/**
* Returns a proxy for a service provided by a component in the SCA domain.
- *
+ *
* @param businessInterface the interface that will be used to invoke the
* service
* @param serviceName the name of the service
* @param <B> the Java type of the business interface for the service
* @return an object that implements the business interface
*/
- public <B> B getService(Class<B> businessInterface, String serviceName);
+ <B> B getService(Class<B> businessInterface, String serviceName);
/**
* Returns a ServiceReference for a service provided by a component in the
* SCA domain.
- *
+ *
* @param businessInterface the interface that will be used to invoke the
* service
* @param serviceName the name of the service
* @param <B> the Java type of the business interface for the service
* @return a ServiceReference for the designated service
*/
- public <B> ServiceReference<B> getServiceReference(Class<B> businessInterface, String referenceName);
+ <B> ServiceReference<B> getServiceReference(Class<B> businessInterface, String referenceName);
}
Modified: incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANode.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANode.java?rev=641571&r1=641570&r2=641571&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANode.java (original)
+++ incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANode.java Wed Mar 26 13:55:38 2008
@@ -28,8 +28,8 @@
/**
* Represents an SCA processing node. An SCA node belongs to an SCA domain.
- * A node is loaded with one or mode SCA composites. It can start and stop that composite.
- *
+ * A node is loaded with one or mode SCA composites. It can start and stop that composite.
+ *
* @version $Rev: 580520 $ $Date: 2007-09-29 00:50:25 +0100 (Sat, 29 Sep 2007) $
*/
@Remotable
@@ -38,61 +38,60 @@
/**
* Returns the URI of the SCA node. That URI is the endpoint of the
* SCA node administration service.
- *
+ *
* @return the URI of the SCA node
*/
- public String getURI();
-
+ String getURI();
+
/**
* Returns the SCA domain that the node belongs to.
- *
- * @return the SCA domain that the node belongs to
+ *
+ * @return the SCA domain that the node belongs to
*/
- public SCADomain getDomain();
-
+ SCADomain getDomain();
+
/**
* Add an SCA contribution into the node.
- *
+ *
* @param contributionURI the URI of the contribution
* @param contributionURL the URL of the contribution
*/
- public void addContribution(String contributionURI, URL contributionURL) throws NodeException;
-
+ void addContribution(String contributionURI, URL contributionURL) throws NodeException;
+
/**
* Remove an SCA contribution from the node.
- *
+ *
* @param contributionURI the URI of the contribution
*/
- public void removeContribution(String contributionURI) throws NodeException;
+ void removeContribution(String contributionURI) throws NodeException;
/**
* Add the named deployable composite to the domain level composite
- *
+ *
* @param compositeQName the name of the composite
*/
- public void addToDomainLevelComposite(QName compositeQName) throws NodeException;
-
+ void addToDomainLevelComposite(QName compositeQName) throws NodeException;
+
/**
* Add the specified deployable composite to the domain level composite
- *
+ *
* @param compositePath the path of the composite file
*/
- public void addToDomainLevelComposite(String compositePath) throws NodeException;
-
+ void addToDomainLevelComposite(String compositePath) throws NodeException;
+
/**
* Start all the deployed composites
*/
- public void start() throws NodeException;
-
+ void start() throws NodeException;
+
/**
* Stop all of the deployed composites
*/
- public void stop() throws NodeException;
+ void stop() throws NodeException;
/**
* Destroy the node.
*/
- public void destroy() throws NodeException;
-
-
+ void destroy() throws NodeException;
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org