Package ca.uhn.hl7v2.protocol
Interface ProcessorContext
- All Known Implementing Classes:
ProcessorContextImpl
public interface ProcessorContext
The operational context of a
Processor. This defines
certain resources that are not part of the Processor,
but are needed in order to implement it, and may vary between
deployments.- Version:
- $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:38 $ by $Author: jamesagnew $
- Author:
- Bryan Tripp
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddValidator(AcceptValidator theValidator) Adds a new validator to the list of those returned bygetValidators().Returns the list of fields that are to be included as metadata whenever aMessageis converted to aTransportable.
-
Method Details
-
getRouter
- Returns:
- the router that directs unsolicited inbound messages to
the appropriate
Application
-
getRemotelyDrivenTransportLayer
- Returns:
- the object responsible for transport of remotely initiated message exchanges (normally with a remote server)
-
getLocallyDrivenTransportLayer
- Returns:
- the object responsible for transport of locally initiated message exchanges (normally with a remote server)
-
getValidators
- Returns:
- the validators that determine whether a message can be accepted for routing to the appropriate application
-
addValidator
Adds a new validator to the list of those returned bygetValidators().- Parameters:
theValidator- the validator to add
-
getSafeStorage
- Returns:
- a store for messages while they are being routed to the appropriate application
-
getMetadataFields
Returns the list of fields that are to be included as metadata whenever aMessageis converted to aTransportable. Each field is a StringTerserpath.
-