diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-11-06 19:09:25 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-11-06 19:09:25 +0000 |
commit | 148e82b443f5b4ca1aa9c29d1170ff8ce45518f9 (patch) | |
tree | 02d65f7a0b96fcc2d3100be1024180c332542987 /java/src/IceGridGUI/Application/PlainServer.java | |
parent | Added distribution test (diff) | |
download | ice-148e82b443f5b4ca1aa9c29d1170ff8ce45518f9.tar.bz2 ice-148e82b443f5b4ca1aa9c29d1170ff8ce45518f9.tar.xz ice-148e82b443f5b4ca1aa9c29d1170ff8ce45518f9.zip |
Added priority attribute to AdapterDescriptor
Diffstat (limited to 'java/src/IceGridGUI/Application/PlainServer.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/PlainServer.java | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/java/src/IceGridGUI/Application/PlainServer.java b/java/src/IceGridGUI/Application/PlainServer.java index 328f638d2c6..050a63b1fe0 100755 --- a/java/src/IceGridGUI/Application/PlainServer.java +++ b/java/src/IceGridGUI/Application/PlainServer.java @@ -86,27 +86,13 @@ class PlainServer extends Communicator implements Server static public IceBoxDescriptor newIceBoxDescriptor() { - AdapterDescriptor serviceManager = new AdapterDescriptor( - "IceBox.ServiceManager", - "", - "", // direct-adapter by default - "", - true, - true, - new java.util.LinkedList(), - new java.util.LinkedList()); - - java.util.LinkedList adapterList = new java.util.LinkedList(); - adapterList.add(serviceManager); - - PropertyDescriptor pd = - new PropertyDescriptor("IceBox.ServiceManager.Endpoints", - "tcp -h 127.0.0.1"); java.util.LinkedList properties = new java.util.LinkedList(); - properties.add(pd); + properties.add(new PropertyDescriptor("IceBox.InstanceName", "${server}")); + properties.add(new PropertyDescriptor("IceBox.ServiceManager.Endpoints", "tcp -h 127.0.0.1")); + properties.add(new PropertyDescriptor("IceBox.RegisterProcess", "1")); return new IceBoxDescriptor( - adapterList, + new java.util.LinkedList(), new PropertySetDescriptor(new String[0], properties), new java.util.LinkedList(), "", |