avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/interfaces DeployerMBean.java
Date Tue, 26 Mar 2002 11:03:18 GMT
donaldp     02/03/26 03:03:18

  Added:       src/java/org/apache/avalon/phoenix/interfaces
                        DeployerMBean.java
  Log:
  Create a MBean interface that had a deploy method taking a string aswell as one taking a
URL
  
  Submitted By: Joerg Bauer <bauer@denic.de>
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/interfaces/DeployerMBean.java
  
  Index: DeployerMBean.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE.txt file.
   */
  package org.apache.avalon.phoenix.interfaces;
  
  import java.net.URL;
  
  /**
   * MBean Interface for the Deployer to use the deploy
   * feature in the HmtlAdaptor
   *
   * @author <a href="mailto:bauer@denic.de">Joerg Bauer</a>
   * @see Deployer
   */
  public interface DeployerMBean
  {
      String ROLE = Deployer.class.getName();
  
      /**
       * Deploy an installation.
       *
       * @param name the name of deployment
       * @param sarURL the installation to deploy
       * @throws DeploymentException if an error occurs
       * @see #deploy(String,String)
       * @see #undeploy(String)
       */
      void deploy( String name, String sarURL )
          throws DeploymentException;
  
      /**
       * Deploy an installation.
       *
       * @param name the name of deployment
       * @param location the installation to deploy
       * @throws DeploymentException if an error occurs
       * @see #deploy(String,String)
       * @see #undeploy(String)
       */
      void deploy( String name, URL location )
          throws DeploymentException;
  
      /**
       * undeploy a resource from a location.
       *
       * @param name the name of deployment
       * @throws DeploymentException if an error occurs
       * @see #deploy(String,String)
       * @see #deploy(String,URL)
       */
      void undeploy( String name )
          throws DeploymentException;
  }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message