public class PropertyBasedNarProviderInitializationContext extends Object implements NarProviderInitializationContext, ExternalResourceProviderInitializationContext
NiFiProperties for auto loader extensions. Also limits the scope of the reachable properties.| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
BASIC_PREFIX |
private static Set<String> |
GUARDED_PROPERTIES |
private String |
name |
private Map<String,String> |
properties |
private SSLContext |
sslContext |
| Constructor and Description |
|---|
PropertyBasedNarProviderInitializationContext(NiFiProperties properties,
String name) |
| Modifier and Type | Method and Description |
|---|---|
private SSLContext |
createSSLContext(NiFiProperties properties) |
private Map<String,String> |
extractProperties(NiFiProperties properties,
String name) |
SSLContext |
getNiFiSSLContext() |
Map<String,String> |
getProperties() |
SSLContext |
getSSLContext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilterstatic final String BASIC_PREFIX
private final SSLContext sslContext
private final String name
public PropertyBasedNarProviderInitializationContext(NiFiProperties properties, String name) throws TlsException
TlsExceptionpublic Map<String,String> getProperties()
getProperties in interface ExternalResourceProviderInitializationContextgetProperties in interface NarProviderInitializationContextpublic SSLContext getNiFiSSLContext()
getNiFiSSLContext in interface NarProviderInitializationContextpublic SSLContext getSSLContext()
getSSLContext in interface ExternalResourceProviderInitializationContextprivate Map<String,String> extractProperties(NiFiProperties properties, String name)
private SSLContext createSSLContext(NiFiProperties properties) throws TlsException
TlsExceptionCopyright © 2022 Apache NiFi Project. All rights reserved.