java.lang.Object
com.zeroc.Ice.InitializationData
- All Implemented Interfaces:
Cloneable
A class that encapsulates data to initialize a communicator.
-
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 communicator.The plug-in factories.The properties for the communicator.The Slice loader, used to unmarshal Slice classes and exceptions.threadStart is called whenever the communicator starts a new thread.threadStop is called whenever a thread created by the communicator is about to be destroyed. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance with all members set tonull
or empty. -
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 communicator. -
threadStart
threadStart is called whenever the communicator starts a new thread. -
threadStop
threadStop is called whenever a thread created by the communicator is about to be destroyed. -
classLoader
The custom class loader for the communicator. An application can supply a custom class loader that the Ice communicator will use when it unmarshals class instances and user exceptions, and when loads Ice plug-ins.If an application does not supply a class loader (or if the application-supplied class loader fails to locate a class), the Ice communicator 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 the provided
Runnable
parameter. The con parameter 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
The 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 unmarshal Slice classes and exceptions.
-
-
Constructor Details
-
InitializationData
public InitializationData()Creates an instance with all members set tonull
or empty.
-
-
Method Details