Freeze Slice API Reference
Operations | List of all members
Freeze::ServantInitializer Local Interface Reference

A servant initializer provides the application with an opportunity to perform custom servant initialization. More...

defined in <Freeze/Evictor.ice>

local interface ServantInitializer { ... }

Operations

void initialize (Ice::ObjectAdapter adapter, Ice::Identity identity, string facet, Object servant)
 Called whenever the evictor creates a new servant. More...
 

Detailed Description

A servant initializer provides the application with an opportunity to perform custom servant initialization.

See also
Evictor

Operation Documentation

◆ initialize()

void initialize ( Ice::ObjectAdapter  adapter,
Ice::Identity  identity,
string  facet,
Object  servant 
)

Called whenever the evictor creates a new servant.

This operation allows application code to perform custom servant initialization after the servant has been created by the evictor and its persistent state has been restored.

Parameters
adapterThe object adapter in which the evictor is installed.
identityThe identity of the Ice object for which the servant was created.
facetThe facet. An empty facet means the default facet.
servantThe servant to initialize.
See also
Ice.Identity

The documentation for this interface was generated from the following file: