public class InterceptorFinder extends Object
| Constructor and Description |
|---|
InterceptorFinder() |
| Modifier and Type | Method and Description |
|---|---|
static Set<Class<? extends Interceptor>> |
find()
Returns all of subclasses of
Interceptor from package which specified in
config.properties by prefix "interceptor"
for example:
interceptor.encryption=org.qubership.automation.itf.encryption
interceptor.decryption=org.qubership.automation.itf.decryption
the method will take this paths and find all of interceptor in both packages |
static Set<Class<? extends Interceptor>> |
find(String path)
Returns all of subclasses of
Interceptor in specified package. |
@Nonnull public static Set<Class<? extends Interceptor>> find(@Nonnull String path)
Interceptor in specified package.path - - package where interceptor is definedInterceptor@Nonnull public static Set<Class<? extends Interceptor>> find()
Interceptor from package which specified in
config.properties by prefix "interceptor"
for example:
interceptor.encryption=org.qubership.automation.itf.encryption
interceptor.decryption=org.qubership.automation.itf.decryption
the method will take this paths and find all of interceptor in both packagesInterceptorCopyright © 2025. All rights reserved.