Skip navigation links
JNA API 5.4.0
com.sun.jna

Class Library.Handler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler
    Enclosing interface:
    Library


    public static class Library.Handler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      (package private) static java.lang.reflect.Method OBJECT_EQUALS 
      (package private) static java.lang.reflect.Method OBJECT_HASHCODE 
      (package private) static java.lang.reflect.Method OBJECT_TOSTRING 
    • Constructor Summary

      Constructors 
      Constructor and Description
      Handler(java.lang.String libname, java.lang.Class<?> interfaceClass, java.util.Map<java.lang.String,?> options) 
    • Field Detail

      • OBJECT_TOSTRING

        static final java.lang.reflect.Method OBJECT_TOSTRING
      • OBJECT_HASHCODE

        static final java.lang.reflect.Method OBJECT_HASHCODE
      • OBJECT_EQUALS

        static final java.lang.reflect.Method OBJECT_EQUALS
    • Constructor Detail

      • Handler

        public Handler(java.lang.String libname,
                       java.lang.Class<?> interfaceClass,
                       java.util.Map<java.lang.String,?> options)
    • Method Detail

      • getLibraryName

        public java.lang.String getLibraryName()
      • getInterfaceClass

        public java.lang.Class<?> getInterfaceClass()
      • invoke

        public java.lang.Object invoke(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] inArgs)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable
JNA API 5.4.0

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