|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.AbstractContext
org.codehaus.xfire.service.OperationInfo
Represents the description of a service operation. An operation has a name, and consists of a number of in and out parameters.
Operations are created using theServiceInfo.addOperation(java.lang.String, java.lang.reflect.Method)
method.
Method Summary | |
void |
accept(Visitor visitor)
Acceps the given visitor. |
FaultInfo |
addFault(java.lang.String name)
Adds an fault to this operation. |
MessageInfo |
createMessage(javax.xml.namespace.QName name)
Creates a new message. |
FaultInfo |
getFault(java.lang.String name)
Returns the fault with the given name, if found. |
java.util.Collection |
getFaults()
Returns all faults for this operation. |
MessageInfo |
getInputMessage()
Returns the input message info. |
java.lang.String |
getMEP()
Get the message exchange pattern of this operation. |
java.lang.reflect.Method |
getMethod()
|
java.lang.String |
getName()
Returns the name of the operation. |
MessageInfo |
getOutputMessage()
Returns the output message info. |
ServiceInfo |
getService()
Returns the service descriptor of this operation. |
boolean |
hasInput()
|
boolean |
hasOutput()
|
boolean |
isAsync()
Whether or not the operation should be invoked asynchronously. |
void |
removeFault(java.lang.String name)
Removes a fault from this operation. |
void |
setAsync(boolean async)
|
void |
setInputMessage(MessageInfo inputMessage)
Sets the input message info. |
void |
setMEP(java.lang.String mep)
|
void |
setName(java.lang.String name)
Sets the name of the operation. |
void |
setOutputMessage(MessageInfo outputMessage)
Sets the output message info. |
Methods inherited from class org.codehaus.xfire.AbstractContext |
getProperty, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the new name of the operation.public java.lang.reflect.Method getMethod()
public boolean isAsync()
public void setAsync(boolean async)
public java.lang.String getMEP()
public void setMEP(java.lang.String mep)
public ServiceInfo getService()
public MessageInfo createMessage(javax.xml.namespace.QName name)
input message
or
output message
.
name
- the name of the message.
public MessageInfo getInputMessage()
public void setInputMessage(MessageInfo inputMessage)
inputMessage
- the input message info.public MessageInfo getOutputMessage()
public void setOutputMessage(MessageInfo outputMessage)
outputMessage
- the output message info.public FaultInfo addFault(java.lang.String name)
name
- the fault name.public void removeFault(java.lang.String name)
name
- the qualified fault name.public FaultInfo getFault(java.lang.String name)
name
- the name.
null
if not found.public java.util.Collection getFaults()
public void accept(Visitor visitor)
accept
in interface Visitable
visitor
- the visitor.public boolean hasOutput()
public boolean hasInput()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |