|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.Profile
org.apache.avalon.composition.data.BlockCompositionDirective
A block reference directive contains an identifier and verion of a local resource to be included by reference into a container.
Constructor Summary | |
BlockCompositionDirective(String name,
ResourceDirective resource)
Creation of a new resource directive. |
|
BlockCompositionDirective(String name,
ResourceDirective resource,
TargetDirective[] targets)
Creation of a new resource directive. |
Method Summary | |
ResourceDirective |
getResource()
Return the resource reference. |
TargetDirective[] |
getTargetDirectives()
Return the relative targets. |
Methods inherited from class org.apache.avalon.composition.data.Profile |
getActivationPolicy, getMode, getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BlockCompositionDirective(String name, ResourceDirective resource)
name
- the name to assign to the container
established by the composition directiveresource
- a resource reference from which a block
description can be resolvedpublic BlockCompositionDirective(String name, ResourceDirective resource, TargetDirective[] targets)
name
- the name to assign to the container
established by the composition directiveresource
- a resource reference from which a block
description can be resolvedMethod Detail |
public ResourceDirective getResource()
public TargetDirective[] getTargetDirectives()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |