Skip navigation links
JNA API 4.4.0
com.sun.jna.platform.win32.COM.util

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

JNA API 4.4.0

Copyright © 2007-2016 Timothy Wall. All Rights Reserved.