use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionParticipantPortTypeImpl method notCompleted.
/**
* @param parameters
*/
@WebMethod(operationName = "NotCompleted", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/NotCompleted")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/NotCompleted")
public void notCompleted(@WebParam(name = "NotCompleted", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType notCompleted = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionParticipantProcessor.getProcessor().notCompleted(notCompleted, inboundMap, arjunaContext);
}
});
}
use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionParticipantPortTypeImpl method compensateOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "CompensateOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Compensate")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Compensate")
public void compensateOperation(@WebParam(name = "Compensate", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType compensate = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionParticipantProcessor.getProcessor().compensate(compensate, inboundMap, arjunaContext);
}
});
}
use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionParticipantPortTypeImpl method getStatusOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "GetStatusOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/GetStatus")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/GetStatus")
public void getStatusOperation(@WebParam(name = "GetStatus", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType getStatus = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionParticipantProcessor.getProcessor().getStatus(getStatus, inboundMap, arjunaContext);
}
});
}
use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionParticipantPortTypeImpl method cancelOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "CancelOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Cancel")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Cancel")
public void cancelOperation(@WebParam(name = "Cancel", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType cancel = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionParticipantProcessor.getProcessor().cancel(cancel, inboundMap, arjunaContext);
}
});
}
use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithParticipantCompletionParticipantPortTypeImpl method compensateOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "CompensateOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Compensate")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Compensate")
public void compensateOperation(@WebParam(name = "Compensate", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType compensate = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
ParticipantCompletionParticipantProcessor.getProcessor().compensate(compensate, inboundMap, arjunaContext);
}
});
}
Aggregations