use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionCoordinatorPortTypeImpl method completedOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "CompletedOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Completed")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Completed")
public void completedOperation(@WebParam(name = "Completed", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType completed = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionCoordinatorProcessor.getProcessor().completed(completed, inboundMap, arjunaContext);
}
});
}
use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionCoordinatorPortTypeImpl method exitOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "ExitOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Exit")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Exit")
public void exitOperation(@WebParam(name = "Exit", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType exit = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionCoordinatorProcessor.getProcessor().exit(exit, inboundMap, arjunaContext);
}
});
}
use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionParticipantPortTypeImpl method closeOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "CloseOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Close")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Close")
public void closeOperation(@WebParam(name = "Close", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType close = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionParticipantProcessor.getProcessor().close(close, inboundMap, arjunaContext);
}
});
}
use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionParticipantPortTypeImpl method completeOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "CompleteOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Complete")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Complete")
public void completeOperation(@WebParam(name = "Complete", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType complete = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionParticipantProcessor.getProcessor().complete(complete, inboundMap, arjunaContext);
}
});
}
use of org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType in project narayana by jbosstm.
the class BusinessAgreementWithCoordinatorCompletionParticipantPortTypeImpl method failedOperation.
/**
* @param parameters
*/
@WebMethod(operationName = "FailedOperation", action = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Failed")
@Oneway
@Action(input = "http://docs.oasis-open.org/ws-tx/wsba/2006/06/Failed")
public void failedOperation(@WebParam(name = "Failed", targetNamespace = "http://docs.oasis-open.org/ws-tx/wsba/2006/06", partName = "parameters") NotificationType parameters) {
MessageContext ctx = webServiceCtx.getMessageContext();
final NotificationType failed = parameters;
final MAP inboundMap = AddressingHelper.inboundMap(ctx);
final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);
TaskManager.getManager().queueTask(new Task() {
public void executeTask() {
CoordinatorCompletionParticipantProcessor.getProcessor().failed(failed, inboundMap, arjunaContext);
}
});
}
Aggregations