|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.ime.internal.MessageExchangeProvider
Nested Class Summary | |
static class |
MessageExchangeProvider.MessageReceiver
|
static class |
MessageExchangeProvider.MessageSender
|
Field Summary | |
static long |
DEFAULT_THREAD_COUNT
|
protected boolean |
initialized
|
protected static org.apache.commons.logging.Log |
log
|
protected KeyedBuffer |
RECEIVE
|
protected KeyedBuffer |
RECEIVE_REQUESTS
|
protected Handler |
receiveHandler
|
static long |
SELECT_TIMEOUT
|
protected KeyedBuffer |
SEND
|
protected Handler |
sendHandler
|
protected ThreadPool |
WORKERS
|
Constructor Summary | |
MessageExchangeProvider()
|
Method Summary | |
void |
awaitShutdown()
|
void |
awaitShutdown(long shutdown)
|
void |
cleanup()
|
void |
clearOptions()
Unsupported for now |
MessageExchange |
createMessageExchange()
|
MessageExchange |
createMessageExchange(java.util.Hashtable options)
|
protected abstract MessageExchangeEventListener |
getMessageExchangeEventListener()
|
java.lang.Object |
getOption(java.lang.String propertyId)
Unsupported for now |
java.lang.Object |
getOption(java.lang.String propertyId,
java.lang.Object defaultValue)
Unsupported for now |
java.util.Hashtable |
getOptions()
Unsupported for now |
protected abstract ReceivedMessageDispatchPolicy |
getReceivedMessageDispatchPolicy()
|
Handler |
getReceiveHandler()
|
Handler |
getSendHandler()
|
void |
init()
|
void |
init(long THREAD_COUNT)
|
void |
processReceive(MessageExchangeReceiveContext context)
|
void |
processSend(MessageExchangeSendContext context)
|
void |
setOption(java.lang.String propertyId,
java.lang.Object propertyValue)
Unsupported for now |
void |
setOptions(java.util.Hashtable properties)
Unsupported for now |
void |
setReceiveHandler(Handler handler)
|
void |
setSendHandler(Handler handler)
|
void |
shutdown()
|
void |
shutdown(boolean force)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.commons.logging.Log log
public static final long SELECT_TIMEOUT
public static final long DEFAULT_THREAD_COUNT
protected final ThreadPool WORKERS
protected final KeyedBuffer SEND
protected final KeyedBuffer RECEIVE
protected final KeyedBuffer RECEIVE_REQUESTS
protected Handler sendHandler
protected Handler receiveHandler
protected boolean initialized
Constructor Detail |
public MessageExchangeProvider()
Method Detail |
public Handler getSendHandler()
public Handler getReceiveHandler()
public void setSendHandler(Handler handler)
public void setReceiveHandler(Handler handler)
protected abstract MessageExchangeEventListener getMessageExchangeEventListener()
protected abstract ReceivedMessageDispatchPolicy getReceivedMessageDispatchPolicy()
public MessageExchange createMessageExchange() throws AxisFault
createMessageExchange
in interface MessageExchangeFactory
AxisFault
public MessageExchange createMessageExchange(java.util.Hashtable options) throws AxisFault
createMessageExchange
in interface MessageExchangeFactory
AxisFault
public void cleanup() throws java.lang.InterruptedException
java.lang.InterruptedException
public void init()
public void init(long THREAD_COUNT)
public void processReceive(MessageExchangeReceiveContext context)
public void processSend(MessageExchangeSendContext context)
public void shutdown()
public void shutdown(boolean force)
public void awaitShutdown() throws java.lang.InterruptedException
java.lang.InterruptedException
public void awaitShutdown(long shutdown) throws java.lang.InterruptedException
java.lang.InterruptedException
public void setOption(java.lang.String propertyId, java.lang.Object propertyValue)
public java.lang.Object getOption(java.lang.String propertyId)
public java.lang.Object getOption(java.lang.String propertyId, java.lang.Object defaultValue)
public java.util.Hashtable getOptions()
public void setOptions(java.util.Hashtable properties)
public void clearOptions()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |