Class Factory


  • public class Factory
    extends ObjectFactory
    Factory is intended as a simpler to use version of ObjectFactory.

    The Factory abstracts the necessity to handle COM threading by introducing a dispatching thread, that is correctly COM initialized and is used to handle all outgoing calls.

    NOTE: Remember to call factory.getComThread().terminate() at some appropriate point, when the factory is not used anymore