|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.component.framework.listener.AbstractListener
org.ow2.petals.component.framework.listener.AbstractJBIListener
org.ow2.petals.binding.soap.listener.outgoing.JBIListener
public class JBIListener
Listener for incoming JBI messages. A SOAP message is created from the JBI one.
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,AbstractExternalServiceCaller> |
callers
Map of service callers. |
protected java.util.logging.Logger |
logger
The logger |
protected SoapComponentContext |
soapContext
The SOAP Component Context |
| Fields inherited from class org.ow2.petals.component.framework.listener.AbstractListener |
|---|
component, factory, messageInterceptorProcessor |
| Constructor Summary | |
|---|---|
JBIListener()
|
|
| Method Summary | |
|---|---|
protected void |
addCaller(AbstractExternalServiceCaller caller)
|
void |
init()
|
protected void |
initCallers()
Instantiate and initialize the service callers. |
protected void |
invokeCaller(org.ow2.petals.component.framework.api.message.Exchange exchange)
Dispatch the outgoing WS call. |
boolean |
onJBIMessage(org.ow2.petals.component.framework.api.message.Exchange exchange)
Called by the JBI channel listener when a jbi message is accepted. |
| Methods inherited from class org.ow2.petals.component.framework.listener.AbstractJBIListener |
|---|
onAsyncJBIMessage, onAsyncNotificationMessage, onExpiredAsyncJBIMessage, onExpiredAsyncNotificationMessage, onNotificationMessage |
| Methods inherited from class org.ow2.petals.component.framework.listener.AbstractListener |
|---|
createConsumeExchange, createConsumeExchange, createExchange, getComponent, getComponentContext, getConsumes, getCurrentTransaction, getExtensions, getInstallRoot, getLogger, getMessageInterceptorProcessor, getProvides, init, retrievePattern, send, sendAsync, sendSync, sendSync, setConsumes, setCurrentTransaction, setExtensions, setProvides |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.logging.Logger logger
protected SoapComponentContext soapContext
protected java.util.Map<java.lang.String,AbstractExternalServiceCaller> callers
| Constructor Detail |
|---|
public JBIListener()
| Method Detail |
|---|
public void init()
init in class org.ow2.petals.component.framework.listener.AbstractListenerprotected void initCallers()
protected void addCaller(AbstractExternalServiceCaller caller)
dispatcher - public boolean onJBIMessage(org.ow2.petals.component.framework.api.message.Exchange exchange)
onJBIMessage in class org.ow2.petals.component.framework.listener.AbstractJBIListenerexchange - extensions - protected void invokeCaller(org.ow2.petals.component.framework.api.message.Exchange exchange)
exchange - extensions - address -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||