Class LinkedFactoryManager
java.lang.Object
com.aquima.interactions.portal.model.factory.LinkedFactoryManager
- All Implemented Interfaces:
IFactoryManager
Resource manager implementation that combines two resource managers.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionstatic IFactoryManager
createFor
(IFactoryManager manager, IFactoryManager defaultManager) This method returns a resource manager implementation that combines both the resource managers that are passed to this method.return an action handler factory.return a dynamic container factory.This method returns the content manager factory which supplies content managers based on a connection.getContentManagerFactory
(IPortalContext context, PersistenceLevel persistence) Creates a content manager factory for the given context and persistence level.This method returns the schema composer factory which supplies schema(s) for the communication engine.Returns the domain values factory which supplies values for external domains.This method returns a mask factory.This method returns the match type factory which can create custom match functions.This method returns the process factory which supplies external components for the process engine.This method returns a document renderer factory.Returns the rule factory.This method returns the serializer factory for creating serializers based on mime types.Return a service factory, a service is constructed by its definition.This method returns the soap message handler factory which createsISoapMessageHandler
instances.This method returns a time tracker factory.This method returns the validator factory, that is used to request (custom) validator implementations.
-
Method Details
-
createFor
This method returns a resource manager implementation that combines both the resource managers that are passed to this method.- Parameters:
manager
- The resource manager that should be used first (optional).defaultManager
- The resource manager that should be used when the first did not supply an implementation (mandatory).- Returns:
- a resource manager implementation that combines both the resource managers that are passed to this method.
-
getActionHandlerFactory
Description copied from interface:IFactoryManager
return an action handler factory. Works similar to the service factory- Specified by:
getActionHandlerFactory
in interfaceIFactoryManager
- Returns:
- IActionHandlerFactory never null
-
getContainerFactory
Description copied from interface:IFactoryManager
return a dynamic container factory. Works similar to the service factory- Specified by:
getContainerFactory
in interfaceIFactoryManager
- Returns:
- IContainerFactory never null
-
getServiceFactory
Description copied from interface:IFactoryManager
Return a service factory, a service is constructed by its definition.- Specified by:
getServiceFactory
in interfaceIFactoryManager
- Returns:
- IServiceFactory never null
-
getTimeTrackerFactory
Description copied from interface:IFactoryManager
This method returns a time tracker factory.- Specified by:
getTimeTrackerFactory
in interfaceIFactoryManager
- Returns:
- The time tracker factory to use when creating new time trackers.
-
getRuleFactory
Description copied from interface:IFactoryManager
Returns the rule factory. This interface knows how to construct various (custom) rules from a definition. Either by class or custom implementation.- Specified by:
getRuleFactory
in interfaceIFactoryManager
- Returns:
- A rule factory, never null
-
getValidatorFactory
Description copied from interface:IFactoryManager
This method returns the validator factory, that is used to request (custom) validator implementations.- Specified by:
getValidatorFactory
in interfaceIFactoryManager
- Returns:
- Validator factory, never null.
-
getRendererFactory
Description copied from interface:IFactoryManager
This method returns a document renderer factory.- Specified by:
getRendererFactory
in interfaceIFactoryManager
- Returns:
- The document renderer factory to use when creating document renderers.
-
getMaskFactory
Description copied from interface:IFactoryManager
This method returns a mask factory.- Specified by:
getMaskFactory
in interfaceIFactoryManager
- Returns:
- The mask factory.
-
getMatchTypeFactory
Description copied from interface:IFactoryManager
This method returns the match type factory which can create custom match functions.- Specified by:
getMatchTypeFactory
in interfaceIFactoryManager
- Returns:
- The match type factory.
-
getDomainValuesFactory
Description copied from interface:IFactoryManager
Returns the domain values factory which supplies values for external domains.- Specified by:
getDomainValuesFactory
in interfaceIFactoryManager
- Returns:
- the domain values factory
-
getCustomSchemaElementFactory
Description copied from interface:IFactoryManager
This method returns the schema composer factory which supplies schema(s) for the communication engine.- Specified by:
getCustomSchemaElementFactory
in interfaceIFactoryManager
- Returns:
- The schema composer factory.
-
getProcessEntityFactory
Description copied from interface:IFactoryManager
This method returns the process factory which supplies external components for the process engine.- Specified by:
getProcessEntityFactory
in interfaceIFactoryManager
- Returns:
- The process factory, never null.
-
getContentManagerFactory
Description copied from interface:IFactoryManager
This method returns the content manager factory which supplies content managers based on a connection.Content created with the returned content manager will be permanently persisted. This method is equivalent with
IFactoryManager.getContentManagerFactory(IPortalContext, PersistenceLevel)
with a persistence level ofPERMANENT
.- Specified by:
getContentManagerFactory
in interfaceIFactoryManager
- Returns:
- The content manager, never null
-
getContentManagerFactory
public IContentManagerFactory getContentManagerFactory(IPortalContext context, PersistenceLevel persistence) Description copied from interface:IFactoryManager
Creates a content manager factory for the given context and persistence level.When the persistence level is temporary, the returned content manager factory may create content managers that may be scoped to a portal scope of the given context (eg request, flow, session, etc.), or may use a different strategy for deleting temporary content.
- Specified by:
getContentManagerFactory
in interfaceIFactoryManager
- Parameters:
context
- provides scopes for temporary content managerspersistence
- the persistence level of the content that will be created using this content manager factory- Returns:
- the content manager factory, never null.
-
getSerializerFactory
Description copied from interface:IFactoryManager
This method returns the serializer factory for creating serializers based on mime types.- Specified by:
getSerializerFactory
in interfaceIFactoryManager
- Returns:
- The serializer factory.
-
getSoapMessageHandlerFactory
Description copied from interface:IFactoryManager
This method returns the soap message handler factory which createsISoapMessageHandler
instances.- Specified by:
getSoapMessageHandlerFactory
in interfaceIFactoryManager
- Returns:
- The soap message handler factory
-