org.jboss.iiop.rmi
Class InterfaceAnalysis

java.lang.Object
  extended byorg.jboss.iiop.rmi.AbstractAnalysis
      extended byorg.jboss.iiop.rmi.ClassAnalysis (src) 
          extended byorg.jboss.iiop.rmi.ContainerAnalysis (src) 
              extended byorg.jboss.iiop.rmi.InterfaceAnalysis

public class InterfaceAnalysis
extends ContainerAnalysis (src)

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


Field Summary
 
Fields inherited from class org.jboss.iiop.rmi.ContainerAnalysis (src)
abstractBaseValuetypes, attributes, classHashCode, constants, F_CONSTANT, f_flags, F_SPFFIELD, fields, interfaces, m_flags, M_INHERITED, M_OVERLOADED, M_READ, M_READONLY, M_WRITE, M_WRITEOBJECT, memberPostfix, memberPrefix, methods, mutators, operations, repositoryId
 
Fields inherited from class org.jboss.iiop.rmi.ClassAnalysis (src)
cls
 
Constructor Summary
protected InterfaceAnalysis(java.lang.Class cls)
           
 
Method Summary
protected  void analyzeOperations()
          Analyse operations.
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.
protected  void calculateOperationAnalysisMap()
          Calculate the map that maps IDL operation names to operation analyses.
protected  void doAnalyze()
           
 java.lang.String[] getAllTypeIds()
           
protected  java.util.ArrayList getContainedEntries()
          Return a list of all the entries contained here.
static InterfaceAnalysis (src) getInterfaceAnalysis(java.lang.Class cls)
           
 boolean isAbstractInterface()
           
 boolean isRmiIdlRemoteInterface()
           
 
Methods inherited from class org.jboss.iiop.rmi.ContainerAnalysis (src)
analyzeAttributes, analyzeConstants, analyzeFields, analyzeInterfaces, analyzeMethods, attributeReadName, attributeWriteName, calculateClassHashCode, calculateRepositoryId, escapeIRName, fixupCaseNames, fixupOverloadedOperationNames, getAbstractBaseValuetypes, getAttributes, getConstants, getIDLModuleName, getInterfaces, getMemberRepositoryId, getOperations, getRepositoryId, hasNonAppExceptions, isAccessor, isMutator, toHexString, toHexString
 
Methods inherited from class org.jboss.iiop.rmi.ClassAnalysis (src)
getCls, getIDLName, getJavaName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceAnalysis

protected InterfaceAnalysis(java.lang.Class cls)
Method Detail

getInterfaceAnalysis

public static InterfaceAnalysis (src)  getInterfaceAnalysis(java.lang.Class cls)
                                              throws RMIIIOPViolationException (src) 
Throws:
RMIIIOPViolationException (src)

doAnalyze

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

isAbstractInterface

public boolean isAbstractInterface()

isRmiIdlRemoteInterface

public boolean isRmiIdlRemoteInterface()

getAllTypeIds

public java.lang.String[] getAllTypeIds()

getContainedEntries

protected java.util.ArrayList getContainedEntries()
Return a list of all the entries contained here.

Specified by:
getContainedEntries in class ContainerAnalysis (src)

analyzeOperations

protected void analyzeOperations()
                          throws RMIIIOPViolationException (src) 
Analyse operations. This will fill in the operations array.

Overrides:
analyzeOperations in class ContainerAnalysis (src)
Throws:
RMIIIOPViolationException (src)

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.