public interface ISpecificationSource
IComponentSpecification
Modifier and Type | Method and Description |
---|---|
INamespace |
getApplicationNamespace()
Returns the
INamespace for the application. |
IComponentSpecification |
getComponentSpecification(org.apache.hivemind.Resource specificationLocation)
Retrieves a component specification, parsing it as necessary.
|
INamespace |
getFrameworkNamespace()
Returns the
INamespace for the framework itself. |
ILibrarySpecification |
getLibrarySpecification(org.apache.hivemind.Resource specificationLocation)
Returns a
LibrarySpecification with the given path. |
IComponentSpecification |
getPageSpecification(org.apache.hivemind.Resource specificationLocation)
Retrieves a page specification, parsing it as necessary.
|
IComponentSpecification getComponentSpecification(org.apache.hivemind.Resource specificationLocation)
specificationLocation
- the location where the specification may be read from.org.apache.hivemind.ApplicationRuntimeException
- if the specification doesn't exist, is unreadable or invalid.IComponentSpecification getPageSpecification(org.apache.hivemind.Resource specificationLocation)
specificationLocation
- the location where the specification may be read from.org.apache.hivemind.ApplicationRuntimeException
- if the specification doesn't exist, is unreadable or invalid.ILibrarySpecification getLibrarySpecification(org.apache.hivemind.Resource specificationLocation)
LibrarySpecification
with the given path.specificationLocation
- the resource path of the specification to returnorg.apache.hivemind.ApplicationRuntimeException
- if the specification cannot be readINamespace getApplicationNamespace()
INamespace
for the application.INamespace getFrameworkNamespace()
INamespace
for the framework itself.