Class PVFactory


  • public class PVFactory
    extends Object
    • Constructor Detail

      • PVFactory

        public PVFactory()
    • Method Detail

      • createPV

        public static PV createPV​(String name,
                                  ConfigService configservice,
                                  int jcaCommandThreadId,
                                  boolean usePVAccess)
        This is the constructor used by the MetaGet's - this is the initial step in adding a PV to the archiver where we determine some facts about the PV for the policies
        Parameters:
        name - The PV name.
        configservice - The config service used by this pv
        jcaCommandThreadId - The JCA Command thread.
        usePVAccess -  
        Returns:
        PV  
      • createPV

        public static PV createPV​(String name,
                                  ConfigService configservice,
                                  boolean isControlPV,
                                  ArchDBRTypes archDBRTypes,
                                  int jcaCommandThreadId,
                                  boolean usePVAccess,
                                  boolean useDBEProperties)
        This is the constructor used by the ArchiveChannel to create the main PV.
        Parameters:
        name - The PV name.
        configservice - The config service used by this pv
        isControlPV -  
        archDBRTypes - ArchDBRTypes
        jcaCommandThreadId - The JCA Command thread.
        usePVAccess - Should we use PVAccess to connect to this PV.
        useDBEProperties -  
        Returns:
        PV