Package com.zeroc.Ice

Class InitializationData

java.lang.Object
com.zeroc.Ice.InitializationData
All Implemented Interfaces:
Cloneable

public final class InitializationData extends Object implements Cloneable
A class that encapsulates data to initialize a communicator.
See Also:
  • Field Details

    • properties

      public Properties properties
      The properties for the communicator. When non-null, this field corresponds to the object returned by Communicator.getProperties().
    • logger

      public Logger logger
      The logger for the communicator.
    • observer

      public CommunicatorObserver observer
      The communicator observer used by the communicator.
    • threadStart

      public Runnable threadStart
      threadStart is called whenever the communicator starts a new thread.
    • threadStop

      public Runnable threadStop
      threadStop is called whenever a thread created by the communicator is about to be destroyed.
    • classLoader

      public ClassLoader 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

      public BiConsumer<Runnable,Connection> 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

      public BatchRequestInterceptor batchRequestInterceptor
      The batch request interceptor.
    • clientSSLEngineFactory

      public SSLEngineFactory 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

      public List<PluginFactory> pluginFactories
      The plug-in factories. The corresponding plug-ins are created during communicator initialization, in order, before all other plug-ins.
    • sliceLoader

      public SliceLoader sliceLoader
      The Slice loader, used to unmarshal Slice classes and exceptions.
  • Constructor Details

    • InitializationData

      public InitializationData()
      Creates an instance with all members set to null or empty.
  • Method Details