Hi all,
I'm stuck as to how to add an attribute to this element. Or, really,
any element. When a 'cluster' element is created during "asadmin
create-cluster <foo>" we'd like to add:
gms-enabled="true"
I've added this to Cluster.java in the config-api module (comments
omitted here):
@Attribute
(defaultValue="true",dataType=Boolean.class,required=true)
String getGmsEnabled();
void setGmsEnabled(String value) throws PropertyVetoException;
But when the element is created in domain.xml, the attribute is
missing. I see the proper default value in the instance object in
Cluster.Decorator, but then it's gone. Can someone tell me what I'm
missing?
(We want this attribute present so a loader service can look for it at
startup to load gms only when needed. Later we'll add the supplemental
command to start gms when a cluster is created.)
Thanks,
Bobby