Ice 3.7 Slice API Reference
Ice
ObjectFactory.ice
Go to the documentation of this file.
1
//
2
// Copyright (c) ZeroC, Inc. All rights reserved.
3
//
4
5
#pragma once
6
7
[[
"cpp:dll-export:ICE_API"
]]
8
[[
"cpp:doxygen:include:Ice/Ice.h"
]]
9
[[
"cpp:header-ext:h"
]]
10
11
[[
"ice-prefix"
]]
12
13
[[
"js:module:ice"
]]
14
[[
"js:cjs-module"
]]
15
16
[[
"objc:dll-export:ICE_API"
]]
17
[[
"objc:header-dir:objc"
]]
18
19
[[
"python:pkgdir:Ice"
]]
20
21
#ifndef __SLICE2JAVA_COMPAT__
22
[[
"java:package:com.zeroc"
]]
23
#endif
24
25
[
"objc:prefix:ICE"
]
26
module
Ice
27
{
28
29
#if !defined(__SLICE2PHP__) && !defined(__SLICE2SWIFT__)
30
37
[
"deprecate:ObjectFactory has been deprecated, use ValueFactory instead."
]
38
local
interface
ObjectFactory
39
{
56
Value
create
(
string
type);
57
66
void
destroy
();
67
}
68
69
#endif
70
71
}
Ice::ObjectFactory::destroy
void destroy()
Called when the factory is removed from the communicator, or if the communicator is destroyed.
Ice::ObjectFactory::create
Value create(string type)
Create a new object for a given object type.
Ice::ObjectFactory
A factory for objects.
Definition:
ObjectFactory.ice:39
Ice
The Ice core library.
Definition:
BuiltinSequences.ice:27
Generated by
1.8.20