As you are writing on the .NET Adapter API forum,
it is unclear whether your are working with normal in-process java Adapters or with Remote Adapters.

Assuming that you are using java adapters...