admin@glassfish.java.net

Re: Code review: nodeagents -> nodes

From: Joe Di Pol <joe.dipol_at_oracle.com>
Date: Thu, 12 Aug 2010 09:26:54 -0700

Joe Di Pol wrote:
> Does anybody have an existing example of an upgrade task that is being
> run at startup that I can look at to see how it is done?

To answer my own question, I'm looking at

/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/logging/UpgadeLogging.java

I'm considering creating a general "upgrade filesystem" class, that for
now only handles the nodeagents dir rename. Is this a good place to put it:

com.sun.enterprise.admin.servermgmt.UpgradeFilesystem

Joe