|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxsul.xbeans_document_dispatcher.XBeansDocumentDispatcher
Maps document QName to a method in a java target. Invokes target when message with document qname arrives.
| Constructor Summary | |
XBeansDocumentDispatcher()
|
|
| Method Summary | |
XmlElement |
processMessage(XmlElement requestMsg)
Return xml element to indicate that processingis finished. |
boolean |
setTarget(QName docQName,
java.lang.Object targetObject,
java.lang.String targetMethodName,
boolean overwrite)
Method addDocumentHandler. |
boolean |
setTarget(java.lang.String namespace,
java.lang.Object targetObject,
java.lang.Class targetInterface,
boolean overwrite)
creates an invocation target to match the incoming doc QName against each method name in the target interface and with the given NS. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XBeansDocumentDispatcher()
| Method Detail |
public boolean setTarget(java.lang.String namespace,
java.lang.Object targetObject,
java.lang.Class targetInterface,
boolean overwrite)
throws XsulException
namespace - the namespace of incoming doc to matchtargetObject - the impl on which to invoke the methodtargetInterface - the methods in the IMPL which are being exposedoverwrite - forces overwrite of existing target object and method
with the same method name as one present in given interface.
XsulException
public boolean setTarget(QName docQName,
java.lang.Object targetObject,
java.lang.String targetMethodName,
boolean overwrite)
docQName - a QNametargetObject - an Objectoverwrite - forces overwrite of existing target object and method
public XmlElement processMessage(XmlElement requestMsg)
throws XsulException
processMessage in interface MessageProcessorXsulException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||