Revert changes in 925994 committed by accident

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@926021 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
antelder 2010-03-22 10:21:48 +00:00
parent 34e75899e3
commit 751699fd7b
3 changed files with 4 additions and 14 deletions

View file

@ -35,11 +35,6 @@
<artifactId>tuscany-base-nodep</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca.shades</groupId>
<artifactId>tuscany-bpel</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
</dependencies>

View file

@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package testingxxx;
package testing;
import java.net.URI;
@ -24,8 +24,6 @@ import org.oasisopen.sca.NoSuchDomainException;
import org.oasisopen.sca.NoSuchServiceException;
import org.oasisopen.sca.client.SCAClientFactory;
import com.hazelcast.client.InRunnable;
public class HelloworldClient {
@ -35,14 +33,11 @@ public class HelloworldClient {
if (args.length > 0) {
domainURI = URI.create(args[0]);
} else {
domainURI = URI.create("tuscanyclient:foo?remotes=127.0.0.1:14820");
domainURI = URI.create("tuscany:default?remotes=192.168.1.73:14820");
}
InRunnable xx;
SCAClientFactory factory = SCAClientFactory.newInstance(domainURI);
HelloworldService service = factory.getService(HelloworldService.class, "HelloworldComponent");
System.out.println(service.sayHello("world"));
System.out.println(service.sayHello("world2"));
System.out.println(service.sayHello("world3"));
System.out.println(service.sayHello("world"));
}
}

View file

@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package testingxxx;
package testing;
import org.oasisopen.sca.annotation.Remotable;