[jboss-as7-dev] Validation of writable attribute with alternatives

Jeff Mesnil jmesnil at redhat.com
Thu Apr 19 08:04:56 EDT 2012


Replying to my own question.

I can subclass AbstractWriteAttributeHandler.applyUpdateToRuntime() to 
verify the attribute alternatives for the resource (e.g. 
HttpManagementWriteAttributeHandler).

The only difference is that this occurs at RUNTIME step, not at VERIFY.
Is it a big difference? (in case of an alternative already defined, I 
flag the context as rollback only anyway).

thanks to tomaz for pointing this out

jeff

-- 
Jeff Mesnil
JBoss, a division of Red Hat
http://jmesnil.net/


More information about the jboss-as7-dev mailing list