All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.util.impl.LazyInstance Maven / Gradle / Ivy

package xapi.util.impl;

import javax.inject.Provider;

import xapi.inject.X_Inject;

public class LazyInstance   extends LazyProvider{

  public LazyInstance(final Class cls) {
    super(new Provider() {
      @Override
      public T get() {
        return X_Inject.instance(cls);
      }
    });
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy