org.ow2.petals.component.framework.process
Class MessageExchangeAcceptor

java.lang.Object
  extended by java.lang.Thread
      extended by org.ow2.petals.component.framework.process.MessageExchangeAcceptor
All Implemented Interfaces:
java.lang.Runnable

public class MessageExchangeAcceptor
extends java.lang.Thread

The JBI Message Exchange Acceptor. Dispatch the message to a JBI worker which will use the AbstractJBIListener component implementation.

Since:
3.0
Author:
chamerling - EBM WebSourcing

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MessageExchangeAcceptor(AbstractComponent component, java.util.concurrent.ThreadPoolExecutor jbiProcessorThreadPool, org.apache.commons.pool.impl.GenericObjectPool jbiProcessorObjectPool, java.util.logging.Logger logger, java.lang.ThreadGroup threadGroup, java.lang.String threadName)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageExchangeAcceptor

public MessageExchangeAcceptor(AbstractComponent component,
                               java.util.concurrent.ThreadPoolExecutor jbiProcessorThreadPool,
                               org.apache.commons.pool.impl.GenericObjectPool jbiProcessorObjectPool,
                               java.util.logging.Logger logger,
                               java.lang.ThreadGroup threadGroup,
                               java.lang.String threadName)
Parameters:
component -
runtimeConfiguration -
jbiPool -
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.