public class BrokerInterceptorUtils extends Object
BrokerInterceptors.| Constructor and Description |
|---|
BrokerInterceptorUtils() |
| Modifier and Type | Method and Description |
|---|---|
BrokerInterceptorDefinition |
getBrokerInterceptorDefinition(String narPath,
String narExtractionDirectory)
Retrieve the broker interceptor definition from the provided handler nar package.
|
BrokerInterceptorDefinitions |
searchForInterceptors(String interceptorsDirectory,
String narExtractionDirectory)
Search and load the available broker interceptors.
|
public BrokerInterceptorDefinition getBrokerInterceptorDefinition(String narPath, String narExtractionDirectory) throws IOException
narPath - the path to the broker interceptor NAR packageIOException - when fail to load the broker interceptor or get the definitionpublic BrokerInterceptorDefinitions searchForInterceptors(String interceptorsDirectory, String narExtractionDirectory) throws IOException
interceptorsDirectory - the directory where all the broker interceptors are storedIOException - when fail to load the available broker interceptors from the provided directory.Copyright © 2017–2021 Apache Software Foundation. All rights reserved.