Search in sources :

Example 1 with JCA_PVFactory

use of org.csstudio.vtype.pv.jca.JCA_PVFactory in project org.csstudio.display.builder by kasemir.

the class TestHelper method setup.

public static void setup() {
    PVPool.addPVFactory(new JCA_PVFactory());
    PVPool.addPVFactory(new LocalPVFactory());
    PVPool.addPVFactory(new SimPVFactory());
    PVPool.setDefaultType(LocalPVFactory.TYPE);
    // Logging
    final Level level = Level.FINE;
    Logger logger = Logger.getLogger("");
    logger.setLevel(level);
    for (Handler handler : logger.getHandlers()) handler.setLevel(level);
}
Also used : LocalPVFactory(org.csstudio.vtype.pv.local.LocalPVFactory) JCA_PVFactory(org.csstudio.vtype.pv.jca.JCA_PVFactory) Handler(java.util.logging.Handler) Level(java.util.logging.Level) SimPVFactory(org.csstudio.vtype.pv.sim.SimPVFactory) Logger(java.util.logging.Logger)

Aggregations

Handler (java.util.logging.Handler)1 Level (java.util.logging.Level)1 Logger (java.util.logging.Logger)1 JCA_PVFactory (org.csstudio.vtype.pv.jca.JCA_PVFactory)1 LocalPVFactory (org.csstudio.vtype.pv.local.LocalPVFactory)1 SimPVFactory (org.csstudio.vtype.pv.sim.SimPVFactory)1