Class VitamApplicationInitializr


  • public class VitamApplicationInitializr
    extends java.lang.Object
    As restEasy application is lazy load, and some classes are needed for both Jetty server and resteasy configuration This Factory helps to make bridge between jetty server and resteasy configuration.
    • Constructor Detail

      • VitamApplicationInitializr

        public VitamApplicationInitializr()
    • Method Detail

      • get

        public static VitamApplicationInitializr get()
        Get an instance of VitamApplicationInitializr
        Returns:
        VitamApplicationInitializr
      • initialize

        public void initialize​(java.lang.String configurationFile)
        Initialize all resource using the given configuration file
        Parameters:
        configurationFile -
      • getSingletons

        public java.util.Set<java.lang.Object> getSingletons()
        Return the set of registered resources
        Returns:
        singletons
      • getVitamServerLifeCycle

        public VitamServerLifeCycle getVitamServerLifeCycle()
        Return the vitamServerLifeCycle to be added to jetty server
        Returns:
        vitamServerLifeCycle
      • getCommonBusinessApplication

        public CommonBusinessApplication getCommonBusinessApplication()
        Used by @see BusinessApplication to get a registred classes
        Returns:
        commonBusinessApplication