|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.security.handler.WSHandler
org.apache.ws.axis.security.handler.WSDoAllHandler
public abstract class WSDoAllHandler
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.
| Field Summary | |
|---|---|
protected boolean |
makeLockable
|
protected String |
name
|
protected Hashtable |
options
|
| Fields inherited from class org.apache.ws.security.handler.WSHandler |
|---|
cryptos, DONE, secEngine |
| Constructor Summary | |
|---|---|
WSDoAllHandler()
|
|
| Method Summary | |
|---|---|
boolean |
canHandleBlock(QName qname)
|
void |
cleanup()
|
void |
generateWSDL(org.apache.axis.MessageContext msgContext)
|
Element |
getDeploymentData(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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.axis.Handler |
|---|
invoke |
| Field Detail |
|---|
protected boolean makeLockable
protected Hashtable options
protected String name
| Constructor Detail |
|---|
public WSDoAllHandler()
| Method Detail |
|---|
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(QName qname)
canHandleBlock in interface org.apache.axis.Handlerpublic void onFault(org.apache.axis.MessageContext msgContext)
onFault in interface org.apache.axis.Handler
public void setOption(String name,
Object value)
setOption in interface org.apache.axis.Handler
public boolean setOptionDefault(String name,
Object value)
public Object getOption(String name)
name.
getOption in interface org.apache.axis.HandlergetOption in class WSHandlername - the non-null name of the option.
name if name
exists; otherwise null.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 Element getDeploymentData(Document doc)
getDeploymentData in interface org.apache.axis.Handler
public 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.Handler
public Object getProperty(Object msgContext,
String key)
getProperty in class WSHandler
public void setProperty(Object msgContext,
String key,
Object value)
setProperty in class WSHandlerpublic String getPassword(Object msgContext)
getPassword in class WSHandler
public void setPassword(Object msgContext,
String password)
setPassword in class WSHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||