org.jboss.seam.remoting
Class Call

java.lang.Object
  extended by org.jboss.seam.remoting.Call

public class Call
extends Object

Author:
Shane Bryzak

Constructor Summary
Call(String id, String componentName, String methodName)
          Constructor.
 
Method Summary
 void addParameter(Wrapper param)
          Add a parameter to this call.
 void execute()
          Execute this call
 List<String> getConstraints()
          Returns the object graph constraints annotated on the method that is called.
 CallContext getContext()
          Return the call context.
 String getId()
          Returns the id of this call.
 Object getResult()
          Returns the result of this call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Call

public Call(String id,
            String componentName,
            String methodName)
Constructor.

Parameters:
componentName - String
methodName - String
Method Detail

getContext

public CallContext getContext()
Return the call context.

Returns:
CallContext

addParameter

public void addParameter(Wrapper param)
Add a parameter to this call.

Parameters:
param - BaseWrapper

getResult

public Object getResult()
Returns the result of this call.

Returns:
Wrapper

getId

public String getId()
Returns the id of this call.

Returns:
String

getConstraints

public List<String> getConstraints()
Returns the object graph constraints annotated on the method that is called.

Returns:
List The constraints

execute

public void execute()
             throws Exception
Execute this call

Throws:
Exception