summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Campo2008-01-23 08:56:36 (EST)
committerChristian Campo2008-01-23 08:56:36 (EST)
commit15c31aa78871d85047c514df185f039c2ca373ed (patch)
treefdca52250976ed78f46bba6247201afe171f8d72
parent257899df090f2dea0097fdd5679ebd0cbf744262 (diff)
downloadorg.eclipse.riena-15c31aa78871d85047c514df185f039c2ca373ed.zip
org.eclipse.riena-15c31aa78871d85047c514df185f039c2ca373ed.tar.gz
org.eclipse.riena-15c31aa78871d85047c514df185f039c2ca373ed.tar.bz2
disabled XFire
-rw-r--r--org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java33
1 files changed, 18 insertions, 15 deletions
diff --git a/org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java b/org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java
index 937277b..8d51a8a 100644
--- a/org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java
+++ b/org.eclipse.riena.communication.sample.pingpong.server/src/org/eclipse/riena/internal/communication/sample/pingpong/server/Activator.java
@@ -28,7 +28,9 @@ import org.osgi.framework.ServiceRegistration;
*
*/
public class Activator implements BundleActivator {
- private ServiceRegistration pingPongReg;
+ private ServiceRegistration pingPongRegHessian;
+
+ // private ServiceRegistration pingPongRegXFire;
public void start(BundleContext context) throws Exception {
// create hessian service
@@ -39,26 +41,27 @@ public class Activator implements BundleActivator {
properties.put(RSDPublisherProperties.PROP_REMOTE_PROTOCOL, "hessian");
properties.put(RSDPublisherProperties.PROP_REMOTE_PATH, "/PingPongWS");
- pingPongReg = context.registerService(IPingPong.ID, pingPong,
- properties);
+ pingPongRegHessian = context.registerService(IPingPong.ID, pingPong, properties);
// create xfire service
- pingPong = new PingPong();
- properties = new Hashtable<String, String>(3);
-
- properties.put(RSDPublisherProperties.PROP_IS_REMOTE, "true");
- properties.put(RSDPublisherProperties.PROP_REMOTE_PROTOCOL, "xfire");
- properties.put(RSDPublisherProperties.PROP_REMOTE_PATH,
- "/PingPongXFireWS");
-
- pingPongReg = context.registerService(IPingPong.ID, pingPong,
- properties);
+ // pingPong = new PingPong();
+ // properties = new Hashtable<String, String>(3);
+ //
+ // properties.put(RSDPublisherProperties.PROP_IS_REMOTE, "true");
+ // properties.put(RSDPublisherProperties.PROP_REMOTE_PROTOCOL, "xfire");
+ // properties.put(RSDPublisherProperties.PROP_REMOTE_PATH,
+ // "/PingPongXFireWS");
+ //
+ // pingPongRegXFire = context.registerService(IPingPong.ID, pingPong,
+ // properties);
}
public void stop(BundleContext context) throws Exception {
- pingPongReg.unregister();
- pingPongReg = null;
+ pingPongRegHessian.unregister();
+ pingPongRegHessian = null;
+ // pingPongRegXFire.unregister();
+ // pingPongRegXFire = null;
}
}