mcconnell 2002/07/17 20:38:12 Added: assembly/src/java/org/apache/excalibur/merlin/model ResourceDesignator.java Log: moved to merlin/model from merlin/container Revision Changes Path 1.1 jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/model/ResourceDesignator.java Index: ResourceDesignator.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.excalibur.merlin.model; import org.apache.excalibur.meta.info.ServiceDescriptor; /** * Interface implemented by object capable of supply a resources. * * @author <a href="mailto:[EMAIL PROTECTED]">Stephen McConnell</a> * @version $Revision: 1.1 $ $Date: 2002/07/18 03:38:12 $ */ public interface ResourceDesignator { /** * Returns the designated resource path. * * @return the resource path */ String getPath(); /** * Returns the resource descriptor. * * @return the descriptor */ ServiceDescriptor[] getServices(); /** * Return the resource instance. * * @return an instance of the type constrained to the profile */ Object getInstance() throws Exception; /** * Release the service instance. * * @exception LifecycleException if an error occurs while releasing the object */ public void release() throws Exception; /** * Return the profile. * * @return the profile */ Profile getProfile(); }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>