public abstract class WSDoAllHandler extends WSHandler implements org.apache.axis.Handler
WSDoAllHandler is a utility class which implements simple
property setting/getting behavior, and stubs out a lot of the Handler
methods. Extend this class to make writing your Handlers easier, and
then override what you need to.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
makeLockable |
protected String |
name |
protected Hashtable |
options |
| Constructor and Description |
|---|
WSDoAllHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleBlock(javax.xml.namespace.QName qname) |
void |
cleanup() |
void |
generateWSDL(org.apache.axis.MessageContext msgContext) |
org.w3c.dom.Element |
getDeploymentData(org.w3c.dom.Document doc) |
String |
getName()
Return the name (i.e.
|
Object |
getOption(String name)
Returns the option corresponding to
name. |
Hashtable |
getOptions()
Return the entire list of options
|
String |
getPassword(Object msgContext) |
Object |
getProperty(Object msgContext,
String key) |
List |
getUnderstoodHeaders()
Return a list of QNames which this Handler understands.
|
void |
init()
Stubbed-out methods.
|
protected void |
initHashtable() |
void |
onFault(org.apache.axis.MessageContext msgContext) |
void |
setName(String name)
Set the name (i.e.
|
void |
setOption(String name,
Object value)
Set the given option (name/value) in this handler's bag of options
|
boolean |
setOptionDefault(String name,
Object value)
Set a default value for the given option:
if the option is not already set, then set it.
|
void |
setOptions(Hashtable opts) |
protected void |
setOptionsLockable(boolean makeLockable)
Should this Handler use a LockableHashtable for options?
Default is 'false'.
|
void |
setPassword(Object msgContext,
String password) |
void |
setProperty(Object msgContext,
String key,
Object value) |
checkReceiverResults, checkReceiverResultsAnyOrder, checkSignatureConfirmation, decodeCustomPasswordTypes, decodeDecryptionParameter, decodeEnableSignatureConfirmation, decodeEncryptionParameter, decodeMustUnderstand, decodeNamespaceQualifiedPasswordTypes, decodeSignatureParameter, decodeSignatureParameter2, decodeTimestampPrecision, decodeTimestampStrict, decodeTimeToLive, decodeUseEncodedPasswords, decodeUseSingleCertificate, decodeUTParameter, doReceiverAction, doSenderAction, getClassLoader, getPassword, getPasswordCB, getString, getStringOption, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto, verifyTimestamp, verifyTimestamp, verifyTrust, verifyTrustprotected boolean makeLockable
protected Hashtable options
protected String name
protected void setOptionsLockable(boolean makeLockable)
protected void initHashtable()
public void init()
init in interface org.apache.axis.Handlerpublic void cleanup()
cleanup in interface org.apache.axis.Handlerpublic boolean canHandleBlock(javax.xml.namespace.QName qname)
canHandleBlock in interface org.apache.axis.Handlerpublic void onFault(org.apache.axis.MessageContext msgContext)
onFault in interface org.apache.axis.Handlerpublic void setOption(String name, Object value)
setOption in interface org.apache.axis.Handlerpublic boolean setOptionDefault(String name, Object value)
public Hashtable getOptions()
getOptions in interface org.apache.axis.Handlerpublic void setOptions(Hashtable opts)
setOptions in interface org.apache.axis.Handlerpublic void setName(String name)
setName in interface org.apache.axis.Handlerpublic String getName()
getName in interface org.apache.axis.Handlerpublic org.w3c.dom.Element getDeploymentData(org.w3c.dom.Document doc)
getDeploymentData in interface org.apache.axis.Handlerpublic void generateWSDL(org.apache.axis.MessageContext msgContext)
throws org.apache.axis.AxisFault
generateWSDL in interface org.apache.axis.Handlerorg.apache.axis.AxisFaultpublic List getUnderstoodHeaders()
getUnderstoodHeaders in interface org.apache.axis.Handlerpublic Object getProperty(Object msgContext, String key)
getProperty in class WSHandlerpublic void setProperty(Object msgContext, String key, Object value)
setProperty in class WSHandlerpublic String getPassword(Object msgContext)
getPassword in class WSHandlerpublic void setPassword(Object msgContext, String password)
setPassword in class WSHandlerCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.