Skip navigation links
JNA API 4.5.2

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.5.2

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