Package com.networknt.rule
Class RuleLoaderStartupHook
- java.lang.Object
-
- com.networknt.rule.RuleLoaderStartupHook
-
- All Implemented Interfaces:
StartupHookProvider
public class RuleLoaderStartupHook extends Object implements StartupHookProvider
This is the startup hook to load YAML rules from the light-portal during the server startup. Currently, only the access-control is using the rule engine; however, we are expecting more components will follow.- Author:
- Steve Hu
-
-
Constructor Summary
Constructors Constructor Description RuleLoaderStartupHook()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Result<String>getRuleById(String url, String host, String ruleId)static Result<String>getServiceById(String url, String serviceId)voidonStartup()
-