code: static LifecycleManagerStore getCurrentStore() {
          LifecycleManagerStore store = INSTANCE.get();
          if (store != null) {
              return store;
          }
  
          try {
              InputStream resourceAsStream = Thread.currentThread().getContextClassLoader()
                  .getResourceAsStream("META-INF/services/" + LifecycleManagerStore.class.getName());
  
              if (resourceAsStream != null) {
                  BufferedReader reader = new BufferedReader(new InputStreamReader(resourceAsStream));
                  String type = reader.readLine();
                  store = (LifecycleManagerStore) Class.forName(type).newInstance();
                  INSTANCE.compareAndSet(null, store);
                  return INSTANCE.get();
              }
          } catch (Exception e) {
              throw new IllegalStateException("Cannot load " + LifecycleManagerStore.class.getSimpleName() + " service", e);
          }
  
          throw new IllegalStateException("No " + LifecycleManagerStore.class.getSimpleName() + " service is defined");
      }
docs: Retrieves instance of {@link LifecycleManager} for given instance of given class.
  
  @param clazz       the class used as denominator during retrieval
  @param boundObject the object used as key for retriving {@link LifecycleManager}
  @return the bound instance of {@link LifecycleManager}
  @throws ObjectNotAssociatedException when instance of no such class and class' instance was associated with any
  {@link LifecycleManager}