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