|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.body.proxy.AbstractProxy
Field Summary | |
protected static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
AbstractProxy()
|
Method Summary | |
void |
clearHandlersLevel()
Clear the local map of handlers |
java.lang.String |
getHandlerizableInfo()
Get information about the handlerizable object |
java.util.HashMap |
getHandlersLevel()
Give a reference to a local map of handlers |
protected static boolean |
isAsynchronousCall(MethodCall mc)
Checks if the given Call object c can be
processed with a future semantics, i-e if its returned object
can be a future object.
|
protected static boolean |
isOneWayCall(MethodCall mc)
Returns a boolean saying whether the methode is one-way or not. |
void |
setExceptionHandler(Handler handler,
java.lang.Class exception)
Set a new handler within the table of the Handlerizable Object |
Handler |
unsetExceptionHandler(java.lang.Class exception)
Remove a handler from the table of the Handlerizable Object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.mop.Proxy |
reify |
Field Detail |
protected static org.apache.log4j.Logger logger
Constructor Detail |
public AbstractProxy()
Method Detail |
protected static boolean isAsynchronousCall(MethodCall mc)
Call
object c
can be
processed with a future semantics, i-e if its returned object
can be a future object.
Two conditions must be met :
protected static boolean isOneWayCall(MethodCall mc)
void
as return type
public java.lang.String getHandlerizableInfo() throws java.io.IOException
getHandlerizableInfo
in interface Handlerizable
java.io.IOException
public java.util.HashMap getHandlersLevel() throws java.io.IOException
getHandlersLevel
in interface Handlerizable
java.io.IOException
public void clearHandlersLevel() throws java.io.IOException
clearHandlersLevel
in interface Handlerizable
java.io.IOException
public void setExceptionHandler(Handler handler, java.lang.Class exception) throws java.io.IOException
setExceptionHandler
in interface Handlerizable
handler
- A handler associated with a class of non functional exception.exception
- A class of non functional exception. It is a subclass of NonFunctionalException
.
java.io.IOException
public Handler unsetExceptionHandler(java.lang.Class exception) throws java.io.IOException
unsetExceptionHandler
in interface Handlerizable
exception
- A class of non functional exception. It is a subclass of NonFunctionalException
.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |