Hi, I've been working on this and have run into a problem that I hope someone can clear up real quick. I'm trying to get a list of the EJB's deployed within an EAR. I go through DeploymentInfo.subDeployments, and it looks like what I need to do is for each of these sub-deployments, get the DeploymentInfo instance, get the DeploymentInfo.deployedObject, and mess around with it. Being new to the code I have no idea where to look for the EJB's in each subDeployment, but my guess was to do something like
Collection c = (Collection)server.invoke(di.deployedObject, "getContainers", new Object[]{}, new String[]{}); where di is an instance of DeploymentInfo, since the getContainers() method is defined in EjbModuleMBean. However, the method apparently is not available. So my questions are: 1. Is the information on the EJB's actually in the containers collection or should I look somewhere else instead? 2. What method are available to be called on di.deployedObject? How can I find out? Note that di.deployedObject.toString() for the deployedObject in question is the following: "jboss.j2ee:service=EjbModule,url=...etc..." Thanks in advance for any answers! Dani -----Original Message----- From: marc fleury [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 4:48 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-dev] Directory hot-deploy granularity > microwave popcorn -- "Wait until 2 seconds between pops > before removing from the microwave". clear communication is Good, just go ahead guys, marc f ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development