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
Ice.Admin.AdapterProperty
Ice.Admin.AdapterProperty=value
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:
- Ice.Admin.DelayCreation is not enabled
- Ice.Admin.DelayCreation is enabled and the application calls
getAdminon the communicator after communicator initialization - the application calls
createAdmincreateAdmincreateAdmincreateAdmincreateAdmincreateAdminon the communicator with a nulladminAdapterparameter
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.
Ice.Admin.DelayCreation
Ice.Admin.DelayCreation=num
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.
Ice.Admin.Enabled
Ice.Admin.Enabled=num
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.
Ice.Admin.Facets
Ice.Admin.Facets=name [name ...]
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.
Ice.Admin.InstanceName
Ice.Admin.InstanceName=name
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.
Ice.Admin.Logger.KeepLogs
Ice.Admin.Logger.KeepLogs=num
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.
Ice.Admin.Logger.KeepTraces
Ice.Admin.Logger.KeepTraces=num
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.
Ice.Admin.Logger.Properties
Ice.Admin.Logger.Properties=propertyList
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:
Ice.Admin.Logger.Properties=Ice.Trace.Protocol=1The Logger facet's communicator writes its log messages to the local logger only, so the Logger facet does not forward them to remote loggers.
Ice.Admin.ServerId
Ice.Admin.ServerId=id
Specifies an identifier that uniquely identifies the process when the Ice runtime registers the Process facet of its admin object with the locator registry.