User: fleury
Date: 00/08/17 20:18:26
Modified: src/main/org/jboss/ejb ContainerFactory.java
Log:
Logger
Revision Changes Path
1.32 +7 -5 jboss/src/main/org/jboss/ejb/ContainerFactory.java
Index: ContainerFactory.java
===================================================================
RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/ejb/ContainerFactory.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ContainerFactory.java 2000/08/18 01:48:13 1.31
+++ ContainerFactory.java 2000/08/18 03:18:25 1.32
@@ -61,8 +61,10 @@
import org.jboss.metadata.ConfigurationMetaData;
import org.jboss.metadata.XmlLoadable;
import org.jboss.metadata.XmlFileLoader;
+import org.jboss.logging.Logger;
+
/**
* A ContainerFactory is used to deploy EJB applications. It can be given a URL to
* an EJB-jar or EJB-JAR XML file, which will be used to instantiate containers and
make
@@ -74,7 +76,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
*
-* @version $Revision: 1.31 $
+* @version $Revision: 1.32 $
*/
public class ContainerFactory
extends org.jboss.util.ServiceMBeanSupport
@@ -324,18 +326,18 @@
{
public void beanChecked(VerificationEvent event)
{
- Log.getLog().log(event.getMessage());
+ Logger.log(event.getMessage());
}
});
- Log.getLog().log("Verifying " + url);
+ Logger.log("Verifying " + url);
verifier.verify(url, metaData);
}
}
catch (Throwable t) {
- Log.getLog().exception(t);
+ //DEBUG Logger.exception(t);
}
// unset verifier log
@@ -555,7 +557,7 @@
deployments.put(origUrl, app);
} catch (Throwable e)
{
- e.printStackTrace();
+ // DEBUG Logger.exception(e);
app.stop();
app.destroy();