Class InterfaceAnalysis


public class InterfaceAnalysis extends ContainerAnalysis
Interface analysis.

Routines here are conforming to the "Java(TM) Language to IDL Mapping Specification", version 1.1 (01-06-07).

Author:
Ole Husgaard
  • Constructor Details

    • InterfaceAnalysis

      protected InterfaceAnalysis(Class cls)
  • Method Details

    • getInterfaceAnalysis

      public static InterfaceAnalysis getInterfaceAnalysis(Class cls) throws RMIIIOPViolationException
      Throws:
      RMIIIOPViolationException
    • clearCache

      public static void clearCache(ClassLoader classLoader)
    • doAnalyze

      protected void doAnalyze() throws RMIIIOPViolationException
      Overrides:
      doAnalyze in class ContainerAnalysis
      Throws:
      RMIIIOPViolationException
    • isAbstractInterface

      public boolean isAbstractInterface()
    • isRmiIdlRemoteInterface

      public boolean isRmiIdlRemoteInterface()
    • getAllTypeIds

      public String[] getAllTypeIds()
    • getContainedEntries

      protected ArrayList getContainedEntries()
      Return a list of all the entries contained here.
      Specified by:
      getContainedEntries in class ContainerAnalysis
    • analyzeOperations

      protected void analyzeOperations() throws RMIIIOPViolationException
      Analyse operations. This will fill in the operations array.
      Overrides:
      analyzeOperations in class ContainerAnalysis
      Throws:
      RMIIIOPViolationException
    • calculateOperationAnalysisMap

      protected void calculateOperationAnalysisMap()
      Calculate the map that maps IDL operation names to operation analyses. Besides mapped operations, this map also contains the attribute accessor and mutator operations.
    • calculateAllTypeIds

      protected void calculateAllTypeIds()
      Calculate the array containing all type ids of this interface, in the format that org.omg.CORBA.portable.Servant._all_interfaces() is expected to return.
    • getIDLName

      public String getIDLName()
      Return my unqualified IDL name.
    • getJavaName

      public String getJavaName()
      Return my unqualified java name.