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

toothpick.configuration.ReflectionOffConfiguration Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package toothpick.configuration;

import toothpick.Factory;
import toothpick.MemberInjector;
import toothpick.registries.FactoryRegistryLocator;
import toothpick.registries.MemberInjectorRegistryLocator;

class ReflectionOffConfiguration implements ReflectionConfiguration {
  @Override
  public  Factory getFactory(Class clazz) {
    return FactoryRegistryLocator.getFactoryUsingRegistries(clazz);
  }

  @Override
  public  MemberInjector getMemberInjector(Class clazz) {
    return MemberInjectorRegistryLocator.getMemberInjectorUsingRegistries(clazz);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy