1
// **********************************************************************
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
5
// This copy of Ice is licensed to you under the terms described in the
6
// ICE_LICENSE file included in this distribution.
8
// **********************************************************************
10
package test.Ice.slicing.exceptions;
12
public class AMDServer extends test.Util.Application
14
public int run(String[] args)
16
Ice.ObjectAdapter adapter = communicator().createObjectAdapter("TestAdapter");
17
Ice.Object object = new AMDTestI();
18
adapter.add(object, communicator().stringToIdentity("Test"));
23
protected Ice.InitializationData getInitData(Ice.StringSeqHolder argsH)
25
Ice.InitializationData initData = new Ice.InitializationData();
26
initData.properties = Ice.Util.createProperties(argsH);
27
initData.properties.setProperty("Ice.Package.Test", "test.Ice.slicing.exceptions.serverAMD");
28
initData.properties.setProperty("Ice.Warn.Dispatch", "0");
29
initData.properties.setProperty("TestAdapter.Endpoints", "default -p 12010 -t 2000");
33
public static void main(String[] args)
35
AMDServer c = new AMDServer();
36
int status = c.main("AMDServer", args);