code: public ManagedEntity[] searchManagedEntities(String type) throws InvalidProperty, RuntimeFault, RemoteException {
          String[][] typeinfo = new String[][]{new String[]{type, "name",},};
          return searchManagedEntities(typeinfo, true);
      }
docs: Get the first ManagedObjectReference from current node for the specified type