|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.builder.XMLProfileCreator
org.apache.avalon.composition.data.builder.XMLContainmentProfileCreator
Handles internalization of an XML based description of a ContainmentProfile
from a Configuration object.
Constructor Summary | |
XMLContainmentProfileCreator()
|
Method Summary | |
ContainmentProfile |
createContainmentProfile(Configuration config)
Create a ContainmentProfile from a configuration |
protected ExcludeDirective |
createExcludeDirective(Configuration config)
Utility method to create a new exclude directive from a configuration instance. |
protected ExcludeDirective[] |
createExcludeDirectives(Configuration config)
Utility method to create a set in exclude directives. |
FilesetDirective |
createFilesetDirective(Configuration config)
Utility method to create a new fileset descriptor from a configuration instance. |
protected IncludeDirective |
createIncludeDirective(Configuration config)
Utility method to create a new include directive from a configuration instance. |
protected IncludeDirective[] |
createIncludeDirectives(Configuration config)
Utility method to create a set in include directives. |
protected DeploymentProfile[] |
createProfiles(Configuration config)
Return the set of profiles embedded in the supplied configuration. |
ServiceDirective[] |
createServiceDirectives(Configuration config)
Resolve the logical services declared by a block directive. |
Methods inherited from class org.apache.avalon.composition.data.builder.XMLProfileCreator |
getActivationDirective, getActivationDirective, getCategoriesDirective, getCategoryDirective, getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLContainmentProfileCreator()
Method Detail |
public ContainmentProfile createContainmentProfile(Configuration config) throws Exception
ContainmentProfile
from a configuration
config
- the partitition configuration
Exception
- if a error occurs during profile creationpublic FilesetDirective createFilesetDirective(Configuration config) throws ConfigurationException
config
- a configuration defining the fileset
ConfigurationException
- if the configuration is
incompleteprotected IncludeDirective[] createIncludeDirectives(Configuration config) throws ConfigurationException
config
- a configuration defining the fileset
ConfigurationException
- if the configuration is
incompleteprotected ExcludeDirective[] createExcludeDirectives(Configuration config) throws ConfigurationException
config
- a configuration defining the fileset
ConfigurationException
- if the configuration is
incompleteprotected IncludeDirective createIncludeDirective(Configuration config) throws ConfigurationException
config
- a configuration defining the include directive
ConfigurationException
- if the configuration does not
declare the name attributeprotected ExcludeDirective createExcludeDirective(Configuration config) throws ConfigurationException
config
- a configuration defining the exclude directive
ConfigurationException
- if the configuration does not
declare the name attributeprotected DeploymentProfile[] createProfiles(Configuration config) throws Exception
config
- a container or implementation configutation
Exception
public ServiceDirective[] createServiceDirectives(Configuration config) throws MetaDataException
config
- the services configuration fragment
MetaDataException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |