Here are my constructers

  |    /**
  |     * Default Constructor
  |     */
  |    public KingpinModule()
  |    {
  |       // setup the module name
  |       this("kingpin", false);
  |    }
  | 
  |    /**
  |     * Constructor which you can set the JNDI name of the class. Using this
  |     * constructor defaults to no persistance.
  |     * @param   name  the JNDI name of this class.
  |     */
  |    public KingpinModule(String name)
  |    {
  |       this(name, false);
  |    }
  | 
  |    /**
  |     * Constructor which you can set persistance of the class.
  |     * @param   persistent  Does this class persist if the server is shutdown.
  |     */
  |    public KingpinModule(boolean persistent)
  |    {
  |       this("kingpin", persistent);
  |    }
  | 
  |    /**
  |     * Constructor which you can set the JNDI name of the class and if it is 
persistant.
  |     * @param   name  the JNDI name of this class.
  |     * @param   persistent  Does this class persist if the server is shutdown.
  |     * @return  The object at the top of this stack.
  |     * @exception  NoSuchElementException  if this stack is empty.
  |     */
  |    public KingpinModule(String name, boolean persistent)
  |    {
  |       // setup the module name
  |       super(name, persistent);
  |       System.out.println("********** persistent = " + persistent);
  |       CLLoader loader = new 
CLLoader("org/jboss/nukes/addons/modules/kingpin/templates");
  |       repository = new TemplateLoader(loader);
  |    }
  | 
  | 

The System.out.println prints out persistent = true.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849199#3849199

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849199


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to