User: d_jencks Date: 02/02/21 23:02:53 Modified: src/main/org/jboss/ejb EJBDeployer.java EjbModule.java Log: Fixed compilation problems from previous refactoring. JNDIView list works, but JNDIView list and BeanCacheMonitor do not work: I will fix them shortly Revision Changes Path 1.12 +1 -56 jboss/src/main/org/jboss/ejb/EJBDeployer.java Index: EJBDeployer.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EJBDeployer.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- EJBDeployer.java 22 Feb 2002 04:24:54 -0000 1.11 +++ EJBDeployer.java 22 Feb 2002 07:02:53 -0000 1.12 @@ -65,7 +65,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Peter Antman</a>. * @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a> * @author <a href="mailto:[EMAIL PROTECTED]">Sacha Labourey</a> -* @version $Revision: 1.11 $ +* @version $Revision: 1.12 $ */ public class EJBDeployer extends ServiceMBeanSupport @@ -460,61 +460,6 @@ } // end of try-catch } - /** - * Remove previously deployed EJBs. - * - * @param url - * - * @throws DeploymentException - */ - public void xxxxxxxxxundeploy(DeploymentInfo di) - throws DeploymentException - { - // undeploy(di.url); - } - - public void xxxxxxxxundeploy(URL url ) - throws DeploymentException - { - // Get application from table - //Application app = (Application) deployments.get( url ); - - // Check if deployed - //if( app == null ) - //{ - // throw new DeploymentException( "URL not deployed" ); - //} - - // Undeploy application - //log.info( "Undeploying:" + url ); - //app.stop(); - //app.destroy(); - - - /* - try { - if ( app.getClassLoader() != null ) { - // Remove from webserver - WebServiceMBean webServer = (WebServiceMBean) MBeanProxy.create( WebServiceMBean.class, WebServiceMBean.OBJECT_NAME ); - webServer.removeClassLoader( app.getClassLoader() ); - } - } catch( Exception e ) { - throw new DeploymentException( "Error during undeploy of " + app.getURL().toString(), e ); - } finally { - // Remove JSR-77 Module - if( app.getModuleName() != null ) { - EjbModule.destroy( getServer(), app.getModuleName() ); - } - // Done - if (log.isInfoEnabled()) - log.info( "Undeployed application: " + app.getName() ); - } - - */ - - // Remove deployment - deployments.remove( url ); - } /** * Is the aplication with this url deployed. 1.2 +4 -2 jboss/src/main/org/jboss/ejb/EjbModule.java Index: EjbModule.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EjbModule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- EjbModule.java 22 Feb 2002 04:24:54 -0000 1.1 +++ EjbModule.java 22 Feb 2002 07:02:53 -0000 1.2 @@ -64,7 +64,7 @@ * @see EJBDeployer * * @author <a href="mailto:[EMAIL PROTECTED]">Rickard �berg</a> - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ * * @jmx:mbean extends="org.jboss.system.ServiceMBean" */ @@ -88,7 +88,7 @@ static final String ANY_VALUE = "Both"; /** Class logger. */ - private static final Logger log = Logger.getLogger(Application.class); + private static final Logger log = Logger.getLogger(EjbModule.class); // Constants ----------------------------------------------------- @@ -179,6 +179,7 @@ * * @return a collection of containers for each enterprise bean in this * application unit. + * @jmx:managed-attribute */ public Collection getContainers() { @@ -209,6 +210,7 @@ * Get the name of this Application. * * @return The name of this application. + * @jmx:managed-attribute */ public String getName() {
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
