A vendor-defined factory class will expose methods that allow the programmer to set the connection parameters.
供应商定义的工厂类将提供方法以允许程序员设置连接参数。
In the case of connection factories, the factory class can return a connection that has been pre-loaded with the proprietary connection information.
就连接工厂而言,工厂类可以返回一个已预先装入专有连接信息的连接。
For example, take the case of a simple application that USES a WebSphere MQ messaging provider connection factory configured to use the LoggingChannelExit class as a send exit.
例如,使用配置为使用loggingchannelexit类作为发送出口的WebSphereMQ消息提供程序连接工厂时要谨慎。
As you can see, the ConnectionFactoryInfo class that we create is based on the value of the jndiName of the connection factory and the list of connection properties.
如您看到的,我们创建的connectionfactoryinfo类基于连接工厂的jndiname值,和一列连接属性。
The factory class keeps a static map of the threads that have been connected and can either return the existing connection handle, or create and store the connection handle when called by a thread.
工厂类保留已连接的线程的静态映射,可以在线程进行调用时返回现有连接句柄,或创建并存储连接句柄。
The factory class keeps a static map of the threads that have been connected and can either return the existing connection handle, or create and store the connection handle when called by a thread.
工厂类保留已连接的线程的静态映射,可以在线程进行调用时返回现有连接句柄,或创建并存储连接句柄。
应用推荐