java.lang.Object
com.zeroc.Ice.InitializationData
- All Implemented Interfaces:
Cloneable
Represents a set of options that you can specify when initializing a communicator.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe batch request interceptor.The custom class loader for the communicator.The SSL engine factory used to configure the client-side ssl transport.You can control which thread receives operation dispatches and async invocation callbacks by supplying an executor.The logger for the communicator.The communicator observer used by the Ice runtime.A list of plug-in factories.The properties for the communicator.The Slice loader, used to create instances of Slice classes and user exceptions.threadStartis called whenever the communicator starts a new thread.threadStopis called whenever a thread created by the communicator is about to be destroyed. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an InitializationData with all fields set tonullor the empty list. -
Method Summary
-
Field Details
-
properties
The properties for the communicator. When non-null, this field corresponds to the object returned byCommunicator.getProperties(). -
logger
The logger for the communicator. -
observer
The communicator observer used by the Ice runtime. -
threadStart
threadStartis called whenever the communicator starts a new thread. -
threadStop
threadStopis called whenever a thread created by the communicator is about to be destroyed. -
classLoader
The custom class loader for the communicator. Applications can supply a custom class loader that the Ice runtime will use when unmarshaling class instances and user exceptions, and when loading plug-ins.If a custom
sliceLoaderis provided, then that will be used to unmarshal class instances and user exceptions, instead of this class loader.If an application does not supply a class loader (or if the application-supplied class loader fails to locate a class), the Ice runtime attempts to load the class using class loaders in the following order:
- the current thread's class loader
- the default class loader (that is, by calling Class.forName)
- the system class loader
-
executor
You can control which thread receives operation dispatches and async invocation callbacks by supplying an executor. For example, you can use this execution facility to ensure that all dispatches and invocation callbacks are executed in a GUI event loop thread so that it is safe to invoke directly on GUI objects.The executor is responsible for running the dispatch or async invocation callback on its favorite thread. It must execute the provided
Runnableparameter. TheConnectionparameter represents the connection associated with this call. -
batchRequestInterceptor
The batch request interceptor. -
clientSSLEngineFactory
The SSL engine factory used to configure the client-side ssl transport. If non-null, all the IceSSL configuration properties are ignored, and any SSL configuration must be done through the SSLEngineFactory. -
pluginFactories
A list of plug-in factories. The corresponding plug-ins are created during communicator initialization, in order, before all other plug-ins. -
sliceLoader
The Slice loader, used to create instances of Slice classes and user exceptions. Applications can supply a custom slice loader that the Ice runtime will use during unmarshaling.
-
-
Constructor Details
-
InitializationData
public InitializationData()Creates an InitializationData with all fields set tonullor the empty list.
-
-
Method Details