User: user57  
  Date: 01/07/12 18:00:20

  Modified:    src/main/org/jboss/ejb ContainerFactoryMBean.java
  Log:
   o re-ident & cleaned up javadoc
  
  Revision  Changes    Path
  1.14      +82 -71    jboss/src/main/org/jboss/ejb/ContainerFactoryMBean.java
  
  Index: ContainerFactoryMBean.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/ContainerFactoryMBean.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ContainerFactoryMBean.java        2001/06/18 20:01:21     1.13
  +++ ContainerFactoryMBean.java        2001/07/13 01:00:19     1.14
  @@ -6,132 +6,143 @@
    */
   package org.jboss.ejb;
   
  +import java.util.Iterator;
   import java.net.MalformedURLException;
   
  +import org.jboss.util.ServiceMBean;
  +
   /**
  - *   This is the interface of the ContainerFactory that is exposed for 
administration
  - *
  - *   @see ContainerFactory
  - *   @author <a href="mailto:[EMAIL PROTECTED]";>Rickard Öberg</a>
  - *   @author <a href="mailto:[EMAIL PROTECTED]";>Juha Lindfors</a>
  + * This is the interface of the ContainerFactory that is exposed
  + * for administration.
    *
  - *   @version $Revision: 1.13 $
  + * @see ContainerFactory
  + * 
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Rickard Öberg</a>
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Juha Lindfors</a>
  + * @version $Revision: 1.14 $
    */
   public interface ContainerFactoryMBean
  -     extends org.jboss.util.ServiceMBean
  +   extends ServiceMBean
   {
  -   // Constants -----------------------------------------------------
  -   public static String OBJECT_NAME = ":service=ContainerFactory";
  -
  -   // Public --------------------------------------------------------
  +   /** The default object name. */
  +   String OBJECT_NAME = ":service=ContainerFactory";
   
      /**
       * Returns the applications deployed by the container factory
       */
  -   public java.util.Iterator getDeployedApplications();
  +   Iterator getDeployedApplications();
  +   
      /**
  -      *      Deploy an application
  -      *
  -      * @param   url URL to the directory with the given EJBs to be deployed
  -    * @param   appId Id of the application this EJBs belongs to
  -    *                used for management
  -      * @exception   MalformedURLException
  -      * @exception   DeploymentException
  -      */
  -   public void deploy(String url, String appId )
  +    * Deploy an application
  +    *
  +    * @param url      URL to the directory with the given EJBs to be deployed
  +    * @param appId    Id of the application this EJBs belongs to
  +    *                 used for management
  +    *                 
  +    * @throws MalformedURLException
  +    * @throws DeploymentException
  +    */
  +   void deploy(String url, String appId )
         throws MalformedURLException, DeploymentException;
   
      /**
  -      *      Deploy an application
  -      *
  -    * @param   appUrl Url to the application itself
  -    * @param   jarUrls Array of URLs to the JAR files containing the EJBs
  -    * @param   appId Id of the application this EJBs belongs to
  -    *                used for management
  -      * @exception   MalformedURLException
  -      * @exception   DeploymentException
  -      */
  -   public void deploy( String appUurl, String[] jarUrls, String appId )
  +    * Deploy an application
  +    *
  +    * @param appUrl     Url to the application itself
  +    * @param jarUrls    Array of URLs to the JAR files containing the EJBs
  +    * @param appId      Id of the application this EJBs belongs to
  +    *                   used for management
  +    *                   
  +    * @throws MalformedURLException
  +    * @throws DeploymentException
  +    */
  +   void deploy( String appUurl, String[] jarUrls, String appId )
         throws MalformedURLException, DeploymentException;
   
  -     /**
  -      *      Undeploy an application
  -      *
  -      * @param   url
  -      * @exception   MalformedURLException
  -      * @exception   DeploymentException
  -      */
  -   public void undeploy(String url)
  +   /**
  +    * Undeploy an application
  +    *
  +    * @param url
  +    * 
  +    * @throws MalformedURLException
  +    * @throws DeploymentException
  +    */
  +   void undeploy(String url)
         throws MalformedURLException, DeploymentException;
   
      /**
       * Enable/disable bean verification upon deployment.
       *
  -    * @param    verify  true to enable the verifier; false to disable
  +    * @param verify    true to enable the verifier; false to disable
       */
  -   public void setVerifyDeployments(boolean verify);
  +   void setVerifyDeployments(boolean verify);
   
      /**
       * Returns the state of the verifier (enabled/disabled)
       *
       * @return   true if verifier is enabled; false otherwise
       */
  -   public boolean getVerifyDeployments();
  +   boolean getVerifyDeployments();
   
      /**
       * Enable/disable bean verifier verbose mode.
       *
  -    * @param    verbose true to enable verbose mode; false to disable
  +    * @param verbose    true to enable verbose mode; false to disable
       */
  -   public void setVerifierVerbose(boolean verbose);
  +   void setVerifierVerbose(boolean verbose);
   
      /**
       * Returns the state of the verifier (verbose/non-verbose mode).
       *
       * @return  true if the verbose mode is enabled; false otherwise
       */
  -   public boolean getVerifierVerbose();
  +   boolean getVerifierVerbose();
   
      /**
  -   * Enables/disables the metrics interceptor for containers.
  -   *
  -   * @param enable  true to enable; false to disable
  -   */
  -   public void setMetricsEnabled(boolean enable);
  +    * 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
       */
  -   public boolean isMetricsEnabled();
  +   boolean isMetricsEnabled();
   
  -     /**
  -      *      is the aplication with this url deployed
  -      *
  -      * @param   url
  -      * @exception   MalformedURLException
  -      */
  -   public boolean isDeployed(String 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.
       */
  -   public void setBeanCacheJMSMonitoringEnabled(boolean enable);
  +   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.
  -    */
  -   public boolean getValidateDTDs();
  -   /** Set 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.
       */
  -   public void setValidateDTDs(boolean validate);
  +   void setValidateDTDs(boolean validate);
   }
  +
   /* Change log.
  + * 
    * Author: starksm, Date: Thu Jun 14 17:14:14  2001 GMT
  - Added getValidateDTDs/setValidateDTDs methods.
  - */
  \ No newline at end of file
  + * Added getValidateDTDs/setValidateDTDs methods.
  +*/
  
  
  

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

Reply via email to