|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.rpc.handler.GenericHandler org.apache.ws.addressing.handler.AbstractAddressingHandler org.apache.ws.addressing.handler.ServerSideAddressingHandler org.apache.axis.message.addressing.handler.AxisServerSideAddressingHandler
public class AxisServerSideAddressingHandler
Axis-specific server-side WS-Addressing handler.
Field Summary |
---|
Fields inherited from class org.apache.ws.addressing.handler.ServerSideAddressingHandler |
---|
TRANSFORMER_FACTORY |
Fields inherited from class org.apache.ws.addressing.handler.AbstractAddressingHandler |
---|
CONFIG_PROP_ACTOR, CONFIG_PROP_REFERENCE_PROPERTY_NAMES, CONFIG_PROP_REMOVE_HEADERS, CONTINUE_HANDLER_CHAIN_PROCESSING |
Constructor Summary | |
---|---|
AxisServerSideAddressingHandler()
|
Method Summary | |
---|---|
boolean |
canHandleBlock(javax.xml.namespace.QName qname)
|
void |
cleanup()
|
protected void |
forwardMessage(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext,
EndpointReference endpointRef)
Forward the SOAP message contained in the specified SOAP message context on to the specified end-point reference. |
protected java.lang.String |
generateUUId()
Use the UUID generator that comes with Axis. |
void |
generateWSDL(org.apache.axis.MessageContext msgContext)
|
org.w3c.dom.Element |
getDeploymentData(org.w3c.dom.Document doc)
|
java.lang.String |
getName()
|
java.lang.Object |
getOption(java.lang.String name)
|
java.util.Hashtable<?,?> |
getOptions()
|
java.util.List<?> |
getUnderstoodHeaders()
|
void |
init()
|
void |
invoke(org.apache.axis.MessageContext msgContext)
|
void |
onFault(org.apache.axis.MessageContext msgContext)
|
void |
setName(java.lang.String name)
|
void |
setOption(java.lang.String name,
java.lang.Object value)
|
boolean |
setOptionDefault(java.lang.String name,
java.lang.Object value)
Set a default value for the given option: if the option is not already set, then set it. |
void |
setOptions(java.util.Hashtable opts)
|
protected void |
setTargetService(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext,
AddressingHeaders headers)
Platform-specific subclasses can optionally implement this method. |
Methods inherited from class org.apache.ws.addressing.handler.ServerSideAddressingHandler |
---|
configureCall, getService, getTargetServiceName, handleFault, handleRequest, handleResponse, removeAllChildElements |
Methods inherited from class org.apache.ws.addressing.handler.AbstractAddressingHandler |
---|
createMessageID, getActor, getHandlerConfigProperties, getHandlerConfigProperty, getHeaders, getReferencePropertyQNames, init, initReferencePropertyQNames, isHandlerConfigPropertyTrue, isMustUnderstandEnabled, isPropertyTrue, isRemoveHeadersEnabled |
Methods inherited from class javax.xml.rpc.handler.GenericHandler |
---|
destroy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxisServerSideAddressingHandler()
Method Detail |
---|
public void init()
public void cleanup()
public boolean canHandleBlock(javax.xml.namespace.QName qname)
public void setOption(java.lang.String name, java.lang.Object value)
public boolean setOptionDefault(java.lang.String name, java.lang.Object value)
If this is called multiple times, the first with a non-null value if 'value' will set the default, remaining calls will be ignored.
name
- Option namevalue
- Default value
public java.lang.Object getOption(java.lang.String name)
public java.util.Hashtable<?,?> getOptions()
public void setOptions(java.util.Hashtable opts)
public void setName(java.lang.String name)
public java.lang.String getName()
public org.w3c.dom.Element getDeploymentData(org.w3c.dom.Document doc)
public java.util.List<?> getUnderstoodHeaders()
public void generateWSDL(org.apache.axis.MessageContext msgContext) throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
public void invoke(org.apache.axis.MessageContext msgContext) throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
public void onFault(org.apache.axis.MessageContext msgContext)
protected java.lang.String generateUUId()
generateUUId
in class AbstractAddressingHandler
protected void forwardMessage(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext, EndpointReference endpointRef)
forwardMessage
in class ServerSideAddressingHandler
soapMsgContext
- Message context to get the message fromendpointRef
- End-point reference to forward toprotected void setTargetService(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext, AddressingHeaders headers) throws java.lang.Exception
setTargetService
in class ServerSideAddressingHandler
soapMsgContext
- Context to get information fromheaders
- Headers to use
java.lang.Exception
- If an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |