dev@glassfish.java.net

Re: Query on upgrade

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Tue, 7 Sep 2010 12:50:11 -0400

> I need to make changes in load-balancer code to handle upgrade. In GF 2.1.1, load-balancer element used to have an attribute auto-apply-enabled. However this attribute is removed in GF 3.1. How can I access that attribute during upgrade?
>
> I inject domain and then get access to load-balancer elements. However in retrieved load-balancer element, auto-apply-enabled does not exist at all. I need to access that attribute and log some messages. Please help me with that.

It looks like you may need to add it to com.sun.enterprise.config.serverbeans.LoadBalancer in the admin/config-api module. There are other attribute getters in there already in case you need examples.

Cheers,
Bobby