Class GenericFolderWatchdogGovernanceActionConnector

    • Constructor Detail

      • GenericFolderWatchdogGovernanceActionConnector

        public GenericFolderWatchdogGovernanceActionConnector()
    • Method Detail

      • initialize

        public void initialize​(String connectorInstanceId,
                               ConnectionProperties connectionProperties)
        Call made by the ConnectorProvider to initialize the Connector with the base services.
        Overrides:
        initialize in class ConnectorBase
        Parameters:
        connectorInstanceId - unique id for the connector instance useful for messages etc
        connectionProperties - POJO for the configuration used to create the connector.
      • start

        public void start()
                   throws ConnectorCheckedException
        Indicates that the governance action service is completely configured and can begin processing. This is a standard method from the Open Connector Framework (OCF) so be sure to call super.start() at the start of your overriding version.
        Overrides:
        start in class WatchdogGovernanceActionService
        Throws:
        ConnectorCheckedException - there is a problem within the governance action service.
      • disconnect

        public void disconnect()
                        throws ConnectorCheckedException
        Disconnect is called either because this governance action service called governanceContext.recordCompletionStatus() or the administer requested this governance action service stop running or the hosting server is shutting down. If disconnect completes before the governance action service records its completion status then the governance action service is restarted either at the administrator's request or the next time the server starts. If you do not want this governance action service restarted, be sure to record the completion status in disconnect(). The disconnect() method is a standard method from the Open Connector Framework (OCF). If you need to override this method be sure to call super.disconnect() in your version.
        Overrides:
        disconnect in class GenericWatchdogGovernanceActionConnector
        Throws:
        ConnectorCheckedException - there is a problem within the governance action service.