//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

package test.IceBox.configuration;

public class TestServiceI implements com.zeroc.IceBox.Service
{
    @Override
    public void start(String name, com.zeroc.Ice.Communicator communicator, String[] args)
    {
        communicator.getProperties().setProperty("Ice.Package.Test", "test.IceBox.configuration");

        com.zeroc.Ice.ObjectAdapter adapter = communicator.createObjectAdapter(name + "OA");
        adapter.add(new TestI(args), com.zeroc.Ice.Util.stringToIdentity("test"));
        adapter.activate();
    }

    @Override
    public void stop()
    {
    }
}
