|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentSpecificationResolver
Service interface for locating component specifications.
Method Summary | |
---|---|
INamespace |
getNamespace()
The namespace containing the resolved component. |
IComponentSpecification |
getSpecification()
The specification resolved by the resolve() method. |
String |
getType()
Returns the unqualified type of the component (i.e., with any namespace prefix stripped off). |
void |
resolve(IRequestCycle cycle,
INamespace containerNamespace,
String type,
org.apache.hivemind.Location location)
Passed the namespace of a container (to resolve the type in) and the type to resolve, performs the processing. |
void |
resolve(IRequestCycle cycle,
INamespace containerNamespace,
String libraryId,
String type,
org.apache.hivemind.Location location)
Like resolve(org.apache.tapestry.IRequestCycle, org.apache.tapestry.INamespace, java.lang.String, Location) ,
but used when the type has already been parsed into a library id and a simple type. |
Method Detail |
---|
void resolve(IRequestCycle cycle, INamespace containerNamespace, String type, org.apache.hivemind.Location location)
cycle
- current request cyclecontainerNamespace
- namespace that may contain a library referenced in the typetype
- the component specification to find, either a simple name, or prefixed with a
library id (defined for the container namespace)getNamespace()
,
getSpecification()
void resolve(IRequestCycle cycle, INamespace containerNamespace, String libraryId, String type, org.apache.hivemind.Location location)
resolve(org.apache.tapestry.IRequestCycle, org.apache.tapestry.INamespace, java.lang.String, Location)
,
but used when the type has already been parsed into a library id and a simple type.
cycle
- current request cyclecontainerNamespace
- namespace that may contain a library referenced in the typelibraryId
- the library id within the container namespace, or nulltype
- the component specification to find as a simple name (without a library prefix)location
- of reference to be resolved
org.apache.hivemind.ApplicationRuntimeException
- if the type cannot be resolvedIComponentSpecification getSpecification()
INamespace getNamespace()
String getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |