Community articlegetInterfaceInstances method
Added by IBM contributorIBM on August 15, 2011
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.


Returns a list of FunctionCall objects that are currently registered with the IFX Manager.


public com.PureEdge.GenericInterface [ ] getInterfaceInstances(
   String theInterfaceName,
   int theInterfaceVersion
   ) throws UWIException;


theInterfaceName StringThe name of the interface that you are looking for. In most cases, a Function Call Interface.
theInterfaceVersion intThe interface version.


Returns a list of GenericInterface objects that must be typecast to FunctionCall objects, or null if no matching interfaces are found. Throws a generic exception (UWIException) if an error occurs.


When you are finished with a FunctionCall object and the HardGCFlag is false, you must call the object's release method. This will allow the memory that it occupied to be collected during normal JVM garbage collection. It is safe to call release when the HardGCFlag is true. See setHardGCFlag for more information.


   public class myFunctionCall extends com.PureEdge.xfdl.FunctionCallImplBase 
   implements FunctionCall
   GenericInterface theList [];
      /* Additional Code Removed */
      theList = theIFX.getInterfaceInstances
      for(int i = 0 ; i < theList.length ; i++)
         FunctionCall theFunctionCall;
         theFunctionCall = (FunctionCall)theList [i];
         /* Additional Code Removed */

Parent topic:
IFX class