This interface represents a network connection to a WebLogic Server, and also represents a naming context, which consists of methods for obtaining JNDI name-to-object bindings for JMS destinations and connection factories. The destinations and connection factories may be hosted directly on the WebLogic Server itself, or, if the WebLogic Server is part of a cluster, may be hosted on any WebLogic Server within the same cluster. Use a
to create an
IContext instances support concurrent use.
All JMS resources created using a particular context inherit the optional credential used to create the context. This credential can be overridden when creating an
Each name passed as an argument to a
method is relative to that context. The empty name is used to name the context itself. A name parameter may never be null.
All the methods in this interface can throw a
or any of its subclasses.
An IContext instance is guaranteed to be synchronized against concurrent access by multiple threads. Multiple threads each manipulating the same IContext instance need not synchronize. All JMS resources created using the same
instance multiplex over that instance's network connection.
For a list of all members of this type, see IContext Members.
public interface IContext
Assembly: WebLogic.Messaging (in WebLogic.Messaging.dll)
IContext Members | WebLogic.Messaging Namespace | ContextFactory