summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Ziegler2008-01-22 18:30:54 (EST)
committerAlexander Ziegler2008-01-22 18:30:54 (EST)
commitbdee8963343096857e49a59a577012bc4a1369ec (patch)
tree8690701674bb416c631fcee865274943c8bb99ca
parent9a958dfe185648e7ff7eb4015d8cbbc45cc16722 (diff)
downloadorg.eclipse.riena-bdee8963343096857e49a59a577012bc4a1369ec.zip
org.eclipse.riena-bdee8963343096857e49a59a577012bc4a1369ec.tar.gz
org.eclipse.riena-bdee8963343096857e49a59a577012bc4a1369ec.tar.bz2
modified: set the symbol 'localhost' to to a more general name 'hostname'.
-rw-r--r--org.eclipse.riena.communication.sample.pingpong.client.config/plugin.xml4
-rw-r--r--org.eclipse.riena.communication.sample.pingpong.client.config/src/org/eclipse/riena/internal/communication/sample/pingpong/client/config/Activator.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.riena.communication.sample.pingpong.client.config/plugin.xml b/org.eclipse.riena.communication.sample.pingpong.client.config/plugin.xml
index 692175f..521a530 100644
--- a/org.eclipse.riena.communication.sample.pingpong.client.config/plugin.xml
+++ b/org.eclipse.riena.communication.sample.pingpong.client.config/plugin.xml
@@ -6,8 +6,8 @@
<config
servicepid="org.eclipse.riena.config.symbols">
<property
- name="localhost"
- value="127.0.0.1">
+ name="hostname"
+ value="127.0.0.1:8080">
</property>
</config>
</extension>
diff --git a/org.eclipse.riena.communication.sample.pingpong.client.config/src/org/eclipse/riena/internal/communication/sample/pingpong/client/config/Activator.java b/org.eclipse.riena.communication.sample.pingpong.client.config/src/org/eclipse/riena/internal/communication/sample/pingpong/client/config/Activator.java
index 922db34..6bda3bf 100644
--- a/org.eclipse.riena.communication.sample.pingpong.client.config/src/org/eclipse/riena/internal/communication/sample/pingpong/client/config/Activator.java
+++ b/org.eclipse.riena.communication.sample.pingpong.client.config/src/org/eclipse/riena/internal/communication/sample/pingpong/client/config/Activator.java
@@ -46,7 +46,7 @@ public class Activator implements BundleActivator {
// register hessian proxy for nyote remote service
RemoteServiceFactory rsf = new RemoteServiceFactory();
Class<?> serviceInterface = IPingPong.class;
- String url = "http://${localhost}/hessian/PingPongWS";
+ String url = "http://${hostname}/hessian/PingPongWS";
String protocol = "hessian";
pingPongReg = rsf.createAndRegisterProxy(serviceInterface, url, protocol, "de.compeople.pingpong.config");