|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.binding.corba.impl.reference.DynaCorbaRequest
public class DynaCorbaRequest
Constructor Summary | |
---|---|
DynaCorbaRequest(org.omg.CORBA.Object remoteObject,
java.lang.String operation)
Creates request. |
Method Summary | |
---|---|
void |
addArgument(java.lang.Object argument)
Adds operation argument - stores arguments and caches its TypeTree. |
void |
addArgument(java.lang.Object argument,
java.lang.annotation.Annotation[] notes)
Adds operation argument - stores arguments and caches its TypeTree |
void |
addExceptionType(java.lang.Class<?> forClass)
Configures possible exceptions |
DynaCorbaResponse |
invoke()
Invokes previously configured request |
void |
setOperationsMap(java.util.Map<java.lang.reflect.Method,java.lang.String> operationsMap)
Sets method to operation names mapping |
void |
setOutputType(java.lang.Class<?> forClass)
Sets return type for operation. |
void |
setOutputType(java.lang.Class<?> forClass,
java.lang.annotation.Annotation[] notes)
Sets return type for operation |
void |
setReferenceClass(java.lang.Class<?> referenceClass)
Sets class which will be backed by this reference request |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynaCorbaRequest(org.omg.CORBA.Object remoteObject, java.lang.String operation)
ObjectremoteObject
- remote object referenceoperation
- operation to invokescaBindingRules
- apply SCA default binding mapping rulesMethod Detail |
---|
public void setReferenceClass(java.lang.Class<?> referenceClass)
referenceClass
- public void setOperationsMap(java.util.Map<java.lang.reflect.Method,java.lang.String> operationsMap)
operationsMap
- public void addArgument(java.lang.Object argument) throws RequestConfigurationException
argument
-
RequestConfigurationException
public void addArgument(java.lang.Object argument, java.lang.annotation.Annotation[] notes) throws RequestConfigurationException
argument
-
RequestConfigurationException
public void setOutputType(java.lang.Class<?> forClass) throws RequestConfigurationException
forClass
-
RequestConfigurationException
public void setOutputType(java.lang.Class<?> forClass, java.lang.annotation.Annotation[] notes) throws RequestConfigurationException
forClass
-
RequestConfigurationException
public void addExceptionType(java.lang.Class<?> forClass) throws RequestConfigurationException
forClass
-
RequestConfigurationException
public DynaCorbaResponse invoke() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |