WebLogic Messaging API Class Library

IContext Members

IContext overview

Public Instance Methods

Close Closes this context but does not close other resources related to this context. This method releases this context's resources immediately, instead of waiting for them to be released automatically by the garbage collector. This method is idempotent: invoking it on a context that has already been closed has no effect. Invoking any other method on a closed context is not allowed, and results in undefined behaviour.
CloseAll Closes this context and all JMS connections created within this context as well. This method releases this context's and all connection's resources immediately, instead of waiting for them to be released automatically by the garbage collector. This method is idempotent: invoking it on a context that has already been closed has no effect. Invoking any other method on a closed context is not allowed, and results in undefined behaviour.
LookupConnectionFactory Retrieves the named JMS connection factory.
LookupDestination Retrieves the named JMS destination, which will either be an IQueue or an ITopic.

See Also

IContext Interface | WebLogic.Messaging Namespace | ContextFactory