Class DefaultApplicationContextBuilder

  • All Implemented Interfaces:
    org.smooks.api.ApplicationContextBuilder

    public class DefaultApplicationContextBuilder
    extends Object
    implements org.smooks.api.ApplicationContextBuilder
    • Constructor Detail

      • DefaultApplicationContextBuilder

        public DefaultApplicationContextBuilder()
      • DefaultApplicationContextBuilder

        protected DefaultApplicationContextBuilder​(boolean systemResources,
                                                   ClassLoader classLoader,
                                                   org.smooks.api.Registry registry,
                                                   org.smooks.api.delivery.ContentDeliveryRuntimeFactory contentDeliveryRuntimeFactory,
                                                   org.smooks.api.resource.ContainerResourceLocator resourceLocator,
                                                   org.smooks.api.resource.config.loader.ResourceConfigLoader resourceConfigLoader,
                                                   org.smooks.api.delivery.ReaderPoolFactory readerPoolFactory,
                                                   org.smooks.api.bean.context.BeanIdStore beanIdStore)
    • Method Detail

      • withRegistry

        public DefaultApplicationContextBuilder withRegistry​(org.smooks.api.Registry registry)
        Specified by:
        withRegistry in interface org.smooks.api.ApplicationContextBuilder
      • withContentDeliveryRuntimeFactory

        public DefaultApplicationContextBuilder withContentDeliveryRuntimeFactory​(org.smooks.api.delivery.ContentDeliveryRuntimeFactory contentDeliveryRuntimeFactory)
        Specified by:
        withContentDeliveryRuntimeFactory in interface org.smooks.api.ApplicationContextBuilder
      • withResourceLocator

        public DefaultApplicationContextBuilder withResourceLocator​(org.smooks.api.resource.ContainerResourceLocator resourceLocator)
        Specified by:
        withResourceLocator in interface org.smooks.api.ApplicationContextBuilder
      • withResourceConfigLoader

        public DefaultApplicationContextBuilder withResourceConfigLoader​(org.smooks.api.resource.config.loader.ResourceConfigLoader resourceConfigLoader)
        Specified by:
        withResourceConfigLoader in interface org.smooks.api.ApplicationContextBuilder
      • withReaderPoolFactory

        public DefaultApplicationContextBuilder withReaderPoolFactory​(org.smooks.api.delivery.ReaderPoolFactory readerPoolFactory)
        Specified by:
        withReaderPoolFactory in interface org.smooks.api.ApplicationContextBuilder
      • withBeanIdStore

        public DefaultApplicationContextBuilder withBeanIdStore​(org.smooks.api.bean.context.BeanIdStore beanIdStore)
        Specified by:
        withBeanIdStore in interface org.smooks.api.ApplicationContextBuilder
      • build

        public org.smooks.api.ApplicationContext build()
        Specified by:
        build in interface org.smooks.api.ApplicationContextBuilder
      • initRegistry

        protected void initRegistry​(org.smooks.api.ApplicationContext applicationContext,
                                    org.smooks.api.Registry registry)
      • registerSystemContentHandlerFactories

        protected void registerSystemContentHandlerFactories​(org.smooks.api.Registry registry)
      • registerSystemResources

        protected void registerSystemResources​(org.smooks.api.Registry registry,
                                               org.smooks.api.ApplicationContext applicationContext)