Spring Web Services Framework

org.springframework.ws.soap.security.callback
Class CallbackHandlerChain

java.lang.Object
  extended by org.springframework.ws.soap.security.callback.AbstractCallbackHandler
      extended by org.springframework.ws.soap.security.callback.CallbackHandlerChain
All Implemented Interfaces:
CallbackHandler
Direct Known Subclasses:
XwssCallbackHandlerChain

public class CallbackHandlerChain
extends AbstractCallbackHandler

Represents a chain of CallbackHandlers. For each callback, each of the handlers is called in term. If a handler throws a UnsupportedCallbackException, the next handler is tried.

Since:
1.5.0
Author:
Arjen Poutsma

Field Summary
 
Fields inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler
logger
 
Constructor Summary
CallbackHandlerChain(CallbackHandler[] callbackHandlers)
           
 
Method Summary
 CallbackHandler[] getCallbackHandlers()
           
protected  void handleInternal(Callback callback)
          Template method that should be implemented by subclasses.
 
Methods inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler
handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackHandlerChain

public CallbackHandlerChain(CallbackHandler[] callbackHandlers)
Method Detail

getCallbackHandlers

public CallbackHandler[] getCallbackHandlers()

handleInternal

protected void handleInternal(Callback callback)
                       throws IOException,
                              UnsupportedCallbackException
Description copied from class: AbstractCallbackHandler
Template method that should be implemented by subclasses.

Specified by:
handleInternal in class AbstractCallbackHandler
Throws:
IOException
UnsupportedCallbackException

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.