Package fr.soleil.salsa.client.comete.key

Examples of fr.soleil.salsa.client.comete.key.ActuatorKey


        AbstractDAO<Number> dao = numberDAOCache.lookup(abstractKey);

        if (dao == null) {
            if (abstractKey instanceof ActuatorKey) {
                ActuatorKey actuatorKey = (ActuatorKey) abstractKey;
               
                ActuatorScalarDAO actuatorScalarDAO = new ActuatorScalarDAO(actuatorKey.getActuator());
               
                switch(actuatorKey.getDataMode()) {
                case READ:
                    actuatorScalarDAO.setDataMode(AActuatorDAO.DataMode.READ);
                    break;
                case WRITE:
                    actuatorScalarDAO.setDataMode(AActuatorDAO.DataMode.WRITE);
View Full Code Here


                report = null;
                this.exception = exception;
            }

            factoryClassName = SalsaDAOFactory.class.getName();
            actuatorKRead = new ActuatorKey(actuator, factoryClassName, ActuatorKey.DataMode.READ);
            actuatorKWrite = new ActuatorKey(actuator, factoryClassName, ActuatorKey.DataMode.WRITE);
            actuatorStateKey = new ActuatorStateKey(actuator, factoryClassName);

            // Resume the DAO if they were suspended.
            // Also, it makes the DAO factory initialize them and store them in the cache if this
            // was not done already, lessening the work done on the EDT.
View Full Code Here

                report = null;
                this.exception = exception;
            }

            factoryClassName = SalsaDAOFactory.class.getName();
            actuatorKRead = new ActuatorKey(actuator, factoryClassName,
                    ActuatorKey.DataMode.READ);
            actuatorKWrite = new ActuatorKey(actuator, factoryClassName,
                    ActuatorKey.DataMode.WRITE);
            actuatorStateKey = new ActuatorStateKey(actuator, factoryClassName);

            // Resume the DAO if they were suspended.
            // Also, it makes the DAO factory initialize them and store them in the cache if this
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.client.comete.key.ActuatorKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.