Class StandardControllerServiceInitializationContext
java.lang.Object
org.apache.nifi.controller.service.StandardControllerServiceInitializationContext
- All Implemented Interfaces:
ControllerServiceInitializationContext,ControllerServiceLookup,org.apache.nifi.kerberos.KerberosContext
public class StandardControllerServiceInitializationContext
extends Object
implements ControllerServiceInitializationContext, ControllerServiceLookup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final KerberosConfigprivate final ComponentLogprivate NodeTypeProviderprivate final ControllerServiceProviderprivate final StateManager -
Constructor Summary
ConstructorsConstructorDescriptionStandardControllerServiceInitializationContext(String identifier, ComponentLog logger, ControllerServiceProvider serviceProvider, StateManager stateManager, KerberosConfig kerberosConfig, NodeTypeProvider nodeTypeProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetControllerService(String identifier) getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) getControllerServiceName(String serviceIdentifier) booleanisControllerServiceEnabled(String serviceIdentifier) booleanbooleanisControllerServiceEnabling(String serviceIdentifier)
-
Field Details
-
id
-
serviceProvider
-
logger
-
stateManager
-
kerberosConfig
-
nodeTypeProvider
-
-
Constructor Details
-
StandardControllerServiceInitializationContext
public StandardControllerServiceInitializationContext(String identifier, ComponentLog logger, ControllerServiceProvider serviceProvider, StateManager stateManager, KerberosConfig kerberosConfig, NodeTypeProvider nodeTypeProvider)
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfaceControllerServiceInitializationContext
-
getControllerService
- Specified by:
getControllerServicein interfaceControllerServiceLookup
-
getControllerServiceIdentifiers
- Specified by:
getControllerServiceIdentifiersin interfaceControllerServiceLookup
-
getControllerServiceLookup
- Specified by:
getControllerServiceLookupin interfaceControllerServiceInitializationContext
-
isControllerServiceEnabled
- Specified by:
isControllerServiceEnabledin interfaceControllerServiceLookup
-
isControllerServiceEnabled
- Specified by:
isControllerServiceEnabledin interfaceControllerServiceLookup
-
isControllerServiceEnabling
- Specified by:
isControllerServiceEnablingin interfaceControllerServiceLookup
-
getControllerServiceName
- Specified by:
getControllerServiceNamein interfaceControllerServiceLookup
-
getLogger
- Specified by:
getLoggerin interfaceControllerServiceInitializationContext
-
getStateManager
- Specified by:
getStateManagerin interfaceControllerServiceInitializationContext
-
getNodeTypeProvider
- Specified by:
getNodeTypeProviderin interfaceControllerServiceInitializationContext
-
getKerberosServicePrincipal
- Specified by:
getKerberosServicePrincipalin interfaceorg.apache.nifi.kerberos.KerberosContext
-
getKerberosServiceKeytab
- Specified by:
getKerberosServiceKeytabin interfaceorg.apache.nifi.kerberos.KerberosContext
-
getKerberosConfigurationFile
- Specified by:
getKerberosConfigurationFilein interfaceorg.apache.nifi.kerberos.KerberosContext
-