This content has been marked as final.
Show 1 reply
-
1. Re: How to enter values for my custom mbean parameters?
genman Aug 8, 2005 6:32 PM (in response to richaosu)Yes and yes.
Create an editor like this and put it in server/default/lib ...public class InternetAddressEditor extends PropertyEditorSupport { /** * Returns the property as a String. */ public String getAsText() { return getValue().toString(); } /** * Sets as a InternetAddress created by a String. */ public void setAsText(String text) { try { setValue(new InternetAddress(text)); } catch (AddressException e) { throw new ChainedRuntimeException(e); } }