Class SpringRefResolver

java.lang.Object
su.onno.spring.SpringRefResolver
All Implemented Interfaces:
org.springframework.beans.factory.SmartInitializingSingleton, RefResolver

public class SpringRefResolver extends Object implements RefResolver, org.springframework.beans.factory.SmartInitializingSingleton
  • Constructor Details

    • SpringRefResolver

      public SpringRefResolver(org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • afterSingletonsInstantiated

      public void afterSingletonsInstantiated()
      Specified by:
      afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingleton
    • resolve

      public <T> Optional<T> resolve(Ref<T> ref)
      Specified by:
      resolve in interface RefResolver
    • resolve

      public Optional<?> resolve(PolyRef ref)
      Specified by:
      resolve in interface RefResolver