User: mclaugs
Date: 02/03/08 06:44:07
Modified: varia/src/main/org/jboss/mail MailService.java
Log:
removed extra call to org.jboss.management.j2ee.JavaMail.create()
Revision Changes Path
1.5 +1 -2 contrib/varia/src/main/org/jboss/mail/MailService.java
Index: MailService.java
===================================================================
RCS file: /cvsroot/jboss/contrib/varia/src/main/org/jboss/mail/MailService.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MailService.java 6 Mar 2002 01:07:50 -0000 1.4
+++ MailService.java 8 Mar 2002 14:44:05 -0000 1.5
@@ -39,7 +39,7 @@
* MBean that gives support for JavaMail. Object of class javax.mail.Session will
be bound
* in JNDI under java:/ namespace with the name provided with method {@link
#setJNDIName}.
*
- * @version <tt>$Revision: 1.4 $</tt>
+ * @version <tt>$Revision: 1.5 $</tt>
* @author <a href="mailto:[EMAIL PROTECTED]">Simone Bordet</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a>
*/
@@ -96,7 +96,6 @@
protected void createService() throws Exception
{
// Create the JSR77 Managed Object
- mMail = JavaMail.create(getServer(), "MailSession", getServiceName() );
mMail = JavaMail.create(
getServer(),
getJNDIName().startsWith( "java:/" ) ?
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development