public abstract class AdapterAdmin
extends java.lang.Object
The unregisterAdapter method should be called from the adapter's
shutdown service code. It is called as follows:
AdapterAdmin.unregisterAdapter(YourMainAdapterClass.getInstance());
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADAPTER_KEY |
static java.lang.String |
ADAPTER_TYPE_NAME_KEY |
static java.lang.String |
REGISTER_ADAPTER_SERVICE_INTERFACE_NAME |
static java.lang.String |
REGISTER_ADAPTER_SERVICE_NAME |
static java.lang.String |
UNREGISTER_ADAPTER_SERVICE_INTERFACE_NAME |
static java.lang.String |
UNREGISTER_ADAPTER_SERVICE_NAME |
Constructor and Description |
---|
AdapterAdmin() |
Modifier and Type | Method and Description |
---|---|
protected static void |
invokeAdapterService(WmAdapter adapter,
java.lang.String interfaceName,
java.lang.String serviceName,
int exceptionType) |
static void |
registerAdapter(WmAdapter adapter)
Call this method to register your adapter type with the Integration Server.
|
static void |
unregisterAdapter(WmAdapter adapter)
Call this method to unregister your adapter type with the Integration Server.
|
public static final java.lang.String ADAPTER_KEY
public static final java.lang.String ADAPTER_TYPE_NAME_KEY
public static final java.lang.String REGISTER_ADAPTER_SERVICE_INTERFACE_NAME
public static final java.lang.String REGISTER_ADAPTER_SERVICE_NAME
public static final java.lang.String UNREGISTER_ADAPTER_SERVICE_INTERFACE_NAME
public static final java.lang.String UNREGISTER_ADAPTER_SERVICE_NAME
protected static void invokeAdapterService(WmAdapter adapter, java.lang.String interfaceName, java.lang.String serviceName, int exceptionType) throws com.wm.app.b2b.server.ServiceException
com.wm.app.b2b.server.ServiceException
public static void registerAdapter(WmAdapter adapter) throws com.wm.app.b2b.server.ServiceException
adapter
- an instance of the adapters class that extends the WmAdapter base classcom.wm.app.b2b.server.ServiceException
- if a processing error has occuredWmAdapter
public static void unregisterAdapter(WmAdapter adapter) throws com.wm.app.b2b.server.ServiceException
adapter
- an instance of the adapter's class that extends the WmAdapter base classcom.wm.app.b2b.server.ServiceException
- if a processing error has occuredWmAdapter
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.