with RMI and the MainDeplyoer I deploy a war file in jboss:
RMIAdaptor server = (RMIAdaptor)jndiContext.lookup("jmx/rmi/RMIAdaptor");
javax.management.ObjectName name = new javax.management.ObjectName("jboss.system:service=MainDeployer");
server.invoke(name,"deploy",new Object[]{deployurl},new String[]{java.lang.String});
However, I need to run this war fiel with my own custom deployer. Does anyone know how to do that?
Well, it was a bit late when I wrote my posting yesterday.
What I actually mean is, I need to run this war file with my own custom CLASSLOADER.