Package org.smooks.engine
Class DefaultApplicationContextBuilder
- java.lang.Object
-
- org.smooks.engine.DefaultApplicationContextBuilder
-
- All Implemented Interfaces:
org.smooks.api.ApplicationContextBuilder
public class DefaultApplicationContextBuilder extends Object implements org.smooks.api.ApplicationContextBuilder
-
-
Constructor Summary
Constructors Modifier Constructor Description DefaultApplicationContextBuilder()protectedDefaultApplicationContextBuilder(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.smooks.api.ApplicationContextbuild()protected voidinitRegistry(org.smooks.api.ApplicationContext applicationContext, org.smooks.api.Registry registry)protected voidregisterSystemContentHandlerFactories(org.smooks.api.Registry registry)protected voidregisterSystemResources(org.smooks.api.Registry registry, org.smooks.api.ApplicationContext applicationContext)DefaultApplicationContextBuilderwithBeanIdStore(org.smooks.api.bean.context.BeanIdStore beanIdStore)DefaultApplicationContextBuilderwithClassLoader(ClassLoader classLoader)DefaultApplicationContextBuilderwithContentDeliveryRuntimeFactory(org.smooks.api.delivery.ContentDeliveryRuntimeFactory contentDeliveryRuntimeFactory)DefaultApplicationContextBuilderwithReaderPoolFactory(org.smooks.api.delivery.ReaderPoolFactory readerPoolFactory)DefaultApplicationContextBuilderwithRegistry(org.smooks.api.Registry registry)DefaultApplicationContextBuilderwithResourceConfigLoader(org.smooks.api.resource.config.loader.ResourceConfigLoader resourceConfigLoader)DefaultApplicationContextBuilderwithResourceLocator(org.smooks.api.resource.ContainerResourceLocator resourceLocator)DefaultApplicationContextBuilderwithSystemResources(boolean systemResources)
-
-
-
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
-
withClassLoader
public DefaultApplicationContextBuilder withClassLoader(ClassLoader classLoader)
- Specified by:
withClassLoaderin interfaceorg.smooks.api.ApplicationContextBuilder
-
withSystemResources
public DefaultApplicationContextBuilder withSystemResources(boolean systemResources)
-
withRegistry
public DefaultApplicationContextBuilder withRegistry(org.smooks.api.Registry registry)
- Specified by:
withRegistryin interfaceorg.smooks.api.ApplicationContextBuilder
-
withContentDeliveryRuntimeFactory
public DefaultApplicationContextBuilder withContentDeliveryRuntimeFactory(org.smooks.api.delivery.ContentDeliveryRuntimeFactory contentDeliveryRuntimeFactory)
- Specified by:
withContentDeliveryRuntimeFactoryin interfaceorg.smooks.api.ApplicationContextBuilder
-
withResourceLocator
public DefaultApplicationContextBuilder withResourceLocator(org.smooks.api.resource.ContainerResourceLocator resourceLocator)
- Specified by:
withResourceLocatorin interfaceorg.smooks.api.ApplicationContextBuilder
-
withResourceConfigLoader
public DefaultApplicationContextBuilder withResourceConfigLoader(org.smooks.api.resource.config.loader.ResourceConfigLoader resourceConfigLoader)
- Specified by:
withResourceConfigLoaderin interfaceorg.smooks.api.ApplicationContextBuilder
-
withReaderPoolFactory
public DefaultApplicationContextBuilder withReaderPoolFactory(org.smooks.api.delivery.ReaderPoolFactory readerPoolFactory)
- Specified by:
withReaderPoolFactoryin interfaceorg.smooks.api.ApplicationContextBuilder
-
withBeanIdStore
public DefaultApplicationContextBuilder withBeanIdStore(org.smooks.api.bean.context.BeanIdStore beanIdStore)
- Specified by:
withBeanIdStorein interfaceorg.smooks.api.ApplicationContextBuilder
-
build
public org.smooks.api.ApplicationContext build()
- Specified by:
buildin interfaceorg.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)
-
-