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 TypeMethodDescriptiongetIDLName
(Method method) Get the mangled name that corresponds to the given method on this IDLNameTranslator's interface.Class[]
Get the interfaces that this IDLNameTranslator describes.Get the method from this IDLNameTranslator's interfaces that corresponds to the mangled name idlName.Method[]
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
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
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
-