Class FactoryManagerTemplate
java.lang.Object
com.aquima.interactions.test.templates.resource.FactoryManagerTemplate
Template that can be used to create a factory manager.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a factor manager.FactoryManagerTemplate
(SpellEngineTemplate spellEngine) Construct a factor manager. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the action handler factory of the manager.This method returns the container factory of the manager.This method returns the content manager factory of the managerThis method returns the schema composer factory of the manager.This method returns the domain values factory of the manager.This method returns the mask factory of the manager.This method returns the match type factory of the manager.protected com.aquima.interactions.portal.IFactoryManager
This method returns the validation factory of the manager.This method returns the rule factory of the manager.This method returns the serializer factory of the manager.This method returns the service factory of the manager.This method returns the soap message handler factory of the manager.com.aquima.interactions.portal.ITemporaryPersistenceStrategy
This method returns the validation factory of the manager.boolean
void
setPersistenceAware
(boolean persistenceAware) 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.void
setTemporaryPersistenceStrategy
(com.aquima.interactions.portal.ITemporaryPersistenceStrategy strategy) This method may be used to set a temporary persistence strategy.com.aquima.interactions.portal.IFactoryManager
This method converts the template to a factory manager.
-
Constructor Details
-
FactoryManagerTemplate
public FactoryManagerTemplate()Construct a factor manager. -
FactoryManagerTemplate
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 theIFactoryManager.getContentManagerFactory(IPortalContext, PersistenceLevel)
ignores the persistence level.- Parameters:
strategy
- the temporary persistence strategy
-
getTemporaryPersistenceStrategy
public com.aquima.interactions.portal.ITemporaryPersistenceStrategy getTemporaryPersistenceStrategy() -
getServiceFactory
This method returns the service factory of the manager.- Returns:
- The service factory template.
-
getContainerFactory
This method returns the container factory of the manager.- Returns:
- The container factory template.
-
getActionHandlerFactory
This method returns the action handler factory of the manager.- Returns:
- The action handler factory template.
-
getRuleFactory
This method returns the rule factory of the manager.- Returns:
- The rule factory template.
-
getValidatorFactory
This method returns the validation factory of the manager.- Returns:
- The validation factory template.
-
getRendererFactory
This method returns the validation factory of the manager.- Returns:
- The validation factory template.
-
getMaskFactory
This method returns the mask factory of the manager.- Returns:
- The mask factory template.
-
getMatchTypeFactory
This method returns the match type factory of the manager.- Returns:
- The match type factory.
-
getDomainValuesFactory
This method returns the domain values factory of the manager.- Returns:
- the domain values factory
-
getCustomSchemaElementFactory
This method returns the schema composer factory of the manager.- Returns:
- The schema composer factory.
-
getProcessExtensionFactory
-
getContentManagerFactory
This method returns the content manager factory of the manager- Returns:
- The content manager factory
-
getSerializerFactory
This method returns the serializer factory of the manager.- Returns:
- The serializer factory, never null.
-
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)
-