Class LenientFactoryBase

java.lang.Object
com.aquima.interactions.framework.LenientFactoryBase
Direct Known Subclasses:
LenientContainerFactory, LenientServiceFactory

public abstract class LenientFactoryBase extends Object
Base class for lenient factory implementations that may be used in development.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • LenientFactoryBase

      protected LenientFactoryBase()
  • Method Details

    • setIncludePrefixes

      public void setIncludePrefixes(String[] prefixes)
      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

      public void setExcludePrefixes(String[] prefixes)
      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

      protected boolean shouldProvideFor(String componentName)