|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.petals.tools.rmi.server.util.Convert
public final class Convert
Static class that allow to convert fake client rmi object to concrete petals object and vice and versa.
| Field Summary | |
|---|---|
static java.lang.String |
IN_MSG
IN_MSG. |
static java.net.URI |
IN_ONLY_PATTERN
inOnly pattern. |
static java.net.URI |
IN_OPTIONAL_OUT_PATTERN
inOptionalOut pattern. |
static java.net.URI |
IN_OUT_PATTERN
inOut pattern. |
static java.lang.String |
OUT_MSG
OUT_MSG. |
static java.net.URI |
ROBUST_IN_ONLY_PATTERN
RobustInOnly pattern. |
| Method Summary | |
|---|---|
static javax.jbi.messaging.MessageExchange |
convertConcreteMessageExchangeToFakeMessageExchange(javax.jbi.messaging.MessageExchange concrete,
java.net.URI pattern)
Convert a concrete message exchange to a fake message exchange. |
static java.lang.Exception |
convertException(java.lang.Exception e)
Convert an error exception to a RMI exception. |
static javax.jbi.JBIException |
convertJBIException(javax.jbi.JBIException e)
Convert a concrete messaging exception to fake messaging exception. |
static javax.jbi.messaging.MessagingException |
convertMessagingException(javax.jbi.messaging.MessagingException e)
Convert a concrete messaging exception to fake messaging exception. |
static void |
setConcreteValueMEToFakeValueME(javax.jbi.component.ComponentContext cc,
javax.jbi.messaging.MessageExchange concrete,
org.objectweb.petals.tools.rmi.common.serializable.MessageExchange fake)
Set Concrete Value of Message Exchange in fake message exchange. |
static void |
setFakeValueMEToConcreteValueME(javax.jbi.component.ComponentContext cc,
org.objectweb.petals.tools.rmi.common.serializable.MessageExchange fake,
javax.jbi.messaging.MessageExchange concrete)
Set Fake Value of Message Exchange in concrete message exchange. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String IN_MSG
public static final java.net.URI IN_ONLY_PATTERN
public static final java.net.URI IN_OPTIONAL_OUT_PATTERN
public static final java.net.URI IN_OUT_PATTERN
public static final java.lang.String OUT_MSG
public static final java.net.URI ROBUST_IN_ONLY_PATTERN
| Method Detail |
|---|
public static javax.jbi.messaging.MessageExchange convertConcreteMessageExchangeToFakeMessageExchange(javax.jbi.messaging.MessageExchange concrete,
java.net.URI pattern)
throws javax.jbi.messaging.MessagingException
concrete - the concrete messagepattern - the pattern of message
javax.jbi.messaging.MessagingException - impossible to realize the conversionpublic static final javax.jbi.JBIException convertJBIException(javax.jbi.JBIException e)
e - the concrete messaging exception
public static final javax.jbi.messaging.MessagingException convertMessagingException(javax.jbi.messaging.MessagingException e)
e - the concrete messaging exception
public static java.lang.Exception convertException(java.lang.Exception e)
e - the concrete messaging exception
public static void setConcreteValueMEToFakeValueME(javax.jbi.component.ComponentContext cc,
javax.jbi.messaging.MessageExchange concrete,
org.objectweb.petals.tools.rmi.common.serializable.MessageExchange fake)
throws javax.jbi.messaging.MessagingException
cc - the component contextfake - the fake message exchangeconcrete - the concrete message exchange
javax.jbi.messaging.MessagingException - impossible to realize the conversion
public static void setFakeValueMEToConcreteValueME(javax.jbi.component.ComponentContext cc,
org.objectweb.petals.tools.rmi.common.serializable.MessageExchange fake,
javax.jbi.messaging.MessageExchange concrete)
throws javax.jbi.messaging.MessagingException
cc - the component contextfake - the fake message exchangeconcrete - the concrete message exchange
javax.jbi.messaging.MessagingException - impossible to realize the conversion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||