|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Spi public interface MapProcessor
An arbitrary function encapsulated as a transform from one XML document to another.
All implementations of this interface must be threadsafe. That is, they should support multiple, concurrent invocations of any combination of methods.
Method Summary | |
---|---|
MetaData |
describeApplication(String application)
Describe an application. |
Set<MetaData> |
getInputs(String application)
Get the inputs assocaited with an application. |
Set<MetaData> |
getOutputs(String application)
Get the outputs assocaited with an application. |
boolean |
handlesApplication(String application)
Indicates if this processor can handle applications with a particuar name. |
List<String> |
listApplications()
List all of the applications handled, by name. |
Map<String,String> |
process(String application,
Map<String,String> inputs)
Handle a request. |
void |
validate(String application,
Map<String,String> inputs)
Validate the inputs for the application. |
Method Detail |
---|
boolean handlesApplication(String application)
listApplicaionts
.
application
- the name of the application to be checked
List<String> listApplications()
List
of handled applicationsMetaData describeApplication(String application) throws UnknownApplicationException
application
- the name of the application
MetaData
with the name matching application
providing the description and semantic annotation for this application
UnknownApplicationException
Map<String,String> process(String application, Map<String,String> inputs) throws UnknownApplicationException, JobExecutionException
application
- the name of the applicationinputs
- the input Map
UnknownApplicationException
JobExecutionException
void validate(String application, Map<String,String> inputs) throws InvalidJobSpecificationException, UnknownApplicationException
application
- the name of the applicationinputs
- the Map
of input values
InvalidJobSpecificationException
UnknownApplicationException
Set<MetaData> getInputs(String application) throws UnknownApplicationException
application
- the name of the application
Set
of MetaData
instances
UnknownApplicationException
Set<MetaData> getOutputs(String application) throws UnknownApplicationException
application
- the name of the application
Set
of MetaData
instances
UnknownApplicationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |