KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > jndi > browser > action > SelectFactoryAction


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package org.ejtools.jndi.browser.action;
8
9 import java.util.ResourceBundle JavaDoc;
10
11 import org.ejtools.adwt.action.Command;
12 import org.ejtools.adwt.action.CommandAction;
13
14 /**
15  * Custom CommandAction to allow the selection of the default QueueConnectionFactory or the default TopicConnectionFactory.
16  *
17  * @author letiemble
18  * @created 29 décembre 2001
19  * @version $Revision: 1.2 $
20  */

21 public class SelectFactoryAction extends CommandAction
22 {
23     /** Bundle for I18N */
24     private static ResourceBundle JavaDoc resources = ResourceBundle.getBundle("org.ejtools.jndi.browser.Resources");
25
26
27    /**
28     * Build the SelectFactoryAction with the given key
29     *
30     * @param key The I18N key to use
31     * @param command The Command associated with this Action
32     */

33    public SelectFactoryAction(String JavaDoc key, Command command)
34    {
35       super(command, resources, key);
36       this.setMenu("action.options");
37    }
38 }
39
40
Popular Tags