com.bankframe.ei.channel.client
Class ChannelClientFactory
java.lang.Object
com.bankframe.ei.channel.client.ChannelClientFactory
- public class ChannelClientFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelClientFactory
public ChannelClientFactory()
getChannelClient
public static ChannelClient getChannelClient()
throws ProcessingErrorException
- Invokes getChannelClient(String) using CHANNEL_CLIENT_CLASS_NAME as default value
- Returns:
- A channel manager object
- Throws:
ProcessingErrorException
- if the class cannot be created
getChannelClient
public static ChannelClient getChannelClient(java.lang.String clientName)
throws ProcessingErrorException
- Get an instance of a channel manager described in the properties
file with the key specified in clientName. This factory class has a static variable
called channelTable which the instanciated channelClient is referenced by clientName.
If channel.enforceSingleton is true then this channelClient instance is always returned.
Otherwise createChannelClient(String) is called again to create a new instance everytime getChannelClient(String) is called.
The most recent instance of the channel client created is refered to in the static variable channelTable.
- Returns:
- A channel manager object
- Throws:
ProcessingErrorException
- if the class cannot be created
getClientChannelManagerClassName
public static java.lang.String getClientChannelManagerClassName()
- Get the name of the channel client last created
- Returns:
- The channel manager class name
Copyright © 2004 Siebel Systems, Inc. All rights reserved.