public Object handleForLocator ( final EJBLocator < ? > locator ) { final org . omg . CORBA . Object reference = referenceForLocator ( locator ) ; if ( locator instanceof EJBHomeLocator ) { return new HomeHandleImplIIOP ( orb . getValue ( ) . object_to_string ( reference ) ) ; } return new HandleImplIIOP ( orb . getValue ( ) . object_to_string ( reference ) ) ; }
Gets a handle for the given ejb locator .