Class AbstractCallbackHandler
java.lang.Object
org.springframework.ws.soap.security.callback.AbstractCallbackHandler
- All Implemented Interfaces:
CallbackHandler
- Direct Known Subclasses:
AbstractWsPasswordCallbackHandler
,CallbackHandlerChain
Abstract implementation of a
CallbackHandler
.- Since:
- 1.0.0
- Author:
- Arjen Poutsma
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.apache.commons.logging.Log
Logger available to subclasses. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Iterates over the given callbacks, and callshandleInternal
for each of them.protected abstract void
handleInternal
(Callback callback) Template method that should be implemented by subclasses.
-
Field Details
-
logger
protected final org.apache.commons.logging.Log loggerLogger available to subclasses.
-
-
Constructor Details
-
AbstractCallbackHandler
protected AbstractCallbackHandler()
-
-
Method Details
-
handle
Iterates over the given callbacks, and callshandleInternal
for each of them.- Specified by:
handle
in interfaceCallbackHandler
- Parameters:
callbacks
- the callbacks- Throws:
IOException
UnsupportedCallbackException
- See Also:
-
handleInternal
protected abstract void handleInternal(Callback callback) throws IOException, UnsupportedCallbackException Template method that should be implemented by subclasses.
-