org.apache.avalon.composition.data.builder
Class XMLDeploymentProfileCreator
java.lang.Object
org.apache.avalon.composition.data.builder.XMLProfileCreator
org.apache.avalon.composition.data.builder.XMLDeploymentProfileCreator
- Direct Known Subclasses:
- XMLTargetsCreator
- public class XMLDeploymentProfileCreator
- extends XMLProfileCreator
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/31 14:29:52 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDeploymentProfileCreator
public XMLDeploymentProfileCreator()
createDeploymentProfile
public DeploymentProfile createDeploymentProfile(Configuration config)
throws Exception
- Creation of a
DeploymentProfile
from an XML configuration.
- Parameters:
config
- the configuration
- Returns:
- the deployment profile
- Throws:
Exception
createDeploymentProfile
public DeploymentProfile createDeploymentProfile(String base,
String classname,
Configuration config)
throws Exception
- Creation of a
DeploymentProfile
from an XML configuration.
- Parameters:
config
- the configuration
- Returns:
- the deployment profile
- Throws:
Exception
createDeploymentProfile
public DeploymentProfile createDeploymentProfile(String classname,
Configuration config,
String name)
throws Exception
- Creation of a
DeploymentProfile
from an XML configuration.
- Parameters:
config
- the configuration
- Returns:
- the deployment profile
- Throws:
Exception
getDependencyDirectives
protected DependencyDirective[] getDependencyDirectives(Configuration config)
throws ConfigurationException
- Throws:
ConfigurationException
getDependencyDirective
protected DependencyDirective getDependencyDirective(Configuration config)
throws ConfigurationException
- Throws:
ConfigurationException
getStageDirectives
protected StageDirective[] getStageDirectives(Configuration config)
throws ConfigurationException
- Throws:
ConfigurationException
getStageDirective
protected StageDirective getStageDirective(Configuration config)
throws ConfigurationException
- Throws:
ConfigurationException
getSelectionDirective
protected SelectionDirective getSelectionDirective(Configuration config)
throws ConfigurationException
- Throws:
ConfigurationException
getParameters
protected Parameters getParameters(Configuration config)
throws ConfigurationException
- Throws:
ConfigurationException
getContextDirective
public ContextDirective getContextDirective(Configuration config)
throws ConfigurationException
- Utility method to create a new context directive.
- Parameters:
config
- the context directive configuration
- Returns:
- the context directive
- Throws:
ConfigurationException
- if an error occurs
getEntries
protected EntryDirective[] getEntries(Configuration[] configs)
throws ConfigurationException
- Utility method to create a set of entry directives.
- Parameters:
configs
- the entry directive configurations
- Returns:
- the entry directives
- Throws:
ConfigurationException
- if an error occurs
getParameters
protected Parameter[] getParameters(Configuration[] configs)
throws ConfigurationException
- Utility method to create a set of parameter directive.
- Parameters:
configs
- the parameter directive configurations
- Returns:
- the parameter directives
- Throws:
ConfigurationException
- if an error occurs
getParameter
protected Parameter getParameter(Configuration config)
throws ConfigurationException
- Utility method to create a new parameter directive.
- Parameters:
config
- the parameter directive configuration
- Returns:
- the parameter directive
- Throws:
ConfigurationException
- if an error occurs
Copyright © Apache Software Foundation. All Rights Reserved.