Class DocumentationControllerServiceInitializationContext
java.lang.Object
org.apache.nifi.documentation.init.DocumentationControllerServiceInitializationContext
- All Implemented Interfaces:
ControllerServiceInitializationContext,KerberosContext
public class DocumentationControllerServiceInitializationContext
extends Object
implements ControllerServiceInitializationContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentLogprivate final Stringprivate final ControllerServiceLookup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe Kerberos configuration file (typically krb5.conf) that will be used by this JVM during all Kerberos operations.The File instance for the Kerberos service keytab.The Kerberos service principal used by NiFi to communicate with the KDC in order to obtain tickets on behalf of NiFi.
-
Field Details
-
id
-
serviceLookup
-
componentLog
-
-
Constructor Details
-
DocumentationControllerServiceInitializationContext
public DocumentationControllerServiceInitializationContext()
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfaceControllerServiceInitializationContext- Returns:
- the identifier associated with the
ControllerServicewith which this context is associated
-
getControllerServiceLookup
- Specified by:
getControllerServiceLookupin interfaceControllerServiceInitializationContext- Returns:
- the
ControllerServiceLookupwhich can be used to obtain Controller Services
-
getLogger
- Specified by:
getLoggerin interfaceControllerServiceInitializationContext- Returns:
- a logger that can be used to log important events in a standard way and generate bulletins when appropriate
-
getStateManager
- Specified by:
getStateManagerin interfaceControllerServiceInitializationContext- Returns:
- the StateManager that can be used to store and retrieve state for this component
-
getNodeTypeProvider
- Specified by:
getNodeTypeProviderin interfaceControllerServiceInitializationContext- Returns:
- the
NodeTypeProviderwhich can be used to detect the node type of this NiFi instance.
-
getKerberosServicePrincipal
Description copied from interface:KerberosContextThe Kerberos service principal used by NiFi to communicate with the KDC in order to obtain tickets on behalf of NiFi. Typically of the form NIFI/fully.qualified.domain@REALM.- Specified by:
getKerberosServicePrincipalin interfaceKerberosContext- Returns:
- the principal, or null if this NiFi instance is not configured with a NiFi Kerberos service principal
-
getKerberosServiceKeytab
Description copied from interface:KerberosContextThe File instance for the Kerberos service keytab. The service principal and service keytab will be used to communicate with the KDC to obtain tickets on behalf of NiFi.- Specified by:
getKerberosServiceKeytabin interfaceKerberosContext- Returns:
- the File instance of the service keytab, or null if this NiFi instance is not configured with a NiFi Kerberos service keytab
-
getKerberosConfigurationFile
Description copied from interface:KerberosContextThe Kerberos configuration file (typically krb5.conf) that will be used by this JVM during all Kerberos operations.- Specified by:
getKerberosConfigurationFilein interfaceKerberosContext- Returns:
- the File instance for the Kerberos configuration file, or null if this NiFi instance is not configured with a Kerberos configuration file
-