- All Known Subinterfaces:
- IBufferFactoryComponent, IDataStoreComponent, IHttpClientComponent, IPolicyFailureFactoryComponent, IRateLimiterComponent, ISharedStateComponent
- All Known Implementing Classes:
- DefaultPolicyFailureFactoryComponent, InMemoryDataStoreComponent, InMemoryRateLimiterComponent, InMemorySharedStateComponent
public interface IComponent
All components provided to policies during their runtime must implement this interface. A
component in APIMan is anything provided by the APIMan system/platform that can be used by
a policy implementation at runtime. Examples of components include the Shared State Component
and the HTTP Client Component.
Components are provided for ease of use and consistency amongst policy implementations. In
addition, the components provided to the policies should be async when appropriate and should
be superior in function or performance.
Normally this would be called a "service" but this name is not used to avoid confusion with
the APIMan concept of the same name.
- Author:
- eric.wittmann@redhat.com