Java Clients
Generic Object ReferencesWhen you obtain a reference to a stub for an IOM object, you usually call a method on another stub, and the stub takes care of the details necessary to connect the new stub with the new IOM object. However, sometimes a method is designed to produce a generic stub, which is a stub with no specialized methods.
Whenever a method on a stub has an output or return parameter of type
Every stub is associated with a The following code fragment demonstrates the proper usage of narrowing. org.omg.CORBA.Object generic = sasWorkspace.GetApplication("MY_APP"); IMyApp myApp = IMyAppHelper.narrow(generic); myApp.myMethod(); |