User: user57  
  Date: 02/02/12 20:22:30

  Modified:    src/main/org/jboss/deployment MainDeployerMBean.java
                        SARDeployerMBean.java
  Log:
   o renamed SafeObjectNameFactory -> ObjectNameFactory
   o updated existing users of SafeObjectNameFactory to use new name
   o converted a few more
  
  Revision  Changes    Path
  1.6       +26 -27    jboss/src/main/org/jboss/deployment/MainDeployerMBean.java
  
  Index: MainDeployerMBean.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/deployment/MainDeployerMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- MainDeployerMBean.java    12 Feb 2002 06:59:23 -0000      1.5
  +++ MainDeployerMBean.java    13 Feb 2002 04:22:30 -0000      1.6
  @@ -1,9 +1,10 @@
   /*
  -* JBoss, the OpenSource J2EE webOS
  -*
  -* Distributable under LGPL license.
  -* See terms of license at gnu.org.
  -*/
  + * JBoss, the OpenSource J2EE webOS
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
  + */
  +
   package org.jboss.deployment;
   
   import java.net.URL;
  @@ -14,34 +15,32 @@
   import javax.management.ObjectName;
   
   import org.jboss.system.ServiceMBean;
  -import org.jboss.util.SafeObjectNameFactory;
  +import org.jboss.util.ObjectNameFactory;
   
   /**
  -* This is the interface of the AutoDeployer that is exposed for
  -* administration
  -*      
  -* @see AutoDeployer
  -* 
  -* @author <a href="mailto:[EMAIL PROTECTED]";>Rickard �berg</a>
  -* @author <a href="mailto:[EMAIL PROTECTED]";>Toby Allsopp</a>
  -* @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  -* @version $Revision: 1.5 $
  -*      <p><b>20011223 marc fleury:</b>
  -*      <ul> 
  -*      <li>add/RemoveURL, added the capacity to dynamically add a URL to watch
  -*      <li>add/Removedeployer, dynamically add a new deployer
  -*      <li>Changed ObjectName to JBOSs-SYSTEM realm (from EJB realm)
  -*      <li>Rewrite
  -*      </ul>
  -*/
  + * This is the interface of the AutoDeployer that is exposed for
  + * administration
  + *      
  + * @see AutoDeployer
  + * 
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Rickard �berg</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Toby Allsopp</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  + * @version $Revision: 1.6 $
  + *      <p><b>20011223 marc fleury:</b>
  + *      <ul> 
  + *      <li>add/RemoveURL, added the capacity to dynamically add a URL to watch
  + *      <li>add/Removedeployer, dynamically add a new deployer
  + *      <li>Changed ObjectName to JBOSs-SYSTEM realm (from EJB realm)
  + *      <li>Rewrite
  + *      </ul>
  + */
   public interface MainDeployerMBean
      extends ServiceMBean
   {
      /** The default object name. */
  -   ObjectName OBJECT_NAME = SafeObjectNameFactory.create("jboss.system",
  -                                                     "service", 
  -                                                     "MainDeployer");
  -   
  +   ObjectName OBJECT_NAME =
  +      ObjectNameFactory.create("jboss.system", "service", "MainDeployer");
      
      /** individual URLs for dynamically deploying **/
      void deploy(String URL);
  
  
  
  1.3       +24 -23    jboss/src/main/org/jboss/deployment/SARDeployerMBean.java
  
  Index: SARDeployerMBean.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/deployment/SARDeployerMBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SARDeployerMBean.java     29 Jan 2002 21:12:23 -0000      1.2
  +++ SARDeployerMBean.java     13 Feb 2002 04:22:30 -0000      1.3
  @@ -1,34 +1,35 @@
   /*
  -* JBoss, the OpenSource J2EE server
  -*
  -* Distributable under LGPL license.
  -* See terms of license at gnu.org.
  -*/
  + * JBoss, the OpenSource J2EE server
  + *
  + * Distributable under LGPL license.
  + * See terms of license at gnu.org.
  + */
  +
   package org.jboss.deployment;
   
  +import javax.management.ObjectName;
   
  +import org.jboss.util.ObjectNameFactory;
   
   import org.jboss.system.Service;
  +
   /** 
  -* This is the main Service Deployer API.
  -*   
  -* @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  -* @see org.jboss.system.Service
  -*
  -* @version $Revision: 1.2 $
  -*
  -*   <p><b>20010830 marc fleury:</b>
  -*   <ul>
  -*      initial import
  -*   <li> 
  -*   </ul>
  -*/
  + * This is the main Service Deployer API.
  + *   
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  + * @see org.jboss.system.Service
  + *
  + * @version $Revision: 1.3 $
  + *
  + * <p><b>20010830 marc fleury:</b>
  + * <ul>
  + *    <li>initial import
  + * </ul>
  + */
   public interface SARDeployerMBean
  -extends Service, DeployerMBean
  +   extends Service, DeployerMBean
   {
  -   // Public --------------------------------------------------------
  -   
      /** The default object name. */
  -   public static final String OBJECT_NAME = "jboss.system:service=ServiceDeployer";
  -   
  +   ObjectName OBJECT_NAME =
  +      ObjectNameFactory.create("jboss.system", "service", "ServiceDeployer");
   }
  
  
  

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

Reply via email to