|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.crispy.Executor
Send the method to the server and wait of return-value.
Field Summary | |
protected static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
Executor()
|
Method Summary | |
abstract java.lang.Object |
execute(java.lang.Class pvProxyClass,
java.lang.Object pvProxy,
java.lang.reflect.Method pvMethod,
java.lang.Object[] pvArgs)
Make the invocation of the services. |
InvocationStrategy |
getDefaultInvocationStrategy()
Strategy for invocation the remote service. |
abstract java.lang.String |
getDefaultUrlAndPort()
Get default url and port. |
java.lang.Object |
getInvocationStrategy()
|
java.util.Properties |
getProperties()
|
java.lang.String |
getUrlAndPort()
|
void |
setInvocationStrategy(java.lang.Object pvInvocationStrategy)
|
void |
setProperties(java.util.Properties pvProperties)
|
void |
setUrlAndPort(java.lang.String pvUrlAndPort)
|
boolean |
withConverter()
If true , then invoke before execute method Converter.makeSimple()
and after call Converter.makeComplex . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final org.apache.commons.logging.Log log
Constructor Detail |
public Executor()
Method Detail |
public void setProperties(java.util.Properties pvProperties)
public java.util.Properties getProperties()
public void setUrlAndPort(java.lang.String pvUrlAndPort)
public java.lang.String getUrlAndPort()
public void setInvocationStrategy(java.lang.Object pvInvocationStrategy)
public java.lang.Object getInvocationStrategy()
public InvocationStrategy getDefaultInvocationStrategy()
InvocationStrategy
public boolean withConverter()
true
, then invoke before execute method Converter.makeSimple()
and after call Converter.makeComplex
.
false
.public abstract java.lang.String getDefaultUrlAndPort()
public abstract java.lang.Object execute(java.lang.Class pvProxyClass, java.lang.Object pvProxy, java.lang.reflect.Method pvMethod, java.lang.Object[] pvArgs) throws java.lang.Exception
pvProxyClass
- Service interface. Class of the invoked service.pvProxy
- pvMethod
- Method to call.pvArgs
- Parameter of the method.
execute
method.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |