summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/services
diff options
context:
space:
mode:
authormcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2009-05-22 10:06:35 +0000
committermcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2009-05-22 10:06:35 +0000
commitf71cedbd2703d563a55917b6a911d8b79c568605 (patch)
tree734d8c3f8e9eeace2822d958d49a7ed24a391976 /sandbox/travelsample/services
parent6f6df0fde75eca1c1a4d1423205db6b07916b506 (diff)
Minor code reorganisation to make it clearer what is going on
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@777445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/services')
-rw-r--r--sandbox/travelsample/services/smsgateway-corba-service/src/main/java/scatours/smsgateway/SMSGatewayCORBAServiceBootstrap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/travelsample/services/smsgateway-corba-service/src/main/java/scatours/smsgateway/SMSGatewayCORBAServiceBootstrap.java b/sandbox/travelsample/services/smsgateway-corba-service/src/main/java/scatours/smsgateway/SMSGatewayCORBAServiceBootstrap.java
index 39f44d2174..1e7ba2984f 100644
--- a/sandbox/travelsample/services/smsgateway-corba-service/src/main/java/scatours/smsgateway/SMSGatewayCORBAServiceBootstrap.java
+++ b/sandbox/travelsample/services/smsgateway-corba-service/src/main/java/scatours/smsgateway/SMSGatewayCORBAServiceBootstrap.java
@@ -50,10 +50,10 @@ public class SMSGatewayCORBAServiceBootstrap {
rootPoa.the_POAManager().activate();
SMSGatewayServant smsGateway = new SMSGatewayServant();
+ Object smsGatewayRef = rootPoa.servant_to_reference(smsGateway);
String corbaServerName = "SMSGatewayCORBAService";
NameComponent[] name = { new NameComponent(corbaServerName, "") };
- Object smsGatewayRef = rootPoa.servant_to_reference(smsGateway);
namingCtx.rebind(name, smsGatewayRef);
System.out.println("CORBA server running - waiting for requests");