Class ManifoldCF

    • Field Detail

      • agentShutdownSignal

        public static final java.lang.String agentShutdownSignal
        See Also:
        Constant Field Values
      • agentsInitialized

        protected static boolean agentsInitialized
      • API_SERVICEINTERRUPTIONNODE

        protected static final java.lang.String API_SERVICEINTERRUPTIONNODE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ManifoldCF

        public ManifoldCF()
    • Method Detail

      • cleanUpEnvironment

        public static void cleanUpEnvironment​(IThreadContext threadContext)
        Clean up environment.
      • localCleanup

        public static void localCleanup​(IThreadContext threadContext)
      • resetEnvironment

        public static void resetEnvironment​(IThreadContext threadContext)
        Reset the environment.
      • installTables

        public static void installTables​(IThreadContext threadcontext)
                                  throws ManifoldCFException
        Install the agent tables. This is also responsible for upgrading the existing tables!!!
        Parameters:
        threadcontext - is the thread context.
        Throws:
        ManifoldCFException
      • signalOutputConnectionRedo

        public static void signalOutputConnectionRedo​(IThreadContext threadContext,
                                                      java.lang.String connectionName)
                                               throws ManifoldCFException
        Signal output connection needs redoing. This is called when something external changed on an output connection, and therefore all associated documents must be reindexed.
        Parameters:
        threadContext - is the thread context.
        connectionName - is the connection name.
        Throws:
        ManifoldCFException
      • signalOutputConnectionRemoved

        public static void signalOutputConnectionRemoved​(IThreadContext threadContext,
                                                         java.lang.String connectionName)
                                                  throws ManifoldCFException
        Signal output connection has been deleted. This is called when the target of an output connection has been removed, therefore all associated documents were also already removed.
        Parameters:
        threadContext - is the thread context.
        connectionName - is the connection name.
        Throws:
        ManifoldCFException
      • qualifyOutputActivityName

        public static java.lang.String qualifyOutputActivityName​(java.lang.String outputActivityName,
                                                                 java.lang.String outputConnectionName)
        Qualify output activity name.
        Parameters:
        outputActivityName - is the name of the output activity.
        outputConnectionName - is the corresponding name of the output connection.
        Returns:
        the qualified (global) activity name.
      • qualifyTransformationActivityName

        public static java.lang.String qualifyTransformationActivityName​(java.lang.String transformationActivityName,
                                                                         java.lang.String transformationConnectionName)
        Qualify transformation activity name.
        Parameters:
        transformationActivityName - is the name of the output activity.
        transformationConnectionName - is the corresponding name of the transformation connection.
        Returns:
        the qualified (global) activity name.
      • findConfigurationNode

        public static ConfigurationNode findConfigurationNode​(Configuration input,
                                                              java.lang.String argumentName)
        Find a configuration node given a name
      • getRootArgument

        public static java.lang.String getRootArgument​(Configuration input,
                                                       java.lang.String argumentName)
        Find a configuration value given a name
      • createServiceInterruptionNode

        public static void createServiceInterruptionNode​(Configuration output,
                                                         ServiceInterruption e)
        Handle a service interruption, by converting it to a serviceinterruption node.