Developing Apama Applications > Developing Adapters > Java Transport Plug-in Development > The Java Transport Plug-in Development Specification
The Java Transport Plug-in Development Specification
A Java transport layer plug-in is implemented as a Java class extending AbstractEventTransport. Typically this class would be packaged up, together with any supporting classes, as a Java Archive (.jar) file.
To comply with Apama’s Transport Plug-in Development Specification, an event transport class must satisfy two conditions:
1. It must have a constructor with the signature:
public AbstractEventTransport(
          String name,
          EventTransportProperty[] properties,          
TimestampConfig timestampConfig)
throws TransportException
This will be used by the IAF to instantiate the plug-in.
2. It must extend the com.apama.iaf.plugin.AbstractEventTransport class, correctly implementing all of its abstract methods.
(These methods are mostly directly equivalent to the functions with the same names in the C/C++ Transport Plug-in Development Specification.)
Note that all Java plug-ins are dependent on classes in jplugin_public5.1.jar, so this file must always be on the classpath during plug-in development. It is located in the Apama installation’s lib directory.
Unless otherwise stated, all Apama Java classes referred to in this topic are members of the com.apama.iaf.plugin package, whose classes and interfaces are contained in this .jar.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.