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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getIDLName​(java.lang.reflect.Method method)
      Get the mangled name that corresponds to the given method on this IDLNameTranslator's interface.
      java.lang.Class[] getInterfaces()
      Get the interfaces that this IDLNameTranslator describes.
      java.lang.reflect.Method getMethod​(java.lang.String idlName)
      Get the method from this IDLNameTranslator's interfaces that corresponds to the mangled name idlName.
      java.lang.reflect.Method[] getMethods()
      Get all methods for this remote interface.
    • Method Detail

      • getInterfaces

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

        java.lang.reflect.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

        java.lang.reflect.Method getMethod​(java.lang.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

        java.lang.String getIDLName​(java.lang.reflect.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