Class JavaListener<M>

java.lang.Object
org.frankframework.receivers.JavaListener<M>
All Implemented Interfaces:
nl.nn.adapterframework.dispatcher.RequestProcessor, FrankElement, HasApplicationContext, HasName, HasPhysicalDestination, IConfigurable, IListener<M>, IPushingListener<M>, IScopeProvider, NameAware, RequestReplyListener, ServiceClient, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@DestinationType(JVM) @Category(BASIC) public class JavaListener<M> extends Object implements RequestReplyListener, IPushingListener<M>, nl.nn.adapterframework.dispatcher.RequestProcessor, HasPhysicalDestination, ServiceClient
Use this listener to receive messages from other adapters or a scheduler within the same Frank-application or from other components residing in the same JVM. JavaListeners can receive calls made via de ibis-servicedispatcher, which should be located on the JVM classpath to receive calls from other components in the JVM. If you want to call an adapter in the same Frank-application, consider using the IbisLocalSender.

To understand what this listener does exactly, please remember that the Frank!Framework is a Java application. The JavaListener listens to Java method calls. You can issue Java method calls using a IbisJavaSender (external call) or IbisLocalSender (internal call).

Calling the JavaListener via the IbisJavaSender forces all request messages to be passed as strings without metadata.

When calling the JavaListener via the IbisLocalSender all messages are passed in their native format, retaining all their metadata.

Author:
Gerrit van Brakel
See Also: