org.apache.jmeter.protocol.jms.client
Class InitialContextFactory
public class InitialContextFactory
InitialContextFactory is responsible for getting and instance of the initial
context. It is also responsible for looking up JMS topics and queues.
static void | close() - clear all the InitialContext objects.
|
static Context | lookupContext(String jndi, String url, boolean useAuth, String user, String pwd)
|
static Topic | lookupTopic(Context ctx, String name) - Method will lookup a given topic using JNDI.
|
close
public static void close()
clear all the InitialContext objects.
lookupContext
public static Context lookupContext(String jndi,
String url,
boolean useAuth,
String user,
String pwd)
lookupTopic
public static Topic lookupTopic(Context ctx,
String name)
Method will lookup a given topic using JNDI.
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.