1
2
3
4
5 package org.epics.pvmanager.jca;
6
7 import gov.aps.jca.Channel;
8 import org.epics.pvmanager.DataSourceTypeSupport;
9 import org.epics.pvmanager.ValueCache;
10
11
12
13
14
15
16
17
18 public class JCATypeSupport extends DataSourceTypeSupport {
19
20 private final JCATypeAdapterSet adapters;
21
22
23
24
25
26
27 public JCATypeSupport(JCATypeAdapterSet adapters) {
28 this.adapters = adapters;
29 }
30
31
32
33
34
35
36
37
38
39 protected JCATypeAdapter find(ValueCache<?> cache, JCAConnectionPayload channel) {
40 return find(adapters.getAdapters(), cache, channel);
41 }
42
43 }