Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

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

Create a connection factory based on the given ConnectionFactoryInfo and bind it to the given name in the internal JNDI implementation.

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

# Syntax

    public void CreateConnectionFactory(
    	string jndiName,
    	ConnectionFactoryInfo cfi
    )

    Public Sub CreateConnectionFactory ( _
    	jndiName As String, _
    	cfi As ConnectionFactoryInfo _
    )

    public:
    void CreateConnectionFactory(
    	String^ jndiName,
    	ConnectionFactoryInfo^ cfi
    )

#### Parameters

jndiName
  Type: System..::.String
  The JNDI name to which the new factory will be bound.

cfi
  Type: TIBCO.EMS.ADMIN..::.ConnectionFactoryInfo
  The info for the factory to create.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if the JNDI name is not legal.
System..::.ArgumentException | if ConnectionFactoryInfo object is null.
TIBCO.EMS.ADMIN..::.AdminNameExistsException | if the JNDI name is already in use.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace