org.epics.pvmanager.jca
Class JCASupport
java.lang.Object
org.epics.pvmanager.jca.JCASupport
public class JCASupport
- extends java.lang.Object
Adds support for CA types as defined in JCA.
- Author:
- carcassi
Method Summary |
static
|
epicsPv(java.lang.String name,
java.lang.Class<T> epicsType)
Returns an expression for an epics PV of a particular type. |
static
|
epicsPvs(java.util.List<java.lang.String> names,
java.lang.Class<T> epicsType)
Returns an expression of a list of epics PVs of a particular type. |
static DataSource |
jca()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCASupport
public JCASupport()
jca
public static DataSource jca()
epicsPv
public static <T extends gov.aps.jca.dbr.DBR> SourceRateExpression<T> epicsPv(java.lang.String name,
java.lang.Class<T> epicsType)
- Returns an expression for an epics PV of a particular type.
- Type Parameters:
T
- the type of the PV- Parameters:
name
- the name of the PVepicsType
- the type of the PV
- Returns:
- an expression representing the pv
epicsPvs
public static <T extends gov.aps.jca.dbr.DBR> java.util.List<SourceRateExpression<T>> epicsPvs(java.util.List<java.lang.String> names,
java.lang.Class<T> epicsType)
- Returns an expression of a list of epics PVs of a particular type.
- Type Parameters:
T
- the type of the PVs- Parameters:
names
- the names of the PVsepicsType
- the type of the PVs
- Returns:
- a list of expressions representing the pvs
Copyright © 2010. All Rights Reserved.