servantIsLocal = orb.getORBData().isLocalOptimizationAllowed() &&
prof.isLocal();
ObjectKeyTemplate oktemp = prof.getObjectKeyTemplate() ;
this.scid = oktemp.getSubcontractId() ;
RequestDispatcherRegistry sreg = orb.getRequestDispatcherRegistry() ;
oaf = sreg.getObjectAdapterFactory( scid ) ;
oaid = oktemp.getObjectAdapterId() ;
ObjectId oid = prof.getObjectId() ;
objectId = oid.getId() ;
}