|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.se.eip.patterns.AbstractPattern
public abstract class AbstractPattern
Created on 17 janv. 08
| Field Summary | |
|---|---|
protected java.util.logging.Logger |
logger
|
| Constructor Summary | |
|---|---|
AbstractPattern()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getNameSpace()
Get the pattern namespace. |
protected boolean |
isAttachmentMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
get the attachment mode into the extensions |
protected boolean |
isExceptionRobust(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
get the exception robustness into the extensions |
protected boolean |
isFaultRobust(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
get the fault robustness into the extensions |
protected boolean |
isFaultToException(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
get the fault to exception parameter into the extensions |
protected void |
logSend(org.ow2.petals.component.framework.jbidescriptor.generated.Consumes consumedService,
org.ow2.petals.component.framework.api.message.Exchange exchange)
Allow to log an exchange sent to a |
abstract boolean |
process(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context)
Process the message. |
abstract boolean |
processAsync(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context,
CommonAsyncContext asyncContext)
Process the async message. |
boolean |
processAsyncPattern(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context,
CommonAsyncContext asyncContext,
boolean expired)
Process an exchange for an asynchronous pattern. |
boolean |
processExpiredAsync(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context,
CommonAsyncContext asyncContext)
Process the expired async message. |
boolean |
processPattern(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context)
Process the Pattern. |
abstract boolean |
validateMEP(java.net.URI mep)
Validate the MEP for the pattern. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ow2.petals.se.eip.patterns.Pattern |
|---|
getName, init |
| Field Detail |
|---|
protected java.util.logging.Logger logger
| Constructor Detail |
|---|
public AbstractPattern()
| Method Detail |
|---|
public final boolean processPattern(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context)
Pattern
processPattern in interface Patternexchange - The exchange to processcontext - The context of the exchange
public final boolean processAsyncPattern(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context,
CommonAsyncContext asyncContext,
boolean expired)
Pattern
processAsyncPattern in interface Patternexchange - The exchange to processcontext - The context of the exchangeasyncContext - The EIP asynchronous contextexpired - true if the asynchronous exchange is expired, false else
protected final void logSend(org.ow2.petals.component.framework.jbidescriptor.generated.Consumes consumedService,
org.ow2.petals.component.framework.api.message.Exchange exchange)
consumedService - exchange -
public abstract boolean process(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context)
exchange - context -
public abstract boolean processAsync(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context,
CommonAsyncContext asyncContext)
exchange - context -
public boolean processExpiredAsync(org.ow2.petals.component.framework.api.message.Exchange exchange,
ExchangeContext context,
CommonAsyncContext asyncContext)
throws javax.jbi.messaging.MessagingException,
org.ow2.petals.component.framework.api.exception.PEtALSCDKException
exchange - context -
javax.jbi.messaging.MessagingException
org.ow2.petals.component.framework.api.exception.PEtALSCDKExceptionpublic abstract boolean validateMEP(java.net.URI mep)
mep - the mep of the incoming message.
protected boolean isFaultRobust(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions - the ConfigurationExtensions used
protected boolean isExceptionRobust(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions - the ConfigurationExtensions used
protected boolean isFaultToException(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions - the ConfigurationExtensions used
protected boolean isAttachmentMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions - the ConfigurationExtensions used
public abstract java.lang.String getNameSpace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||