Class FactoryManagerTemplate

java.lang.Object
com.aquima.interactions.test.templates.resource.FactoryManagerTemplate

public class FactoryManagerTemplate extends Object
Template that can be used to create a factory manager.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • FactoryManagerTemplate

      public FactoryManagerTemplate()
      Construct a factor manager.
    • FactoryManagerTemplate

      public FactoryManagerTemplate(SpellEngineTemplate spellEngine)
      Construct a factor manager.
      Parameters:
      spellEngine - Spell engine used for masks.
  • Method Details

    • setProjectFactoryManager

      public void setProjectFactoryManager(com.aquima.interactions.portal.IFactoryManager factoryManager)
      This method may be used to set a (project specific) factory manager that will be consulted if the factory templates do not provide an implementation for a component.
      Parameters:
      factoryManager - The factory manager that should be used when a template does not have an implementation for a component.
    • getProjectFactoryManager

      protected com.aquima.interactions.portal.IFactoryManager getProjectFactoryManager()
    • setTemporaryPersistenceStrategy

      public void setTemporaryPersistenceStrategy(com.aquima.interactions.portal.ITemporaryPersistenceStrategy strategy)
      This method may be used to set a temporary persistence strategy. By default the temporary strategy is not defined and the IFactoryManager.getContentManagerFactory(IPortalContext, PersistenceLevel) ignores the persistence level.
      Parameters:
      strategy - the temporary persistence strategy
    • getTemporaryPersistenceStrategy

      public com.aquima.interactions.portal.ITemporaryPersistenceStrategy getTemporaryPersistenceStrategy()
    • getServiceFactory

      public ServiceFactoryTemplate getServiceFactory()
      This method returns the service factory of the manager.
      Returns:
      The service factory template.
    • getContainerFactory

      public ContainerFactoryTemplate getContainerFactory()
      This method returns the container factory of the manager.
      Returns:
      The container factory template.
    • getActionHandlerFactory

      public ActionHandlerFactoryTemplate getActionHandlerFactory()
      This method returns the action handler factory of the manager.
      Returns:
      The action handler factory template.
    • getRuleFactory

      public RuleFactoryTemplate getRuleFactory()
      This method returns the rule factory of the manager.
      Returns:
      The rule factory template.
    • getValidatorFactory

      public ValidatorFactoryTemplate getValidatorFactory()
      This method returns the validation factory of the manager.
      Returns:
      The validation factory template.
    • getRendererFactory

      public RendererFactoryTemplate getRendererFactory()
      This method returns the validation factory of the manager.
      Returns:
      The validation factory template.
    • getMaskFactory

      public MaskFactoryTemplate getMaskFactory()
      This method returns the mask factory of the manager.
      Returns:
      The mask factory template.
    • getMatchTypeFactory

      public MatchTypeFactoryTemplate getMatchTypeFactory()
      This method returns the match type factory of the manager.
      Returns:
      The match type factory.
    • getDomainValuesFactory

      public DomainValuesFactoryTemplate getDomainValuesFactory()
      This method returns the domain values factory of the manager.
      Returns:
      the domain values factory
    • getCustomSchemaElementFactory

      public CustomSchemaElementFactoryTemplate getCustomSchemaElementFactory()
      This method returns the schema composer factory of the manager.
      Returns:
      The schema composer factory.
    • getProcessExtensionFactory

      public ProcessExtensionFactoryTemplate getProcessExtensionFactory()
    • getContentManagerFactory

      public ContentManagerFactoryTemplate getContentManagerFactory()
      This method returns the content manager factory of the manager
      Returns:
      The content manager factory
    • getSerializerFactory

      public DataSerializerFactoryTemplate getSerializerFactory()
      This method returns the serializer factory of the manager.
      Returns:
      The serializer factory, never null.
    • getSoapMessageHandlerFactory

      public SoapMessageHandlerFactoryTemplate getSoapMessageHandlerFactory()
      This method returns the soap message handler factory of the manager.
      Returns:
      The soap message handler factory, never null.
    • toFactory

      public com.aquima.interactions.portal.IFactoryManager toFactory()
      This method converts the template to a factory manager.
      Returns:
      Factory manager implementation based on the template.
    • isPersistenceAware

      public boolean isPersistenceAware()
    • setPersistenceAware

      public void setPersistenceAware(boolean persistenceAware)