Class SDBHandlerServiceLocator

java.lang.Object
com.helger.phase4.springboot.service.SDBHandlerServiceLocator
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component public class SDBHandlerServiceLocator extends Object implements org.springframework.context.ApplicationContextAware
  • Constructor Details

    • SDBHandlerServiceLocator

      public SDBHandlerServiceLocator()
  • Method Details

    • getService

      @Nonnull public static ISBDHandlerService getService(@Nonnull ESBDHHandlerServiceSelector selector)
      Returns the Spring managed bean instance of the given service if it exists. Returns null otherwise.
      Parameters:
      selector - Selector enum. May not be null.
      Returns:
      The desired service
    • setApplicationContext

      public void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext aCtx) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException