org.apache.tuscany.sca.interfacedef.java
Interface JavaOperation

All Superinterfaces:
java.lang.Cloneable, IntentAttachPoint, Operation, PolicySetAttachPoint
All Known Implementing Classes:
JavaOperationImpl

public interface JavaOperation
extends Operation

Represents a Java operation.


Method Summary
 java.lang.String getAction()
          Returns the JAX-WS @WebMethod action parameter.
 java.lang.reflect.Method getJavaMethod()
          Returns the Java method defining the operation.
 void setAction(java.lang.String action)
          Sets the JAX-WS @WebMethod action parameter.
 void setJavaMethod(java.lang.reflect.Method method)
          Sets the Java method defining the operation.
 
Methods inherited from interface org.apache.tuscany.sca.interfacedef.Operation
clone, getConversationSequence, getDataBinding, getFaultBeans, getFaultTypes, getInputType, getInterface, getName, getOutputType, getWrapper, isDynamic, isNonBlocking, isUnresolved, isWrapperStyle, setConversationSequence, setDataBinding, setDynamic, setFaultBeans, setFaultTypes, setInputType, setInterface, setName, setNonBlocking, setOutputType, setUnresolved, setWrapper, setWrapperStyle
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getApplicablePolicySets, getPolicySets
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents, getType, setType
 

Method Detail

getJavaMethod

java.lang.reflect.Method getJavaMethod()
Returns the Java method defining the operation.

Returns:
the Java method

setJavaMethod

void setJavaMethod(java.lang.reflect.Method method)
Sets the Java method defining the operation.

Parameters:
method - the Java method

getAction

java.lang.String getAction()
Returns the JAX-WS @WebMethod action parameter.

Returns:
the action value

setAction

void setAction(java.lang.String action)
Sets the JAX-WS @WebMethod action parameter.

Parameters:
action - the action value