Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Listener Notifications | Listener Implementation | Defining a WmConnectedListener Implementation Class
 
Defining a WmConnectedListener Implementation Class
 
Implementing the shutdownCallBack() Method
Create a class that extends com.wm.adk.notification.WmConnectedListener. The class must have at least skeletal implementation of the abstract methods. For example:
public class SimpleListener extends WmConnectedListener
{
public void fillWmDescriptor(WmDescriptor descriptor, Locale locale)
throws ResourceException
{
}
public void listenerStartup() throws ResourceException
{
}
public Object waitForData() throws ResourceException
{
return null;
}
public void listenerShutdown()
{
}
}