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:19:30 UTC

svn commit: r641544 - /incubator/tuscany/java/sca/modules/domain-api/src/main/java/org/apache/tuscany/sca/domain/SCADomain.java

Author: mcombellack
Date: Wed Mar 26 13:19:21 2008
New Revision: 641544

URL: http://svn.apache.org/viewvc?rev=641544&view=rev
Log:
Removed redundant modifiers from methods on interface

Modified:
    incubator/tuscany/java/sca/modules/domain-api/src/main/java/org/apache/tuscany/sca/domain/SCADomain.java

Modified: incubator/tuscany/java/sca/modules/domain-api/src/main/java/org/apache/tuscany/sca/domain/SCADomain.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/domain-api/src/main/java/org/apache/tuscany/sca/domain/SCADomain.java?rev=641544&r1=641543&r2=641544&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/domain-api/src/main/java/org/apache/tuscany/sca/domain/SCADomain.java (original)
+++ incubator/tuscany/java/sca/modules/domain-api/src/main/java/org/apache/tuscany/sca/domain/SCADomain.java Wed Mar 26 13:19:21 2008
@@ -37,19 +37,19 @@
     /**
      * Start all of the services in the domain.
      */
-    public void start()
+    void start()
       throws DomainException;  
 
     /**
      * Stop all of the services in the domain.
      */
-    public void stop()
+    void stop()
       throws DomainException; 
 
     /**
      * Destroy the SCA domain.
      */
-    public void destroy()
+    void destroy()
       throws DomainException;
 
     /**
@@ -58,7 +58,7 @@
      * 
      * @return the URI of the SCA Domain
      */
-    public String getURI();
+    String getURI();
     
     /**
      * Add an SCA contribution to the domain.
@@ -67,7 +67,7 @@
      * @param contributionURL the URL of the contribution
      * @throws DomainException
      */  
-    public void addContribution(String contributionURI, URL contributionURL)
+    void addContribution(String contributionURI, URL contributionURL)
       throws DomainException;
     
     /**
@@ -77,7 +77,7 @@
      * @param contributionURL the URL of the contribution
      * @throws DomainException
      */  
-    public void updateContribution(String contributionURI, URL contributionURL)
+    void updateContribution(String contributionURI, URL contributionURL)
       throws DomainException;    
     
     /**
@@ -86,7 +86,7 @@
      * @param contributionURI the URI of the contribution
      * @throws DomainException
      */
-    public void removeContribution(String contributionURI)
+    void removeContribution(String contributionURI)
       throws DomainException; 
     
     /**
@@ -96,7 +96,7 @@
      * @param compositeXML the XML string of the composite 
      * @throws DomainException
      */
-    public void addDeploymentComposite(String contributionURI, String compositeXML)
+    void addDeploymentComposite(String contributionURI, String compositeXML)
       throws DomainException;
     
     /**
@@ -106,7 +106,7 @@
      * @param compositeXML the XML string of the composite 
      * @throws DomainException
      */
-    public void updateDeploymentComposite(String contributionURI, String compositeXML)
+    void updateDeploymentComposite(String contributionURI, String compositeXML)
       throws DomainException;    
 
     /**
@@ -115,7 +115,7 @@
      * @param compositeQName the QName of the composite
      * @throws DomainException     
      */
-    public void addToDomainLevelComposite(QName compositeQName)
+    void addToDomainLevelComposite(QName compositeQName)
       throws DomainException;
     
     /**
@@ -124,7 +124,7 @@
      * @param compositeQName the QName of the composite
      * @throws DomainException     
      */
-    public void removeFromDomainLevelComposite(QName compositeQName)
+    void removeFromDomainLevelComposite(QName compositeQName)
       throws DomainException; 
     
     /**
@@ -132,7 +132,7 @@
      * 
      * @return XML representing the domain level composite
      */
-    public String getDomainLevelComposite()
+    String getDomainLevelComposite()
       throws DomainException;
     
     /**
@@ -141,7 +141,7 @@
      * 
      * @return XML representing the specified artifact
      */
-    public String getQNameDefinition(QName artifact)
+    String getQNameDefinition(QName artifact)
       throws DomainException;
     
     /**
@@ -153,7 +153,7 @@
      * @param compositeQName The QName of the composite
      * @throws DomainException
      */
-    public void startComposite(QName compositeQName)
+    void startComposite(QName compositeQName)
       throws DomainException;
     
     /**
@@ -163,7 +163,7 @@
      * @param compositeQName The QName of the composite
      * @throws DomainException
      */
-    public void stopComposite(QName compositeQName)
+    void stopComposite(QName compositeQName)
       throws DomainException;
     
     /**
@@ -179,7 +179,7 @@
      * @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.
@@ -190,7 +190,7 @@
      * @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
@@ -202,6 +202,6 @@
      * @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);
 
-}
\ No newline at end of file
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org