Class CallerConfigurationFactory
java.lang.Object
org.apache.synapse.commons.throttle.core.factory.CallerConfigurationFactory
Factory for creating a CallerConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CallerConfigurationcreateCallerConfiguration(int throttletype) To create a CallerConfiguration instance for the given throttle type
-
Constructor Details
-
CallerConfigurationFactory
public CallerConfigurationFactory()
-
-
Method Details
-
createCallerConfiguration
public static CallerConfiguration createCallerConfiguration(int throttletype) throws ThrottleException To create a CallerConfiguration instance for the given throttle type- Parameters:
throttletype- - The type of the throttle- Returns:
- CallerConfiguration - The corresponding caller configuration for the given throttle type
- Throws:
ThrottleException- - Throws for if the throttle type is unknown
-