Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Connections | Creating a WmManagedConnectionFactory Implementation Class | Connection Callbacks
 
Connection Callbacks
The WmManagedConnectionFactory base class defines a set of callback methods that you can override in any connection factory implementation class. These callbacks are called during state changes on the connection node.
The following table describes which methods are called on an enabled connection for certain operations.
If the user...
The enabled connection receives these callbacks:
Enables a disabled connection
enableCallBack
startupCallBack
Disables an enabled connection
shutdownCallBack
disableCallBack
Enables a package containing an enabled connection
initCallBack
startupCallBack
Disables a package containing an enabled connection
shutdownCallBack
Deletes a package containing an enabled connection
shutdownCallBack
Reloads a package containing an enabled connection
shutdownCallBack
initCallBack
startupCallBack
Starts Integration Server
initCallBack
startupCallBack
Note:
This only occurs if the Connections are contained in a package that is enabled.
Shuts down Integration Server
shutdownCallBack
Note:
This only occurs if the Connections are contained in a package that is enabled
The following table describes which methods are called on a disabled connection for certain operations.
If the user...
The disabled connection receives these callbacks:
Creates a connection
initCallBack
Updates a connection
updateCallBack
Deletes a connection
deleteCallBack
Copies a connection
initCallBack (on the new connection)
Enables a package containing a disabled connection
initCallBack
Reloads a package containing a disabled connection
initCallBack
Starts Integration Server
initCallBack
Note:
This only occurs if the Connections are contained in a package that is enabled
Note:
If more then one callback is listed, they occur in the specified order from top to bottom. If an action is not listed in the table then no callback will occur.
For more information, refer to the Javadoc for the WmManagedConnectionFactory class.