Scott,
Why can't we have
| Object[] args = //URL
| String[] sig = //void
| server.invoke(mainDeloyer,"deploy",args,sig);
|
instead of this
| MainDeployerMBean md = (MainDeployerMBean)
| MBeanProxyExt.create(MainDeployerMBean.class, mainDeployer, server);
| try
| {
| md.deploy(config.getServerConfigURL() + config.getRootDeploymentFilename());
| }
| catch (IncompleteDeploymentException e) {
| log.error("Root deployment has missing dependencies; continuing", e);
| }
|
This is what I am trying to say , as the code becomes more understandable .
Regards
Vicky
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954613#3954613
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954613
|