Class AgentManagerFactory


  • public class AgentManagerFactory
    extends java.lang.Object
    Agent manager factory class.
    • Method Detail

      • isOutputConnectionInUse

        public static boolean isOutputConnectionInUse​(IThreadContext threadContext,
                                                      java.lang.String connName)
                                               throws ManifoldCFException
        Request permission from all registered agents to delete an output connection.
        Parameters:
        threadContext - is the thread context.
        connName - is the name of the output connection.
        Returns:
        true if the connection is in use, false otherwise.
        Throws:
        ManifoldCFException
      • noteOutputConnectorDeregistration

        public static void noteOutputConnectorDeregistration​(IThreadContext threadContext,
                                                             java.lang.String[] connectionNames)
                                                      throws ManifoldCFException
        Note to all registered agents the deregistration of an output connector used by the specified connections. This method will be called when the connector is deregistered.
        Parameters:
        threadContext - is the thread context.
        connectionNames - is the set of connection names.
        Throws:
        ManifoldCFException
      • noteOutputConnectorRegistration

        public static void noteOutputConnectorRegistration​(IThreadContext threadContext,
                                                           java.lang.String[] connectionNames)
                                                    throws ManifoldCFException
        Note to all registered agents the registration of an output connector used by the specified connections. This method will be called when a connector is registered, on which the specified connections depend.
        Parameters:
        threadContext - is the thread context.
        connectionNames - is the set of connection names.
        Throws:
        ManifoldCFException
      • noteOutputConnectionChange

        public static void noteOutputConnectionChange​(IThreadContext threadContext,
                                                      java.lang.String connectionName)
                                               throws ManifoldCFException
        Note to all registered agents the change of configuration of an output connection. This method will be called when the connection's xml is modified.
        Parameters:
        threadContext - is the thread context.
        connectionName - is the connection name.
        Throws:
        ManifoldCFException
      • isTransformationConnectionInUse

        public static boolean isTransformationConnectionInUse​(IThreadContext threadContext,
                                                              java.lang.String connName)
                                                       throws ManifoldCFException
        Request permission from all registered agents to delete a transformation connection.
        Parameters:
        threadContext - is the thread context.
        connName - is the name of the output connection.
        Returns:
        true if the connection is in use, false otherwise.
        Throws:
        ManifoldCFException
      • noteTransformationConnectorDeregistration

        public static void noteTransformationConnectorDeregistration​(IThreadContext threadContext,
                                                                     java.lang.String[] connectionNames)
                                                              throws ManifoldCFException
        Note to all registered agents the deregistration of a transformation connector used by the specified connections. This method will be called when the connector is deregistered.
        Parameters:
        threadContext - is the thread context.
        connectionNames - is the set of connection names.
        Throws:
        ManifoldCFException
      • noteTransformationConnectorRegistration

        public static void noteTransformationConnectorRegistration​(IThreadContext threadContext,
                                                                   java.lang.String[] connectionNames)
                                                            throws ManifoldCFException
        Note to all registered agents the registration of a transformation connector used by the specified connections. This method will be called when a connector is registered, on which the specified connections depend.
        Parameters:
        threadContext - is the thread context.
        connectionNames - is the set of connection names.
        Throws:
        ManifoldCFException
      • noteTransformationConnectionChange

        public static void noteTransformationConnectionChange​(IThreadContext threadContext,
                                                              java.lang.String connectionName)
                                                       throws ManifoldCFException
        Note to all registered agents the change of configuration of a transformation connection. This method will be called when the connection's xml is modified.
        Parameters:
        threadContext - is the thread context.
        connectionName - is the connection name.
        Throws:
        ManifoldCFException
      • instantiateAllAgents

        public static IAgent[] instantiateAllAgents​(IThreadContext threadContext)
                                             throws ManifoldCFException
        Instantiate the complete set of IAgent objects.
        Parameters:
        threadContext - is the thread context.
        Returns:
        the array of such objects.
        Throws:
        ManifoldCFException