Interface IDLNameTranslator

All Known Implementing Classes:
IDLNameTranslatorImpl

public interface IDLNameTranslator
Translates between methods on an interface and RMI-IIOP encodings of those methods as names.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the mangled name that corresponds to the given method on this IDLNameTranslator's interface.
    Get the interfaces that this IDLNameTranslator describes.
    getMethod(String idlName)
    Get the method from this IDLNameTranslator's interfaces that corresponds to the mangled name idlName.
    Get all methods for this remote interface.
  • Method Details

    • getInterfaces

      Class[] getInterfaces()
      Get the interfaces that this IDLNameTranslator describes.
      Returns:
      interfaces described
    • getMethods

      Method[] getMethods()
      Get all methods for this remote interface. The methods are returned in a canonical order, that is, they are always in the same order for a particular interface.
      Returns:
      methods for interface
    • getMethod

      Method getMethod(String idlName)
      Get the method from this IDLNameTranslator's interfaces that corresponds to the mangled name idlName. Returns null if there is no matching method.
      Parameters:
      idlName - name of method
      Returns:
      method with the specified name
    • getIDLName

      String getIDLName(Method method)
      Get the mangled name that corresponds to the given method on this IDLNameTranslator's interface. Returns null if there is no matching name.
      Parameters:
      method - method to get name of
      Returns:
      the corresponding name