Interface IJniEndpoint


@Ser public interface IJniEndpoint
Definition of a JNI endpoint. There are 2 kinds of JNI endpoints:
  • static endpoints: auto-determined by JNI-defined naming convention
  • dynamic endpoints: set-up in code via JNI's RegisterNatives
  • Method Summary

    Modifier and Type
    Method
    Description
    Address of the endpoint in a particular IUnit.
    The method name, built from static convention name.
    IUnit bound to this endpoint.
    boolean
    Indicate the JNI endpoint type
  • Method Details

    • isStatic

      boolean isStatic()
      Indicate the JNI endpoint type
      Returns:
      true for static endpoints, false for dynamically loaded
    • getMethodName

      String getMethodName()
      The method name, built from static convention name.
      Returns:
      the method name
    • getUnit

      IUnit getUnit()
      IUnit bound to this endpoint. Note that it can be null for static endpoints.
      Returns:
      the container unit of native code (expected an IELFUnit in most cases)
    • getAddress

      Long getAddress()
      Address of the endpoint in a particular IUnit. getUnit() must not return null if this method does not return null. Note that address can be null for static endpoints.
      Returns:
      the address of the endpoint in the getUnit()