code: protected void loadProfileIfNeeded()
      {
          final Object key = getProfileKey();
          if (key != null)
          {
              final MetadataManager mm = MetadataManager.getInstance();
              if (!key.equals(mm.getCurrentProfileKey()))
              {
                  mm.loadProfile(key);
              }
          }
      }
docs: Reactivates metadata profile used when creating proxy, if needed.
  Calls to this method should be guarded by checking
  {@link #_perThreadDescriptorsEnabled} since the profile never
  needs to be reloaded if not using pre-thread metadata changes.