1 | public class client |
2 | extends Applet { |
3 | ... |
4 | org.omg.CORBA.Object o =orb.string_to_object(IOR); |
5 | WebFlowContext wfc1 = WebFlowContextHelper.narrow(o); |
6 | moduleA moduleARef = moduleAHelper.narrow(wfc.addNewModule("moduleA")); |
7 | ... |
8 | wfc1.attachPushEvent(moduleARef, "eventName", moduleBRef, "aMethod"); |