admin@glassfish.java.net

changing the name of an application

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 20 Mar 2008 14:17:13 -0700

Hong,

I see that Application.java has a setName() method:

     /**
      * Sets the value of the name property.
      *
      * @param value allowed object is
      * {_at_link String }
      */
     public void setName(String value) throws PropertyVetoException;


This has some significant ramifications since <application-ref>
elements refer to it, MBeans use the name, etc.

Is this a mistake, or are we intending to allow dynamic changes to the
name of an application (and WebModule, etc)?

Lloyd


---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc