blob: 76f6175251ef3b4140fbd299c1c2d507f256cb73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
package IceSSL;
public class PluginFactory implements Ice.PluginFactory
{
public Ice.Plugin
create(Ice.Communicator communicator, String name, String[] args)
{
if(communicator.getProperties().getPropertyAsInt("Ice.ThreadPerConnection") == 0)
{
communicator.getLogger().error("IceSSL requires Ice.ThreadPerConnection");
return null;
}
return new PluginI(communicator);
}
}
|