IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only

Java Adapter: invoking a returned object's methods

  • 1.  Java Adapter: invoking a returned object's methods

    Posted 03/01/07 05:21 PM

    Originally posted by: SystemAdmin


    Hi all,

    I'm in the middle of developing an application that uses the Java adapter. The Java program I'm interacting with uses the singleton design pattern. In other words there's only one instance of the implementation object, which is returned via a static method.

    Using the Java adapter to get the implementation object is no problem. The issue is whether I can invoke the the returned object's methods. Reading through the documentation, it seems like the only things possible are a) use the entire object as a parameter for future Java call (by using the unique object reference) or b) access the public fields--which won't accomplish what I need.

    Thanks for all your help,
    Jesse
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender