When using Spring Framework for initializing objects, you can use the factory methods like this:
<!-- Define the context --> <bean id="hapiContext" class="ca.uhn.hl7v2.DefaultHapiContext"> ... </bean> <!-- Obtain the default PipeParser instance --> <bean id="pipeParser" factory-bean="hapiContext" factory-method="getPipeParser"/> ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|