Package com.aquima.interactions.portal
Interface IFactoryManager
- All Known Implementing Classes:
DefaultFactoryManager
,FactoryManager
,LinkedFactoryManager
,PersistenceAwareFactoryManager
public interface IFactoryManager
Each project is required to implement this interface, which is passed to the datasources. The portal engine is
configured to use the specified delegates to lookup certain components.
The resource locator is passed to the services and container implementations when they are called.
This class is not serializable.
- Since:
- 5.0
- Author:
- O. Kerpershoek, F. van der Meer
-
Method Summary
Modifier and TypeMethodDescriptionreturn 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
-
getRuleFactory
IRuleFactory getRuleFactory()Returns the rule factory. This interface knows how to construct various (custom) rules from a definition. Either by class or custom implementation.- Returns:
- A rule factory, never null
-
getValidatorFactory
IValidatorFactory getValidatorFactory()This method returns the validator factory, that is used to request (custom) validator implementations.- Returns:
- Validator factory, never null.
-
getServiceFactory
IServiceFactory getServiceFactory()Return a service factory, a service is constructed by its definition.- Returns:
- IServiceFactory never null
-
getContainerFactory
IContainerFactory getContainerFactory()return a dynamic container factory. Works similar to the service factory- Returns:
- IContainerFactory never null
-
getActionHandlerFactory
IActionHandlerFactory getActionHandlerFactory()return an action handler factory. Works similar to the service factory- Returns:
- IActionHandlerFactory never null
-
getTimeTrackerFactory
ITimeTrackerFactory getTimeTrackerFactory()This method returns a time tracker factory.- Returns:
- The time tracker factory to use when creating new time trackers.
-
getRendererFactory
IRendererFactory getRendererFactory()This method returns a document renderer factory.- Returns:
- The document renderer factory to use when creating document renderers.
-
getMaskFactory
IMaskFactory getMaskFactory()This method returns a mask factory.- Returns:
- The mask factory.
-
getMatchTypeFactory
IMatchTypeFactory getMatchTypeFactory()This method returns the match type factory which can create custom match functions.- Returns:
- The match type factory.
-
getDomainValuesFactory
IDomainValuesFactory getDomainValuesFactory()Returns the domain values factory which supplies values for external domains.- Returns:
- the domain values factory
-
getSerializerFactory
IDataSerializerFactory getSerializerFactory()This method returns the serializer factory for creating serializers based on mime types.- Returns:
- The serializer factory.
-
getCustomSchemaElementFactory
ICustomSchemaElementFactory getCustomSchemaElementFactory()This method returns the schema composer factory which supplies schema(s) for the communication engine.- Returns:
- The schema composer factory.
-
getProcessEntityFactory
IProcessExtensionFactory getProcessEntityFactory()This method returns the process factory which supplies external components for the process engine.- Returns:
- The process factory, never null.
-
getContentManagerFactory
IContentManagerFactory getContentManagerFactory()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
getContentManagerFactory(IPortalContext, PersistenceLevel)
with a persistence level ofPERMANENT
.- Returns:
- The content manager, never null
- Since:
- 9.3
-
getContentManagerFactory
IContentManagerFactory getContentManagerFactory(IPortalContext context, PersistenceLevel persistence) 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.
- 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.
- Since:
- 11.0
-
getSoapMessageHandlerFactory
ISoapMessageHandlerFactory getSoapMessageHandlerFactory()This method returns the soap message handler factory which createsISoapMessageHandler
instances.- Returns:
- The soap message handler factory
- Since:
- 9.5
-