public synchronized String[] adapter_name() {
    checkAccess(MID_ADAPTER_NAME);

    if (adapterName == null) {
      checkForNullTemplate();

      ObjectAdapterId oaid = oktemp.getObjectAdapterId();
      adapterName = oaid.getAdapterName();
    }

    return adapterName;
  }
Exemplo n.º 2
0
 public ObjectAdapter find(ObjectAdapterId oaid) {
   if (oaid.equals(ObjectKeyTemplateBase.JIDL_OAID))
     // Return the dispatch-only TOA, which can dispatch
     // request for objects created by any TOA.
     return getTOA();
   else throw wrapper.badToaOaid();
 }