WebLogic Messaging API Class Library |

# IContext.LookupConnectionFactory Method

Retrieves the named JMS connection factory from WebLogic Server JNDI.

IConnectionFactory LookupConnectionFactory(
String name
);

#### Parameters

String
  the name of the connection factory to look up

#### Return Value

the connection factory bound to `name`

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if a naming exception is encountered

#### See Also

IContext Interface | WebLogic.Messaging Namespace