|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Containment model is an extended deployment model that aggregates a set of models. A containment model describes a logical containment context.
Field Summary | |
static String |
SEPERATOR
|
Method Summary | |
Model |
addModel(Profile profile)
Addition of a new subsidiary model within the containment context using a supplied profile. |
Model |
addModel(URL url)
Addition of a new subsidiary model within the containment context using a supplied profile url. |
CategoriesDirective |
getCategories()
Return the logging categories. |
ClassLoaderModel |
getClassLoaderModel()
Return the classloader model. |
ServiceDirective |
getExportDirective(Class clazz)
Return the set of service export directives for a supplied class. |
ServiceDirective[] |
getExportDirectives()
Return the set of service export directives. |
Model |
getModel(DependencyDescriptor dependency)
Return a model relative to a supplied dependency. |
Model |
getModel(StageDescriptor stage)
Return a model relative to a supplied stage descriptor. |
Model |
getModel(String name)
Return a model relative to a supplied name. |
Model[] |
getModels()
Return the set of models nested within this model. |
String |
getPartition()
Return the partition established by the containment model. |
void |
setCategories(CategoriesDirective categories)
Set categories. |
Methods inherited from interface org.apache.avalon.composition.model.Model |
getMode, getName, getPath, getQualifiedName, getServices, isaCandidate, isaCandidate |
Field Detail |
public static final String SEPERATOR
Method Detail |
public CategoriesDirective getCategories()
public void setCategories(CategoriesDirective categories)
categories
- the logging categoriespublic String getPartition()
public ClassLoaderModel getClassLoaderModel()
public Model[] getModels()
public Model getModel(String name)
public Model getModel(DependencyDescriptor dependency) throws ModelException
ModelException
- if an error occurs during model establishmentpublic Model getModel(StageDescriptor stage) throws ModelException
stage
- the stage descriptor
ModelException
- if an error occurs during model establishmentpublic Model addModel(URL url) throws ModelException
url
- a containment profile url
ModelException
- if an error occurs during model establishmentpublic Model addModel(Profile profile) throws ModelException
profile
- a containment or deployment profile
ModelException
- if an error occurs during model establishmentpublic ServiceDirective[] getExportDirectives()
public ServiceDirective getExportDirective(Class clazz)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |