Class LenientFactoryBase
java.lang.Object
com.aquima.interactions.framework.LenientFactoryBase
- Direct Known Subclasses:
LenientContainerFactory
,LenientServiceFactory
Base class for lenient factory implementations that may be used in development.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setExcludePrefixes
(String[] prefixes) This method may be used to specify for which names no stub implementation should be provided.void
setIncludePrefixes
(String[] prefixes) This method may be used to specify for which names a stub implementation should be provided.protected boolean
shouldProvideFor
(String componentName)
-
Constructor Details
-
LenientFactoryBase
protected LenientFactoryBase()
-
-
Method Details
-
setIncludePrefixes
This method may be used to specify for which names a stub implementation should be provided. Any name that starts with one of the prefixes specified in the array will be stubbed, unless its name matches a prefix from the exclude list.- Parameters:
prefixes
- Array of prefixes for which a stub implementation should be provided.
-
setExcludePrefixes
This method may be used to specify for which names no stub implementation should be provided.- Parameters:
prefixes
- Array of prefixes for which no stub implementation should be provided.
-
shouldProvideFor
-