User: user57  
  Date: 02/02/14 16:46:54

  Modified:    src/main/org/jboss/mail MailServiceMBean.java
  Log:
   o Holy changes BatMan... OBJECT_NAME is now an ObjectName everywhere
  
  Revision  Changes    Path
  1.6       +33 -28    jboss/src/main/org/jboss/mail/MailServiceMBean.java
  
  Index: MailServiceMBean.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/mail/MailServiceMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- MailServiceMBean.java     3 Jan 2002 04:00:59 -0000       1.5
  +++ MailServiceMBean.java     15 Feb 2002 00:46:54 -0000      1.6
  @@ -7,40 +7,45 @@
   
   package org.jboss.mail;
   
  +import javax.management.ObjectName;
  +import org.jboss.util.ObjectNameFactory;
  +
   /**
    * MBean interface for the mail service.
    * 
  - * @see
    * @author <a href="mailto:[EMAIL PROTECTED]";>Simone Bordet</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
   public interface MailServiceMBean
  -     extends org.jboss.system.ServiceMBean
  +   extends org.jboss.system.ServiceMBean
   {
  -     // Constants -----------------------------------------------------
  -     public static final String OBJECT_NAME = "jboss:service=Mail";
  +   ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss:service=Mail");
        
  -     // Public --------------------------------------------------------
  -     /**
  -      * User id used to connect to a mail server
  -      * @see #setPassword
  -      */
  -     public void setUser(String user);
  -     /**
  -      * Password used to connect to a mail server
  -      * @see #setUser
  -      */
  -     public void setPassword(String password);
  -     /**
  -      * File name of the configuration mail file used by JavaMail to send mail.
  -      * This file normally reside in the configuration directory of JBoss, and
  -      * contains name-value pairs (such as "mail.transport.protocol = smtp") as
  -      * specified in the JavaMail specification.
  -      */
  -     public void setConfigurationFile(String file);
  -     /**
  -      * The JNDI name under the java:/ namespace to which javax.mail.Session 
objects are
  -      * bound.
  -      */
  -     public void setJNDIName(String name);
  +   /**
  +    * User id used to connect to a mail server
  +    * 
  +    * @see #setPassword
  +    */
  +   void setUser(String user);
  +   
  +   /**
  +    * Password used to connect to a mail server
  +    * 
  +    * @see #setUser
  +    */
  +   void setPassword(String password);
  +   
  +   /**
  +    * File name of the configuration mail file used by JavaMail to send mail.
  +    * This file normally reside in the configuration directory of JBoss, and
  +    * contains name-value pairs (such as "mail.transport.protocol = smtp") as
  +    * specified in the JavaMail specification.
  +    */
  +   void setConfigurationFile(String file);
  +   
  +   /**
  +    * The JNDI name under the java:/ namespace to which javax.mail.Session objects 
are
  +    * bound.
  +    */
  +   void setJNDIName(String name);
   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to