Ice.Admin.*

5 min read

5 min read

5 min read

5 min read

5 min read

5 min read

5 min read

5 min read

5 min read

Synopsis

Ice.Admin.AdapterProperty=value

Description

The Ice runtime creates and activates an administrative object adapter named Ice.Admin if the Administrative Facility is enabled, Ice.Admin.Endpoints is defined and one of the following is true:

This object adapter is created to host the admin object.

Note that enabling the Ice.Admin object adapter is a security risk because a hostile client could use the administrative object to shut down the process. As a result, the endpoints for this object adapter should be carefully defined so that only trusted clients are allowed to use it.

Synopsis

Ice.Admin.DelayCreation=num

Description

If num is a value greater than 0, the Ice runtime delays the creation of the Ice.Admin administrative object adapter until getAdmin is invoked on the communicator. If not specified, the default value is 0, meaning the Ice.Admin object adapter is created immediately after all plug-ins are initialized, provided Ice.Admin.Endpoints is defined.

Synopsis

Ice.Admin.Enabled=num

Description

1 enables the Administrative Facility and 0 disables it. When this property is unset, the facility is enabled if and only if Ice.Admin.Endpoints is non-empty.

Synopsis

Ice.Admin.Facets=name [name ...]

Description

Specifies the facets enabled by the administrative object, allowing you to filter the facets that the administrative object enables by default. Facet names are delimited by commas or white space. A facet name that contains white space must be enclosed in single or double quotes. If not specified, all facets are enabled. While the Ice runtime creates only the built-in facets (such as Process and Properties) that are enabled, you can create administrative facets without checking the value of this property. Ice ensures that only enabled administrative facets are available to clients.

Synopsis

Ice.Admin.InstanceName=name

Description

Specifies an identity category for the administrative object, when this object is created during communicator initialization or by a call to getAdmin on the communicator. If defined, the identity of the object becomes name/admin. If not specified, the default identity category is a UUID.

Synopsis

Ice.Admin.Logger.KeepLogs=num

Description

The Logger admin facet, when enabled, caches up the num most recent log messages with a type other than Ice::TraceMessage. When num is 0 or less than 0, the Logger facet does not cache any of these log messages. The default value for num is 100.

Synopsis

Ice.Admin.Logger.KeepTraces=num

Description

The Logger admin facet, when enabled, caches up the num most recent log messages with type Ice::TraceMessage. When num is 0 or less than 0, the Logger facet does not cache any of these trace messages. The default value for num is 100.

Synopsis

Ice.Admin.Logger.Properties=propertyList

Description

Specifies additional properties for the communicator that the Logger admin facet uses to send log messages to remote loggers. The Logger facet creates this communicator when it attaches its first remote logger.

Ice copies properties with the prefixes Ice.Default.Locator and IceSSL. from the application's communicator to the Logger facet's communicator, then applies the properties in propertyList. These additional properties override copied values.

Ice reads propertyList as a list of strings, each using the syntax PropertyName=PropertyValue. For example, this property enables protocol tracing on the Logger facet's communicator:

Properties
Ice.Admin.Logger.Properties=Ice.Trace.Protocol=1

The Logger facet's communicator writes its log messages to the local logger only, so the Logger facet does not forward them to remote loggers.

Synopsis

Ice.Admin.ServerId=id

Description

Specifies an identifier that uniquely identifies the process when the Ice runtime registers the Process facet of its admin object with the locator registry.