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

  Modified:    src/main/org/jboss/ejb EJBDeployer.java
                        EJBDeployerMBean.java
  Log:
   o Holy changes BatMan... OBJECT_NAME is now an ObjectName everywhere
  
  Revision  Changes    Path
  1.7       +2 -2      jboss/src/main/org/jboss/ejb/EJBDeployer.java
  
  Index: EJBDeployer.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EJBDeployer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EJBDeployer.java  13 Feb 2002 06:00:37 -0000      1.6
  +++ EJBDeployer.java  15 Feb 2002 00:46:53 -0000      1.7
  @@ -74,7 +74,7 @@
   * @author <a href="mailto:[EMAIL PROTECTED]";>Peter Antman</a>.
   * @author <a href="mailto:[EMAIL PROTECTED]";>Scott Stark</a>
   * @author <a href="mailto:[EMAIL PROTECTED]";>Sacha Labourey</a>
  -* @version $Revision: 1.6 $ 
  +* @version $Revision: 1.7 $ 
   */
   public class EJBDeployer
   extends ServiceMBeanSupport
  @@ -143,7 +143,7 @@
      public ObjectName getObjectName( MBeanServer server, ObjectName name )
      throws MalformedObjectNameException
      {
  -      return new ObjectName( OBJECT_NAME );
  +      return OBJECT_NAME;
      }
      
      /**
  
  
  
  1.3       +72 -69    jboss/src/main/org/jboss/ejb/EJBDeployerMBean.java
  
  Index: EJBDeployerMBean.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EJBDeployerMBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EJBDeployerMBean.java     29 Jan 2002 21:12:23 -0000      1.2
  +++ EJBDeployerMBean.java     15 Feb 2002 00:46:53 -0000      1.3
  @@ -1,119 +1,122 @@
   /*
  -* 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.ejb;
   
   import java.util.Iterator;
   import java.net.MalformedURLException;
   
  +import javax.management.ObjectName;
  +import org.jboss.util.ObjectNameFactory;
  +
   import org.jboss.deployment.DeployerMBean;
   import org.jboss.deployment.DeploymentException;
   import org.jboss.system.ServiceMBean;
   
   /**
  -* This is the interface of the EJBDeployer that is exposed
  -* for administration.
  -*
  -* @see EJBDeployer
  -* 
  -* @author <a href="mailto:[EMAIL PROTECTED]";>Rickard �berg</a>
  -* @author <a href="mailto:[EMAIL PROTECTED]";>Juha Lindfors</a>
  -* @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  -* @version $Revision: 1.2 $
  -*      <p><b>20011227 marc fleury:</b>
  -*      <ul>
  -*      <li>Deployer and ClassLoader unification extends DeployerMBean
  -*      </ul>
  -*/
  + * This is the interface of the EJBDeployer that is exposed
  + * for administration.
  + *
  + * @see EJBDeployer
  + * 
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Rickard �berg</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Juha Lindfors</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  + * @version $Revision: 1.3 $
  + * 
  + * <p><b>20011227 marc fleury:</b>
  + * <ul>
  + *    <li>Deployer and ClassLoader unification extends DeployerMBean
  + * </ul>
  + */
   public interface EJBDeployerMBean
  -extends DeployerMBean
  +   extends DeployerMBean
   {
      /** The default object name. */
  -   String OBJECT_NAME = "jboss.ejb:service=EJBDeployer";
  +   ObjectName OBJECT_NAME = 
ObjectNameFactory.create("jboss.ejb:service=EJBDeployer");
      
      /**
  -   * Returns the applications deployed by the container factory
  -   */
  +    * Returns the applications deployed by the container factory
  +    */
      Iterator getDeployedApplications();
      
  -   
  -   
      /**
  -   * Enable/disable bean verification upon deployment.
  -   *
  -   * @param verify    true to enable the verifier; false to disable
  -   */
  +    * Enable/disable bean verification upon deployment.
  +    *
  +    * @param verify    true to enable the verifier; false to disable
  +    */
      void setVerifyDeployments(boolean verify);
      
      /**
  -   * Returns the state of the verifier (enabled/disabled)
  -   *
  -   * @return   true if verifier is enabled; false otherwise
  -   */
  +    * Returns the state of the verifier (enabled/disabled)
  +    *
  +    * @return   true if verifier is enabled; false otherwise
  +    */
      boolean getVerifyDeployments();
      
      /**
  -   * Enable/disable bean verifier verbose mode.
  -   *
  -   * @param verbose    true to enable verbose mode; false to disable
  -   */
  +    * Enable/disable bean verifier verbose mode.
  +    *
  +    * @param verbose    true to enable verbose mode; false to disable
  +    */
      void setVerifierVerbose(boolean verbose);
      
      /**
  -   * Returns the state of the verifier (verbose/non-verbose mode).
  -   *
  -   * @return  true if the verbose mode is enabled; false otherwise
  -   */
  +    * Returns the state of the verifier (verbose/non-verbose mode).
  +    *
  +    * @return  true if the verbose mode is enabled; false otherwise
  +    */
      boolean getVerifierVerbose();
      
      /**
  -   * Enables/disables the metrics interceptor for containers.
  -   *
  -   * @param enable    true to enable; false to disable
  -   */
  +    * Enables/disables the metrics interceptor for containers.
  +    *
  +    * @param enable    true to enable; false to disable
  +    */
      void setMetricsEnabled(boolean enable);
      
      /**
  -   * Checks if this container factory initializes the metrics interceptor.
  -   *
  -   * @return   true if metrics are enabled; false otherwise
  -   */
  +    * Checks if this container factory initializes the metrics interceptor.
  +    *
  +    * @return   true if metrics are enabled; false otherwise
  +    */
      boolean isMetricsEnabled();
      
      /**
  -   * Is the aplication with this url deployed.
  -   *
  -   * @param url
  -   * 
  -   * @throws MalformedURLException
  -   */
  +    * Is the aplication with this url deployed.
  +    *
  +    * @param url
  +    * 
  +    * @throws MalformedURLException
  +    */
      boolean isDeployed(String url) throws MalformedURLException;
      
      /**
  -   * Set the JMS monitoring of the bean cache.
  -   */
  +    * Set the JMS monitoring of the bean cache.
  +    */
      void setBeanCacheJMSMonitoringEnabled(boolean enable);
      
      /**
  -   * Get the flag indicating that ejb-jar.dtd, jboss.dtd &
  -   * jboss-web.dtd conforming documents should be validated
  -   * against the DTD.
  -   */
  +    * Get the flag indicating that ejb-jar.dtd, jboss.dtd &
  +    * jboss-web.dtd conforming documents should be validated
  +    * against the DTD.
  +    */
      boolean getValidateDTDs();
      
      /**
  -   * Set the flag indicating that ejb-jar.dtd, jboss.dtd &
  -   * jboss-web.dtd conforming documents should be validated
  -   * against the DTD.
  -   */
  +    * Set the flag indicating that ejb-jar.dtd, jboss.dtd &
  +    * jboss-web.dtd conforming documents should be validated
  +    * against the DTD.
  +    */
      void setValidateDTDs(boolean validate);
   }
   
   /* Change log.
  -* 
  -* Author: starksm, Date: Thu Jun 14 17:14:14  2001 GMT
  -* Added getValidateDTDs/setValidateDTDs methods.
  -*/
  + * 
  + * Author: starksm, Date: Thu Jun 14 17:14:14  2001 GMT
  + * Added getValidateDTDs/setValidateDTDs methods.
  + */
  
  
  

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

Reply via email to