Static Public Member Functions | Static Public Attributes | Static Protected Member Functions

alma.tools.idlgen.IDLComponentTester Class Reference

List of all members.

Static Public Member Functions

static void collectInterfaces (IdlObject root)
static boolean isACSComponent (IdlInterface interfaceNode)
static boolean isACSOffshoot (IdlInterface interfaceNode)

Static Public Attributes

static final String ACSCOMPONENT_IDLTYPE = "IDL:alma/ACS/ACSComponent:1.0"
static final String ACSOFFSHOOT_IDLTYPE = "IDL:alma/ACS/OffShoot:1.0"

Static Protected Member Functions

static boolean isACSInterface (IdlInterface interfaceNode, String acsInterfaceId)

Detailed Description

Author:
hsommer created Nov 10, 2003 3:34:51 PM

Member Function Documentation

static void alma.tools.idlgen.IDLComponentTester.collectInterfaces ( IdlObject  root  )  [static]

Collecting all interfaces prior to calling isACSComponent is part of a workaround for an OpenORB bug or feature. It is not possible to directly navigate up the graph of base interfaces using IdlInterface#getInheritance().

Parameters:
root 
static boolean alma.tools.idlgen.IDLComponentTester.isACSComponent ( IdlInterface  interfaceNode  )  [static]
static boolean alma.tools.idlgen.IDLComponentTester.isACSInterface ( IdlInterface  interfaceNode,
String  acsInterfaceId 
) [static, protected]

Calls IdlInterface#getInheritance() recursively on interfaceNode and returns true if IDL:alma/ACS/ACSComponent:1.0 is among the inherited interfaces.

The method collectInterfaces(IdlObject) must be called before this method.

Referenced by alma.tools.idlgen.IDLComponentTester.isACSComponent(), and alma.tools.idlgen.IDLComponentTester.isACSOffshoot().

static boolean alma.tools.idlgen.IDLComponentTester.isACSOffshoot ( IdlInterface  interfaceNode  )  [static]

Member Data Documentation

final String alma.tools.idlgen.IDLComponentTester.ACSCOMPONENT_IDLTYPE = "IDL:alma/ACS/ACSComponent:1.0" [static]
final String alma.tools.idlgen.IDLComponentTester.ACSOFFSHOOT_IDLTYPE = "IDL:alma/ACS/OffShoot:1.0" [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties