|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.genericasync.service.impl.GenAsyncServiceImpl
public class GenAsyncServiceImpl
Implementation for the GenAsyncService
interface
Field Summary | |
---|---|
static String |
SERVICE_NAME
Initialize parameter for ConfigurableImplementation Object: String Required: true |
static String |
SESSION_VALIDATOR
Initialize parameter for ConfigurableImplementation Object: SessionValidator Required: true |
Constructor Summary | |
---|---|
GenAsyncServiceImpl()
only to be used by ServiceFactory. |
|
GenAsyncServiceImpl(SessionValidator sessionValidator,
String serviceName)
Deprecated. use be.ehealth.businessconnector.genericasync.service.ServiceFactory.getGenAsyncService(servicename,sessionvalidator) instead. |
Method Summary | |
---|---|
void |
bootstrap()
|
ConfirmResponse |
confirmRequest(SAMLToken token,
Confirm request,
WsAddressingHeader header)
Sends a Confirm request after a successful Get It only needs the SAMLtoken, no session needs to be active |
GetResponse |
getRequest(SAMLToken token,
Get request,
WsAddressingHeader header)
Returns the Responses from the post previously sent. |
void |
initialize(Map<String,Object> parameterMap)
initializes the implementation with additional parameters. |
PostResponse |
postRequest(SAMLToken token,
Post request,
WsAddressingHeader header)
Returns the TAck of the request of an operation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SERVICE_NAME
ConfigurableImplementation
Object: String
Required: true
public static final String SESSION_VALIDATOR
ConfigurableImplementation
Object: SessionValidator
Required: true
Constructor Detail |
---|
public GenAsyncServiceImpl()
@Deprecated public GenAsyncServiceImpl(SessionValidator sessionValidator, String serviceName)
sessionValidator
- serviceName
- Method Detail |
---|
public PostResponse postRequest(SAMLToken token, Post request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException
GenAsyncService
TAck
of the request of an operation. It only needs the SamlToken, no session needs to be
active.
postRequest
in interface GenAsyncService
request
- the request
GenAsyncBusinessConnectorException
public GetResponse getRequest(SAMLToken token, Get request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
GenAsyncService
Responses
from the post previously sent. It only needs the SamlToken, no session needs
to be active.
getRequest
in interface GenAsyncService
request
- the request
GenAsyncBusinessConnectorException
TechnicalConnectorException
public ConfirmResponse confirmRequest(SAMLToken token, Confirm request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
GenAsyncService
confirmRequest
in interface GenAsyncService
request
- the request
GenAsyncBusinessConnectorException
TechnicalConnectorException
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
public void initialize(Map<String,Object> parameterMap) throws TechnicalConnectorException
ConfigurableImplementation
initialize
in interface ConfigurableImplementation
parameterMap
- Map with for each propertyString ,the input parameter as Object.
TechnicalConnectorException
- if the parameterMap is not correct.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |