[JBoss-dev] CVS update: jboss/src/main/org/jboss/deployment MainDeployerMBean.java SARDeployerMBean.java

2002-02-12 Thread Jason Dillon

  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  ChangesPath
  1.6   +26 -27jboss/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.java12 Feb 2002 06:59:23 -  1.5
  +++ MainDeployerMBean.java13 Feb 2002 04:22:30 -  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 $
  -*  pb20011223 marc fleury:/b
  -*  ul 
  -*  liadd/RemoveURL, added the capacity to dynamically add a URL to watch
  -*  liadd/Removedeployer, dynamically add a new deployer
  -*  liChanged ObjectName to JBOSs-SYSTEM realm (from EJB realm)
  -*  liRewrite
  -*  /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 $
  + *  pb20011223 marc fleury:/b
  + *  ul 
  + *  liadd/RemoveURL, added the capacity to dynamically add a URL to watch
  + *  liadd/Removedeployer, dynamically add a new deployer
  + *  liChanged ObjectName to JBOSs-SYSTEM realm (from EJB realm)
  + *  liRewrite
  + *  /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 -23jboss/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 -  1.2
  +++ SARDeployerMBean.java 13 Feb 2002 04:22:30 -  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 $
  -*
  -*   pb20010830 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 $
  + *
  + * pb20010830 marc fleury:/b
  + * ul
  + *liinitial import
  + * /ul
  + */
   public interface SARDeployerMBean
  -extends Service, DeployerMBean
  +   extends Service, DeployerMBean
   {
  -   // Public 
  -   
  /** The default object name. */
  -   public static final String 

[JBoss-dev] CVS update: jboss/src/main/org/jboss/deployment MainDeployerMBean.java SARDeployerMBean.java

2002-01-29 Thread David Jencks

  User: d_jencks
  Date: 02/01/29 13:12:23

  Modified:src/main/org/jboss/deployment MainDeployerMBean.java
SARDeployerMBean.java
  Log:
  cleaned up hardcoded object name problems from new deployer work
  
  Revision  ChangesPath
  1.2   +2 -2  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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MainDeployerMBean.java2002/01/20 03:37:44 1.1
  +++ MainDeployerMBean.java2002/01/29 21:12:23 1.2
  @@ -19,7 +19,7 @@
   * @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.1 $
  +* @version $Revision: 1.2 $
   *  pb20011223 marc fleury:/b
   *  ul 
   *  liadd/RemoveURL, added the capacity to dynamically add a URL to watch
  @@ -32,7 +32,7 @@
   extends ServiceMBean
   {
  /** The default object name. */
  -   String OBJECT_NAME = JBOSS-SYSTEM:service=MainDeployer;
  +   String OBJECT_NAME = jboss.system:service=MainDeployer;
  
  
  /** individual URLs for dynamically deploying **/
  
  
  
  1.2   +2 -2  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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SARDeployerMBean.java 2002/01/20 03:38:48 1.1
  +++ SARDeployerMBean.java 2002/01/29 21:12:23 1.2
  @@ -15,7 +15,7 @@
   * @author a href=mailto:[EMAIL PROTECTED];Marc Fleury/a
   * @see org.jboss.system.Service
   *
  -* @version $Revision: 1.1 $
  +* @version $Revision: 1.2 $
   *
   *   pb20010830 marc fleury:/b
   *   ul
  @@ -29,6 +29,6 @@
  // Public 
  
  /** The default object name. */
  -   public static final String OBJECT_NAME = JBOSS-SYSTEM:service=ServiceDeployer;
  +   public static final String OBJECT_NAME = jboss.system:service=ServiceDeployer;
  
   }
  
  
  

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



[JBoss-dev] CVS update: jboss/src/main/org/jboss/deployment MainDeployerMBean.java

2002-01-19 Thread marc fleury

  User: mnf999  
  Date: 02/01/19 19:37:45

  Added:   src/main/org/jboss/deployment MainDeployerMBean.java
  Log:
  Unification of classloaders and deployers the Main deployer is the one with the 
thread and it calls all the others.  The sub-deployers are responsible for registering 
with this main deployer
  
  Revision  ChangesPath
  1.1  jboss/src/main/org/jboss/deployment/MainDeployerMBean.java
  
  Index: MainDeployerMBean.java
  ===
  /*
  * JBoss, the OpenSource J2EE webOS
  *
  * Distributable under LGPL license.
  * See terms of license at gnu.org.
  */
  package org.jboss.deployment;
  
  import java.net.URL;
  import javax.management.ObjectName;
  import org.jboss.system.ServiceMBean;
  
  /**
  * 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.1 $
  *  pb20011223 marc fleury:/b
  *  ul 
  *  liadd/RemoveURL, added the capacity to dynamically add a URL to watch
  *  liadd/Removedeployer, dynamically add a new deployer
  *  liChanged ObjectName to JBOSs-SYSTEM realm (from EJB realm)
  *  liRewrite
  *  /ul
  */
  public interface MainDeployerMBean
  extends ServiceMBean
  {
 /** The default object name. */
 String OBJECT_NAME = JBOSS-SYSTEM:service=MainDeployer;
 
 
 /** individual URLs for dynamically deploying **/
 void deploy(String URL);
 void undeploy(String URL);
 
 void deploy(DeploymentInfo sdi)
 throws DeploymentException;
 
 public void undeploy(DeploymentInfo sdi)
 throws DeploymentException;
 
 
 /** Dynamically add directories to scan **/
 void addDirectory(String url);
 void removeDirectory(String url);
 
 /** Add the capacity to dynamically add a deployer to the list **/
 void addDeployer(DeployerMBean deployer);
 void removeDeployer(DeployerMBean deployer);
 
 /** get all the watched URLs in this deployment **/
 String[] getDeployed();
 
 /** Get set scan-period**/
 void setScan( boolean scan);
 boolean getScan();
 void setPeriod(int period);
 int getPeriod();   
  }
  
  
  
  

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