Skip navigation links
JNA API 5.10.0

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 5.10.0

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