History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CARGO-293
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Massol
Reporter: Vincent Massol
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cargo

Add new ConfigurationCapabilityFactory to discover a configuration's capabilities

Created: 12/Mar/06 09:45 AM   Updated: 30/Mar/06 04:24 AM
Component/s: Core
Affects Version/s: 0.7
Fix Version/s: 0.8

Time Tracking:
Not Specified


 Description  « Hide
/**
 * Allow finding a Configuration's capability by container id and type.
 *
 * @version $Id: ContainerCapabilityFactory.java 884 2006-02-27 21:58:13Z vmassol $
 */
public interface ConfigurationCapabilityFactory
{
    /**
     * @param containerId the id of the container to register against
     * @param type the configuration type under which the capability should be registered
     * @param configurationCapabilityClass the confoiguration capability implementation class to
     *        register
     */
    void registerConfigurationCapability(String containerId, ConfigurationType type,
        Class configurationCapabilityClass);

    /**
     * Create a {@link org.codehaus.cargo.container.configuration.ConfigurationCapability} instance.
     *
     * @param containerId the container id associated with the configuration capability
     * @param type the configuration type associated with the capability
     * @return the configuration capability instance matching the parameter passed
     */
    ConfigurationCapability createConfigurationCapability(String containerId,
        ConfigurationType type);
}


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Vincent Massol - 12/Mar/06 01:44 PM
Done