Collapse All Expand All

.NET Framework Class Library
Members See Also

[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Administered object for creating server connections.

Namespace: TIBCO.EMS.UFO
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

# Syntax

    [SerializableAttribute]
    public class ConnectionFactory : CFImpl

    <SerializableAttribute> _
    Public Class ConnectionFactory _
    	Inherits CFImpl

    [SerializableAttribute]
    public ref class ConnectionFactory : public CFImpl

# Remarks

Connection factories are administered objects. They support concurrent use.

Administrators define connection factories in a repository. Each connection factory has administrative parameters that guide the creation of server connections. Usage follows either of two models:

EMS Server

You can use the EMS server as a name service provider, one tibemsd process provides both the name repository and the message service. Administrators define factories in the name repository. Client programs create connection factory objects with the URL of the repository, and call the CreateConnection()()() method. This method automatically accesses the corresponding factory in the repository, and uses it to create a connection to the message service.

Separate JNDI Repository

Administrators define factories in a JNDI repository. Client programs call TIBCO.EMS.LookupContext.Lookup to retrieve factories and use them to create connections to the server.

Administered Objects

Administered objects let administrators configure EMS behavior at the enterprise level. Administrators define these objects, and client programs use them. This arrangement relieves program developers and end users of the responsibility for correct configuration.

# Inheritance Hierarchy

System..::.Object
TIBCO.EMS.UFO..::.CFImpl
TIBCO.EMS.UFO..::.ConnectionFactory
TIBCO.EMS.UFO..::.QueueConnectionFactory
TIBCO.EMS.UFO..::.TopicConnectionFactory

# See Also

ConnectionFactory Members
TIBCO.EMS.UFO Namespace