|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.composition.model.impl.DefaultModelFactory
A factory enabling the establishment of new composition model instances.
Constructor Summary | |
DefaultModelFactory(SystemContext system)
|
Method Summary | |
ContainmentContext |
createContainmentContext(ContainmentProfile profile)
Creation of a new root containment context. |
ContainmentModel |
createContainmentModel(ContainmentContext context)
Creation of a new nested containment model. |
ContainmentModel |
createContainmentModel(ContainmentProfile profile)
Creation of a new root containment model using a supplied profile. |
ContainmentModel |
createContainmentModel(URL url)
Creation of a new root containment model using a URL referring to a containment profile. |
DeploymentModel |
createDeploymentModel(DeploymentContext context)
Creation of a new nested deployment model. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultModelFactory(SystemContext system)
Method Detail |
public ContainmentModel createContainmentModel(URL url) throws ModelException
createContainmentModel
in interface ModelFactory
url
- a composition profile source
ModelException
- if an error occurs during model establishmentpublic ContainmentModel createContainmentModel(ContainmentProfile profile) throws ModelException
createContainmentModel
in interface ModelFactory
profile
- a containment profile
ModelException
- if an error occurs during model establishmentpublic ContainmentContext createContainmentContext(ContainmentProfile profile) throws ModelException
createContainmentContext
in interface ModelFactory
profile
- a containment profile
ModelException
public ContainmentModel createContainmentModel(ContainmentContext context) throws ModelException
createContainmentModel
in interface ModelFactory
context
- a potentially foreign containment context
ModelException
public DeploymentModel createDeploymentModel(DeploymentContext context) throws ModelException
createDeploymentModel
in interface ModelFactory
context
- a potentially foreign deployment context
ModelException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |