>
>
>So you want to have an interface floating around even it is only used for
>this MBeanProxy ?
>

In short yes.  I would rather have calls like

serviceController.create(objectName);

over

server.invoke(controllerName,
                     new Object[] { objectName },
                     new String[] { ObjectName.class.getName() });

It is easier to read/maintain, provides some level of type safety... 
simplifies the client code.

--jason


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to