Class ProducerAuditInterceptor<AuditDatasetType extends FhirAuditDataset>
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.core.chain.ChainableImpl
-
- org.openehealth.ipf.platform.camel.ihe.core.InterceptorSupport<FhirEndpoint<AuditDatasetType,FhirComponent<AuditDatasetType>>>
-
- org.openehealth.ipf.platform.camel.ihe.fhir.core.intercept.producer.ProducerAuditInterceptor<AuditDatasetType>
-
- All Implemented Interfaces:
org.apache.camel.Processor
,Chainable
,AuditInterceptor<AuditDatasetType,FhirEndpoint<AuditDatasetType,FhirComponent<AuditDatasetType>>>
,Interceptor<FhirEndpoint<AuditDatasetType,FhirComponent<AuditDatasetType>>>
public class ProducerAuditInterceptor<AuditDatasetType extends FhirAuditDataset> extends InterceptorSupport<FhirEndpoint<AuditDatasetType,FhirComponent<AuditDatasetType>>> implements AuditInterceptor<AuditDatasetType,FhirEndpoint<AuditDatasetType,FhirComponent<AuditDatasetType>>>
Consumer-side FHIR ATNA auditing Camel interceptor.- Since:
- 3.1
- Author:
- Christian Ohr
-
-
Field Summary
-
Fields inherited from interface org.openehealth.ipf.platform.camel.ihe.atna.interceptor.AuditInterceptor
AUDIT_DATASET_HEADER
-
-
Constructor Summary
Constructors Constructor Description ProducerAuditInterceptor(AuditContext auditContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
determineParticipantsAddresses(org.apache.camel.Exchange exchange, AuditDatasetType auditDataset)
Determines local and remote network addresses on the basis of the given exchange and stores them into the given audit dataset.AuditStrategy<AuditDatasetType>
getAuditStrategy()
Returns the audit strategy instance configured for this interceptor.void
process(org.apache.camel.Exchange exchange)
-
Methods inherited from class org.openehealth.ipf.platform.camel.ihe.core.InterceptorSupport
characterSet, getEndpoint, getWrappedProcessor, setEndpoint, setWrappedProcessor
-
Methods inherited from class org.openehealth.ipf.commons.ihe.core.chain.ChainableImpl
addAfter, addBefore, getAfter, getBefore, getId, setId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openehealth.ipf.commons.ihe.core.chain.Chainable
getAfter, getBefore, getId
-
Methods inherited from interface org.openehealth.ipf.platform.camel.ihe.core.Interceptor
getEndpoint, getWrappedProcessor, setEndpoint, setWrappedProcessor
-
-
-
-
Constructor Detail
-
ProducerAuditInterceptor
public ProducerAuditInterceptor(AuditContext auditContext)
-
-
Method Detail
-
process
public void process(org.apache.camel.Exchange exchange) throws Exception
- Specified by:
process
in interfaceorg.apache.camel.Processor
- Throws:
Exception
-
determineParticipantsAddresses
public void determineParticipantsAddresses(org.apache.camel.Exchange exchange, AuditDatasetType auditDataset)
Description copied from interface:AuditInterceptor
Determines local and remote network addresses on the basis of the given exchange and stores them into the given audit dataset.- Specified by:
determineParticipantsAddresses
in interfaceAuditInterceptor<AuditDatasetType extends FhirAuditDataset,FhirEndpoint<AuditDatasetType extends FhirAuditDataset,FhirComponent<AuditDatasetType extends FhirAuditDataset>>>
-
getAuditStrategy
public AuditStrategy<AuditDatasetType> getAuditStrategy()
Description copied from interface:AuditInterceptor
Returns the audit strategy instance configured for this interceptor.- Specified by:
getAuditStrategy
in interfaceAuditInterceptor<AuditDatasetType extends FhirAuditDataset,FhirEndpoint<AuditDatasetType extends FhirAuditDataset,FhirComponent<AuditDatasetType extends FhirAuditDataset>>>
-
-