com.sun.xml.ws.api.pipe
Interface Fiber.CompletionCallback

Enclosing class:
Fiber

public static interface Fiber.CompletionCallback

Callback to be invoked when a Fiber finishes execution.


Method Summary
 void onCompletion(Packet response)
          Indicates that the fiber has finished its execution.
 void onCompletion(java.lang.Throwable error)
          Indicates that the fiber has finished abnormally, by throwing a given Throwable.
 

Method Detail

onCompletion

void onCompletion(@NotNull
                  Packet response)
Indicates that the fiber has finished its execution.

Since the JAX-WS RI runs asynchronously, this method maybe invoked by a different thread than any of the threads that started it or run a part of tubeline.


onCompletion

void onCompletion(@NotNull
                  java.lang.Throwable error)
Indicates that the fiber has finished abnormally, by throwing a given Throwable.



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.