Return-Path: Delivered-To: apmail-jakarta-avalon-cvs-archive@apache.org Received: (qmail 69839 invoked from network); 26 Mar 2002 11:03:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Mar 2002 11:03:22 -0000 Received: (qmail 17701 invoked by uid 97); 26 Mar 2002 11:03:35 -0000 Delivered-To: qmlist-jakarta-archive-avalon-cvs@jakarta.apache.org Received: (qmail 17685 invoked by uid 97); 26 Mar 2002 11:03:34 -0000 Mailing-List: contact avalon-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-cvs@jakarta.apache.org Received: (qmail 17674 invoked by uid 97); 26 Mar 2002 11:03:34 -0000 Date: 26 Mar 2002 11:03:18 -0000 Message-ID: <20020326110318.19138.qmail@icarus.apache.org> From: donaldp@apache.org To: jakarta-avalon-phoenix-cvs@apache.org Subject: cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/interfaces DeployerMBean.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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 Joerg Bauer * @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: For additional commands, e-mail: