Search in sources :

Example 1 with ROlongSeqPOATie

use of alma.ACS.ROlongSeqPOATie in project ACS by ACS-Community.

the class SeqComponentImpl method initialize.

/**
	 * @see alma.acs.component.ComponentLifecycle#initialize(alma.acs.container.ContainerServices)
	 */
public void initialize(ContainerServices containerServices) throws ComponentLifecycleException {
    super.initialize(containerServices);
    try {
        DataAccess currentDataAccess = new MemoryDataAccess();
        DataAccess currentDataAccess2 = new MemoryDataAccess();
        DataAccess currentDataAccess3 = new MemoryDataAccess();
        ROlongSeqImpl readbackLongSeqImpl = new ROlongSeqImpl("longSeqRO", this, new readbackLongSeqDataAccess());
        ROlongSeqPOATie readbackLongSeqTie = new ROlongSeqPOATie(readbackLongSeqImpl);
        longSeqRO = ROlongSeqHelper.narrow(this.registerProperty(readbackLongSeqImpl, readbackLongSeqTie));
        RWlongSeqImpl readbackLongSeqRWImpl = new RWlongSeqImpl("longSeqRW", this, currentDataAccess2);
        RWlongSeqPOATie readbackLongSeqRWTie = new RWlongSeqPOATie(readbackLongSeqRWImpl);
        longSeqRW = RWlongSeqHelper.narrow(this.registerProperty(readbackLongSeqRWImpl, readbackLongSeqRWTie));
        ROdoubleSeqImpl readbackDoubleSeqImpl = new ROdoubleSeqImpl("doubleSeqRO", this, new readbackDoubleSeqDataAccess());
        ROdoubleSeqPOATie readbackDoubleSeqTie = new ROdoubleSeqPOATie(readbackDoubleSeqImpl);
        doubleSeqRO = ROdoubleSeqHelper.narrow(this.registerProperty(readbackDoubleSeqImpl, readbackDoubleSeqTie));
        RWdoubleSeqImpl readbackDoubleSeqRWImpl = new RWdoubleSeqImpl("doubleSeqRW", this, currentDataAccess);
        RWdoubleSeqPOATie readbackDoubleSeqRWTie = new RWdoubleSeqPOATie(readbackDoubleSeqRWImpl);
        doubleSeqRW = RWdoubleSeqHelper.narrow(this.registerProperty(readbackDoubleSeqRWImpl, readbackDoubleSeqRWTie));
        ROfloatSeqImpl readbackFloatSeqImpl = new ROfloatSeqImpl("floatSeqRO", this, new readbackFloatSeqDataAccess());
        ROfloatSeqPOATie readbackFloatSeqTie = new ROfloatSeqPOATie(readbackFloatSeqImpl);
        floatSeqRO = ROfloatSeqHelper.narrow(this.registerProperty(readbackFloatSeqImpl, readbackFloatSeqTie));
        RWfloatSeqImpl readbackFloatSeqRWImpl = new RWfloatSeqImpl("floatSeqRW", this, currentDataAccess3);
        RWfloatSeqPOATie readbackFloatSeqRWTie = new RWfloatSeqPOATie(readbackFloatSeqRWImpl);
        floatSeqRW = RWfloatSeqHelper.narrow(this.registerProperty(readbackFloatSeqRWImpl, readbackFloatSeqRWTie));
        ROpatternImpl statusImpl = new ROpatternImpl("status", this, new StatusDataAccess());
        ROpatternPOATie statusTie = new ROpatternPOATie(statusImpl);
        status = ROpatternHelper.narrow(this.registerProperty(statusImpl, statusTie));
    } catch (Throwable th) {
        throw new ComponentLifecycleException("Failed to create properties.", th);
    }
}
Also used : RWdoubleSeqPOATie(alma.ACS.RWdoubleSeqPOATie) ROfloatSeqPOATie(alma.ACS.ROfloatSeqPOATie) RWlongSeqPOATie(alma.ACS.RWlongSeqPOATie) ROfloatSeqImpl(alma.ACS.impl.ROfloatSeqImpl) RWdoubleSeqImpl(alma.ACS.impl.RWdoubleSeqImpl) ComponentLifecycleException(alma.acs.component.ComponentLifecycleException) MemoryDataAccess(alma.ACS.jbaci.MemoryDataAccess) ROlongSeqPOATie(alma.ACS.ROlongSeqPOATie) MemoryDataAccess(alma.ACS.jbaci.MemoryDataAccess) DataAccess(alma.ACS.jbaci.DataAccess) ROdoubleSeqImpl(alma.ACS.impl.ROdoubleSeqImpl) RWfloatSeqPOATie(alma.ACS.RWfloatSeqPOATie) ROpatternPOATie(alma.ACS.ROpatternPOATie) RWfloatSeqImpl(alma.ACS.impl.RWfloatSeqImpl) ROpatternImpl(alma.ACS.impl.ROpatternImpl) ROdoubleSeqPOATie(alma.ACS.ROdoubleSeqPOATie) RWlongSeqImpl(alma.ACS.impl.RWlongSeqImpl) ROlongSeqImpl(alma.ACS.impl.ROlongSeqImpl)

Aggregations

ROdoubleSeqPOATie (alma.ACS.ROdoubleSeqPOATie)1 ROfloatSeqPOATie (alma.ACS.ROfloatSeqPOATie)1 ROlongSeqPOATie (alma.ACS.ROlongSeqPOATie)1 ROpatternPOATie (alma.ACS.ROpatternPOATie)1 RWdoubleSeqPOATie (alma.ACS.RWdoubleSeqPOATie)1 RWfloatSeqPOATie (alma.ACS.RWfloatSeqPOATie)1 RWlongSeqPOATie (alma.ACS.RWlongSeqPOATie)1 ROdoubleSeqImpl (alma.ACS.impl.ROdoubleSeqImpl)1 ROfloatSeqImpl (alma.ACS.impl.ROfloatSeqImpl)1 ROlongSeqImpl (alma.ACS.impl.ROlongSeqImpl)1 ROpatternImpl (alma.ACS.impl.ROpatternImpl)1 RWdoubleSeqImpl (alma.ACS.impl.RWdoubleSeqImpl)1 RWfloatSeqImpl (alma.ACS.impl.RWfloatSeqImpl)1 RWlongSeqImpl (alma.ACS.impl.RWlongSeqImpl)1 DataAccess (alma.ACS.jbaci.DataAccess)1 MemoryDataAccess (alma.ACS.jbaci.MemoryDataAccess)1 ComponentLifecycleException (alma.acs.component.ComponentLifecycleException)1