Director of Support
Back Office
JBoss Group, LLC
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric Jain
> Sent: 20 June 2003 17:06
> To: jboss-user
> Subject: [JBoss-user] Setting XMBean attributes
AM
Subject: [JBoss-user] Setting XMBean attributes to read-only at run time
> What's wrong with the following code? It runs, but without any effect.
>
> /**
>* @jmx.managed-operation
>* impact="ACTION"
>*/
>
> public void setReadOnly()
&
What's wrong with the following code? It runs, but without any effect.
/**
* @jmx.managed-operation
* impact="ACTION"
*/
public void setReadOnly()
throws Exception
{
ModelMBeanInfo info = (ModelMbeanInfo) server.getMBeanInfo(name);
// Direct invocation of getModelM