gov.sns.jca
Class JcaChannelFactory

java.lang.Object
  |
  +--gov.sns.ca.ChannelFactory
        |
        +--gov.sns.jca.JcaChannelFactory

public class JcaChannelFactory
extends ChannelFactory

Concrete implementation of ChannelFactory that uses JCA.


Field Summary
protected  JcaSystem _jcaSystem
          JCA channel system
 
Fields inherited from class gov.sns.ca.ChannelFactory
channelMap, defaultFactory
 
Constructor Summary
JcaChannelFactory()
          JcaChannelFactory constructor
 
Method Summary
protected  ChannelSystem channelSystem()
          JcaSystem handles static behavior of Jca channels
 boolean init()
          Initialize the channel system
protected  Channel newChannel(java.lang.String signalName)
          Create a JCA channel for the specified PV
 
Methods inherited from class gov.sns.ca.ChannelFactory
defaultFactory, getChannel, getChannel, newChannel, newFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_jcaSystem

protected JcaSystem _jcaSystem
JCA channel system

Constructor Detail

JcaChannelFactory

public JcaChannelFactory()
JcaChannelFactory constructor

Method Detail

init

public boolean init()
Initialize the channel system

Specified by:
init in class ChannelFactory
Returns:
true if the initialization was successful and false if not

newChannel

protected Channel newChannel(java.lang.String signalName)
Create a JCA channel for the specified PV

Specified by:
newChannel in class ChannelFactory
Parameters:
signalName - The name of the PV signal
Returns:
a new channel for the specified signal name

channelSystem

protected ChannelSystem channelSystem()
JcaSystem handles static behavior of Jca channels

Specified by:
channelSystem in class ChannelFactory
Returns:
the JCA channel system