public C findCoprocessor(String className) {
    for (E env : coprocEnvironments) {
      if (
        env.getInstance().getClass().getName().equals(className)
          || env.getInstance().getClass().getSimpleName().equals(className)
      ) {
        return env.getInstance();
      }
    }
    return null;
  }
Find coprocessors by full class name or simple name.
hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java