|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.DeploymentProfile
org.apache.avalon.composition.data.ContainmentProfile
A containment profile describes a containment context including a classloader and the set of profiles explicitly included within the a container.
Field Summary | |
static String |
DELIMITER
Container path delimiter. |
Fields inherited from class org.apache.avalon.composition.data.DeploymentProfile |
DEFAULT, DISABLED, ENABLED |
Constructor Summary | |
ContainmentProfile()
Creation of a new empty containment profile. |
|
ContainmentProfile(String name,
ClassLoaderDirective classloader,
ServiceDirective[] exports,
CategoriesDirective categories,
DeploymentProfile[] profiles)
Creation of a new containment profile. |
Method Summary | |
ClassLoaderDirective |
getClassLoaderDirective()
Return the classloader directive that describes the creation arguments for the classloader required by this container. |
ServiceDirective |
getExportDirective(Class clazz)
Retrieve a service directive matching a supplied class. |
ServiceDirective[] |
getExportDirectives()
Return the set of service directives that describe the mapping between services exposrted by the container and its implementation model. |
DeploymentProfile[] |
getProfiles()
Return the set of nested profiles wihin this containment profile. |
DeploymentProfile[] |
getProfiles(Mode mode)
Return the set of nested profiles contained within this profile matching the supplied mode. |
Methods inherited from class org.apache.avalon.composition.data.DeploymentProfile |
getActivationDirective, getCategories, getMode, getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String DELIMITER
Constructor Detail |
public ContainmentProfile()
public ContainmentProfile(String name, ClassLoaderDirective classloader, ServiceDirective[] exports, CategoriesDirective categories, DeploymentProfile[] profiles)
name
- the profile nameclassloader
- the description of the classloader to be
created for this containment profileexports
- the set of servides that this component is
dependent on for normal executionprofiles
- the set of profiles contained within this
containment profileMethod Detail |
public ClassLoaderDirective getClassLoaderDirective()
public ServiceDirective[] getExportDirectives()
public ServiceDirective getExportDirective(Class clazz)
clazz
- the class to match
public DeploymentProfile[] getProfiles()
public DeploymentProfile[] getProfiles(Mode mode)
mode
- one of enumerated value Mode.IMPLICIT
,
Mode.PACKAGED
, or Mode.EXPLICIT
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |